Compress PNG
Reduce PNG file size by resizing and optional lossy color reduction. Transparency is preserved, and nothing is uploaded.
Compress PNG is a browser-based image tool on ImgToolsBase. Reduce PNG file size by resizing and optional lossy color reduction. Transparency is preserved, and nothing is uploaded. To use it, upload or drop your image and view the result directly in your browser — no signup and nothing to install.
How this tool works
What it does
Re-encodes your PNG at the dimensions you choose and, if you enable it, with fewer colors. PNG stays lossless for shape and transparency, so the main size levers are dimensions and color count.
Transparency kept
Alpha transparency is preserved through resizing and color reduction. For an even smaller file, converting to WebP or JPG often helps, but this tool will not change your format silently.
Privacy
The PNG is processed on your device with JavaScript. Nothing is uploaded to imgtoolsbase or any other server.
Compress PNG in your browser
Compress PNG is a private PNG optimizer that runs entirely in your browser. Because PNG is lossless, this tool focuses on the levers that actually shrink a PNG: smaller dimensions and fewer colors.
There is deliberately no quality slider here. Browser PNG encoding ignores quality, so a slider would be a control that does nothing. Resize or reduce colors instead, and the tool shows the before and after size.
How to use Compress PNG
- Add a PNG file with the upload box or by dragging it in.
- Choose a resize option to limit width, height, or scale percentage.
- Optionally turn on Reduce colors to lower color depth and shrink the file further.
- Click Process, compare the before and after size, then click Download.
Why use this tool
Lowering pixel dimensions is the most reliable way to reduce a PNG. Cap width or height, or scale by percent.
Turn on lossy color reduction to lower color depth. Fewer colors usually means a smaller PNG, with some banding.
Alpha stays intact. The tool does not flatten transparent PNGs onto a solid background.
If a smaller file matters more than lossless PNG, we suggest WebP or JPG, but we never change your format without asking.
Common uses for Compress PNG
Trim oversized PNG exports while keeping crisp transparent edges.
Reduce large PNG screenshots by resizing to the size you actually need.
Lower page weight for PNG UI assets and diagrams.
Color reduction works well on images that use a limited palette.
Frequently asked questions
Why is there no quality slider for PNG?
Browser PNG encoding ignores the canvas quality value, so a quality slider would not change anything. This tool shrinks PNGs by resizing and optional color reduction instead.
Will my transparency be kept?
Yes. Transparency is preserved through both resizing and color reduction. Transparent areas are not filled in.
My PNG did not get smaller. Why?
If the image is already small and uses few colors, re-encoding at the same size may not help. Try a smaller width or turn on color reduction, and the tool tells you when the output is not smaller.
Are PNG files uploaded anywhere?
No. PNG processing happens in your browser, so the file is never uploaded to any server.
Should I convert PNG to WebP or JPG?
For photos, WebP or JPG is usually much smaller than PNG. Use a WebP or JPG tool if lossless transparency is not required.
Related image tools
Tools that pair well with Compress PNG.