Reduce PNG File Size in Your Browser
PNG is the format of choice for logos, icons, screenshots, and any graphic that needs crisp edges or a transparent background. Because it stores every pixel losslessly, PNG files can get heavy fast. This tool shrinks them with median-cut color quantization — it trims the palette to cut file size while the alpha transparency channel stays fully intact.
What It's Good For
Logos & Icons
Web Graphics
Bulk Optimizing
How to Compress a PNG
Add Your Images
Drag and drop PNG files onto the upload zone, click to browse your device, or paste an image straight from the clipboard with Ctrl + V. You can load up to 20 images in one batch.
Set the Color Count
Drag the Colors slider to choose how many colors to keep, from 2 up to 256 (128 by default). Fewer colors mean smaller files; more colors preserve smooth gradients and subtle shading. Compression updates live as you slide.
Preview & Compare
Click a thumbnail to open the side-by-side preview, compare the original against the compressed version, and confirm the percentage saved before downloading.
Download
Save each compressed image on its own, or use Download All — three or more files are bundled into a single ZIP archive.
PNG Compressor Features
Palette Reduction
A 2–256 color slider powered by median-cut quantization lets you balance file size against image fidelity.
Transparency Preserved
The alpha channel stays intact, so transparent backgrounds and soft edges remain exactly as they were.
Batch Compression
Process up to 20 images in one go and export three or more together as a ZIP archive.
Before/After Preview
A side-by-side view and a live summary bar show the original size, compressed size, and percentage saved.
Fully Browser-Based
No uploads, no sign-up, no waiting. Everything runs locally for total privacy and instant results.
Flexible Input
Add PNGs by drag-and-drop, file browser, or clipboard paste — whatever is fastest for you.
Color Count Guide
| Colors | Result | Best For |
|---|---|---|
| 256 | Maximum palette, best quality | Detailed images, gradients |
| 128 | Good balance for most images | General-purpose graphics |
| 64 | Smaller files, some banding may appear | Simple illustrations |
| 16 | Very small files, heavy quantization | Flat icons, line art |
Frequently Asked Questions
Does compressing a PNG lose quality?
Compression reduces the number of distinct colors, so images with many subtle shades may show slight banding at low color counts. For logos, icons, and flat graphics the result usually looks identical, and you can always raise the color count or check the preview before saving.
Does PNG compression keep transparency?
Yes. Only the color palette is reduced — the alpha transparency channel is kept fully intact, so transparent backgrounds and soft edges are unaffected.
How does palette reduction shrink the file?
A median-cut algorithm picks the most representative colors and maps every pixel to the nearest one. With fewer unique colors, PNG's lossless encoding packs the data far more efficiently, producing a smaller file.
What color count should I use?
128 colors works well for most images. Use higher values up to 256 for graphics with smooth gradients, and lower values (16–64) for simple icons and illustrations with only a few distinct colors.
Are my images uploaded to a server?
No. All compression happens entirely in your browser. Your images never leave your device, which keeps the tool safe even for private graphics and screenshots.
Should I use PNG or JPEG for photos?
For photographs, JPEG or WebP usually produce much smaller files at the same visual quality. Keep PNG for graphics that need transparency, sharp edges, or perfectly flat color areas.
No comments yet. Be the first to comment!