Skip to content

Compress PNG

Compress PNG images by up to 90% with smart palette reduction — transparency kept, quality preserved, nothing uploaded.

Last updated

Drag & drop PNG files hereCompressed one by one, right in your browser — nothing is uploaded.

How to use compress png

  1. Pick a palette size — 256 colors is safe for nearly everything; 128 and 64 shrink further at the cost of gradient smoothness. Optionally cap dimensions with Max dimension. Up to 20 files per batch, each up to 25 MB.
  2. Click Choose file or drag .png images onto the dashed area.
  3. Each PNG is re-encoded and listed with its before → after size; a single file also shows a preview and the exact percentage saved.
  4. Tap Download PNG (or per-file buttons in a batch), or Prepare ZIP then Download ZIP for the set. Files that could not shrink come back unchanged.

Examples

Compress PNG screenshots for a bug report

Full-screen captures are often 2–5 MB. Palette compression at 256 colors typically halves them while keeping every word of text perfectly readable.

Shrink a logo with a transparent background

Logos use few colors, so quantization is essentially free — the alpha channel is preserved and the file can drop to a tenth of its original weight.

Speed up a blog with lighter graphics

Featured images and diagrams exported as PNG slow pages down. Compress the whole set in one batch and download the ZIP for a measurably faster site.

What is Compress PNG?

PNG files are lossless, which is both their virtue and their problem: every pixel is stored exactly, so screenshots, logos and exported graphics balloon to sizes that clog websites, emails and upload forms. The trick to compress PNG properly is not to blur or degrade the picture — it is to count its colors. A screenshot of a web page might contain a few thousand distinct colors, yet PNG stores it with a full 16-million-color pipeline. Re-encoding the same pixels with an optimized palette of 256 colors or fewer throws away nothing you can see and routinely cuts the file by half, sometimes by much more.

That is exactly what this compressor does, locally in your browser. The image is decoded, its colors are analyzed with a clustering algorithm that picks the palette that best represents your picture, and the PNG is rebuilt around that palette. You choose the palette size: 256 colors is the safe default that screenshots and illustrations tolerate invisibly, 128 squeezes harder, and 64 is for when size matters more than subtle gradients. Transparency survives the whole process — palette entries carry alpha, so cut-out logos stay cut out.

An optional max-dimension cap downscales oversized images for further savings, and the before and after sizes are displayed for every file so the saving is a number you can check. Should the palette version fail to beat your original — tiny icons and already-quantized files sometimes cannot improve — you get the original back instead of a bigger download. Batches of up to 20 files process one at a time and pack into a ZIP.

Frequently asked questions

Does compressing a PNG lose quality?

The encoding itself is lossless — the only change is palette reduction. With 256 colors, screenshots, icons, logos and most illustrations look identical to the original. Photographs with smooth gradients can show faint banding at 128 colors or fewer, which is why 256 is the default. If the result would be bigger than your file, you get the original back.

Will my transparent background stay transparent?

Yes. The palette carries an alpha channel, so fully and partially transparent pixels survive the re-encode. Cut-out logos, stickers and overlay graphics keep their see-through areas exactly.

Why is my PNG so big in the first place?

PNG stores every pixel exactly and supports millions of colors plus full alpha. Export tools and screenshot utilities rarely optimize the palette, so the file pays for color depth it never uses. Quantization reclaims that waste — that is the entire saving, no blurring involved.

When should I convert PNG to JPEG instead?

When the image is a photograph with no transparency. JPEG compresses photos far beyond what palette PNG can reach. The Image Compressor tool handles that route automatically; stay with PNG here for screenshots, text, graphics and anything transparent.

Are my images uploaded anywhere?

No. The quantizer runs in your browser tab on your device. Nothing is sent to a server, so design mockups, confidential screenshots and client work stay private.

What is the difference between this and Compress Image to KB?

This tool optimizes PNGs by palette and optional resizing, keeping them PNG. Compress Image to KB targets an exact file size — 20 KB, 50 KB, 100 KB — by re-encoding as JPEG or WebP, which suits upload forms with strict byte limits.

Browse all compression.