PNG Image Compressor

This PNG image compressor shrinks your icons and sprites to the smallest file size and best quality possible.

  1. Select a file

    For best results use high quality source material that hasn't been compressed before.

  2. Drag & Drop

    Drag your image file onto this website. You can do this anytime.

  3. Paste image URL

    Paste an image URL from your clipboard into this website. You can do this also on the image processing page.

  4. Paste Base64 Data URI

    Paste a Base64 Data URI from your clipboard into this website. You can do this also on the image processing page.

  5. Paste image data

    Paste an image from your clipboard into this website. You can do this also on the image processing page.

  6. Use this Photoshop JSX-Script

    Use the script to send an image from Photoshop to compress-or-die.
    Copy it to the Photoshop Scripts folder. Overwrite what’s there if you’re asked.
    Windows: C:\Program Files\Adobe\Photoshop CS...\Presets\Scripts
    Mac OS X: Applications/Photoshop CS.../Presets/Scripts
    Restart Photoshop.

Allowed file formats: JPEG, PNG, GIF, WebP, SVG (max. 8 MiB)


  • State-Of-The-Art PNG compression algorithm
  • 8 bit and 24 bit PNG output
  • Fuzzy whitespace trimming
  • Lossless auto-rotation based on EXIF meta data (on JPEG input)
  • Selective Blur preprocessing
  • Clean color space conversion from CMYK
  • Converts to standard color profile sRGB-IEC61966-2.1
  • Gamma correction to 2.2
  • Compression view
  • For the technical enthusiats: Uses imagemagick, pngquant, zopflipng, posterize, exiftran, puppeteer and a lot of custom code.

Do you like the PNG Compressor?

Then it would be nice to share it with others.

Facebook Twitter Reddit

Why should I use this PNG compressor?

PNG image files are lossless compressed and therefore very suitable for archiving images for later processing as 24-bit or 32-bit PNG. Also on websites and in apps, 8-bit PNG image files in particular are used as sprites and icons due to their transparency capability.

However, since the conversion of images with a large number of colors to an 8-bit PNG inevitably results in the loss or combination of colors, other compressors, which do not offer any settings, always use 256 colors in the compressed image. This is the maximum number of colors allowed in an 8-bit PNG and therefore poses the least risk to the compressors of making the final result unsightly.

But to get the most out of a PNG, you need a preview. Then you can reduce the colors much further and be sure that the color count is still sufficient. Thus you reduce the file size still far below what other compressors produce by their automatic compression.

ArticleFinally understanding PNG

Boy laughing when understand something written in a book

Ever wondered why some of your PNGs are of large file size while similar PNGs are so small?

Since this question comes up so often, I have written a follow-up to my article "Understanding JPEG" to explain the bare necessities of the PNG compression algorithm in layman's terms.

At the end you will also get 7 tips on how to get your PNGs to a REALLY small file size.

15 min read

Read article


The problem that some users can't compress files is a bit more serious than thought. I would ask these users to follow the instructions on the following page: Sorry for the inconvenience. 😔