Compress PNG

Shrink PNG screenshots, logos and graphics by reducing them to a smart palette of up to 256 colours, the technique used by TinyPNG and pngquant, without sending them anywhere.

Images are processed in your browser and never uploaded. Free, no sign-up, no watermark.

Drop images here

PNG, WebP, GIF, BMP, TIFF, SVG, AVIF · up to 100 files, 100 MB each

Options

Colours

Reduces the image to a 256-colour palette (like TinyPNG). Typical saving: 50–80%. Transparency is kept; smooth gradients can show banding at 64 colours or fewer.

Smaller dimensions are the biggest saving of all. 1920 px is plenty for screens and email.

Photos still called IMG_4821.jpg?

File Renamer AI names photos by what's in them, in bulk. 25 free renames.

How to use it

  1. Drop your PNG files onto the page or click Choose images.
  2. Pick the number of colours: 256 is safe for almost everything, 64 or fewer for flat graphics, or Lossless to keep every pixel.
  3. Optionally set a maximum width or height.
  4. Click Compress, compare sizes and the before and after preview, then download.

About this tool

PNG is lossless, which makes it ideal for screenshots, interface mockups and logos, but also large: a full-screen screenshot can be several megabytes. Most of that space goes on storing millions of possible colours when the image only uses a few thousand. Converting it to an 8-bit palette of the 256 best-chosen colours, with dithering to hide the steps, usually cuts the file by 50 to 80 percent while looking the same.

Lossless mode is the honest alternative when every pixel must stay identical, for example for pixel art or images you will edit further. It re-compresses the data with better filters, and typical savings are small: from nothing to around 15 percent. PNGs exported by screenshot tools and some design apps compress more, because they were saved quickly rather than tightly.

Palette reduction struggles with photos and smooth gradients, which can show visible bands at 64 colours or fewer. For photographs, JPG or WebP is the better format: convert with PNG to JPG, or PNG to WebP if you need transparency, and expect files several times smaller than any PNG.

Good to know

  • Transparency is kept in every mode, including semi-transparent edges.
  • The original DPI (pHYs) is kept. Text chunks and other metadata are not copied into the compressed file.
  • If the compressed file would be bigger than the original, the original is kept unchanged.
  • Compression runs on your device; very large PNGs (tens of megapixels) can take several seconds.

Other ways to do it

Mac (Preview)

  1. Preview cannot reduce PNG colours, and exporting as PNG has no quality setting, so files barely shrink.
  2. Use Tools > Adjust Size to reduce the dimensions, which does shrink the file, or export as JPEG or HEIC for photos.

Windows (Paint)

  1. Paint can save as 256-colour bitmap or GIF but not as a palette PNG, and re-saving a PNG in Paint rarely makes it smaller.
  2. Reduce the dimensions with Resize and skew (Ctrl+W) if a smaller picture is acceptable.

Private by design: nothing is uploaded

Most online image tools upload your photos to a server and send back the result. This one does all the work inside your browser, so your images never leave your device. That makes it safe for personal photos, IDs, screenshots and client work.

Step-by-step guides

See all free image tools

Frequently asked questions

How much smaller will my PNG get?

With 256 colours, screenshots and graphics usually shrink by 50–80%. Photos saved as PNG also shrink a lot but can show banding. Lossless mode typically saves 0–15%, depending on how the original was saved.

Is PNG compression lossless?

Lossless mode is: every pixel stays identical. The colour modes are lossy in the sense that similar colours are merged into one palette, but at 256 colours the difference is hard to see on most images.

Does it keep transparency?

Yes. The palette includes alpha, so transparent backgrounds and soft edges are preserved in every mode.

Why did my PNG barely shrink?

It may already be a palette PNG or tightly compressed, or you chose Lossless. Try fewer colours, reduce its dimensions, or if it is a photo, convert it to JPG or WebP, which suit photographs far better.

Are my images uploaded?

No. The compressor (the open-source UPNG.js library) loads into your browser and runs there. Your PNGs never leave your device.

PNG compression uses UPNG.js (MIT).