sqwartHome

Compress PNG

Make PNG logos, screenshots and graphics 50–80% smaller while keeping transparency, without uploading them.

  • Free
  • No upload
  • No watermark
  • No sign-up
How it works

How to compress PNG

  1. 1

    Choose your PNG files, as many as you like.

  2. 2

    Keep Fewer colors at 256 for the biggest saving, or pick Lossless to keep every pixel.

  3. 3

    Press Compress and compare before and after.

  4. 4

    Download the PNGs one by one or as a ZIP.

In detail

Two honest ways to shrink a PNG

PNG is lossless: it stores every pixel exactly, so there is no quality slider as with JPG. There are two ways to make one smaller, and this tool does both.

  • Fewer colors (lossy): a full-color PNG can hold millions of colors, but a logo or screenshot uses far fewer. The tool picks the best palette of up to 256 colors (with transparency) and stores each pixel as one byte instead of four. This is what TinyPNG and pngquant do, and it typically saves 60–80%. Smooth photo gradients can show slight banding.
  • Lossless: the colors stay exactly the same. The tool re-compresses with the best filter for each row and maximum deflate compression. Savings are smaller, usually 5–30%, and some PNGs are already optimal.

When PNG is the wrong format

If your PNG is a photo, no PNG method gets it as small as a JPG or WEBP. A 2 MB photo PNG is usually 200–400 KB as a JPG with no visible change. Use the PNG to JPG converter for photos without transparency, or PNG to WEBP to keep transparency at a fraction of the size.

If a compressed PNG would come out larger than the original, you get the original back unchanged.

How it works, and why nothing is uploaded

Your browser already knows how to open JPG, PNG, WEBP, GIF, BMP and SVG files, and recent browsers open AVIF too. This tool asks the browser to decode your picture, draws it on an HTML canvas, and has the browser write the new file. iPhone HEIC photos and TIFF scans, which Chrome and Edge can't open, are decoded by small open-source decoders (libheif compiled to WebAssembly, and UTIF.js) that load only when you add such a file. The palette is chosen with the pairwise nearest-neighbor quantizer from the gifenc library, and the PNG is written byte by byte in the page, with zlib compression from fflate.

Because everything happens on your device there is no upload wait, no queue and no file-size cap other than your device's memory. A browser canvas tops out around 16,000 pixels on a side (less on older iPhones), which is far beyond any phone or camera photo.

FAQ

Questions, answered.

Is this like TinyPNG?

Yes: Fewer colors uses the same idea, reducing to a 256-color palette with transparency. Unlike TinyPNG's free web version there is no file-count or size cap, and your files are not uploaded.

Is transparency kept?

Yes, in both modes. With Fewer colors, soft edges are kept with a reduced set of transparency levels.

Will my PNG look different?

With Lossless, no. With Fewer colors, graphics, icons and screenshots look the same; photos and gradients may show faint banding. Compare with the slider.

Why is my file not smaller?

Some PNGs are already optimized. When the tool can't beat the original it returns the original rather than a bigger file.

Can I do many images at once?

Yes. Choose or drop as many images as you like and they are compressed one after another. Save each file on its own or download them all in one ZIP.

Are my images uploaded anywhere?

No. The page does all the work inside your browser, so your pictures never leave your phone or computer. Once the page has loaded you can even turn off Wi-Fi and it keeps working.

Keep going

More free image tools