Black Friday: 50% off every paid plan with code BF50. Ends 5 December.

See prices

Free tool

Compress PNG files.

Make PNG screenshots, logos and graphics much smaller and keep them as PNG, with their see-through parts. The colours are cut to a smart palette of up to 256, the way TinyPNG works, and the file is packed as tightly as it can be. Pick how many colours to keep, a file size such as 100 KB, or lossless when every pixel must stay exact, then drag the line across a picture to compare it with the original. It runs in your browser, so nothing is uploaded.

Need a custom tool, app or website? Contact us 

This runs in your browser. Your pictures are never uploaded.

How it works

Three steps, nothing to install.

01 / Drop

Add the PNGs

Drop one or many, choose them, or paste one. Each is compressed straight away with up to 256 colours.

02 / Pick

Colours, size or lossless

Keep fewer colours, aim for a size such as 100 KB, or keep every colour. Every file is done again as you change a setting.

03 / Save

Compare and download

Drag the line on the picture to see the original, then download one, or all of them in a ZIP.

Guide

How to compress a PNG, and keep it a PNG.

To compress a PNG without changing its format, you cut the number of colours it uses and then pack the file as tightly as possible. This PNG compressor does both in your browser: it picks the best palette of up to 256 colours for each picture, smooths the colour steps in gradients, and squeezes the result with OxiPNG. The file stays a PNG and keeps its see-through parts, so you can drop it back where the old one was.

How to compress PNG files here

  1. Drop one or more PNG files on Drop pictures here, or click to choose them. You can also paste a copied screenshot with Command V or Ctrl V. Each one is compressed at once with up to 256 colours.
  2. Read the summary above the settings: the percent saved and the total in and out. Each file has its own line in the list.
  3. Click a file in the list and drag the line across it to compare the Original with the Compressed one. See at full size shows every pixel.
  4. To change the result, leave Aim for on Fewer colours, smallest file and pick how many Colours to keep, from 256 down to 16. Or set it to A file size and type a number in Each file under (KB), or click 50 KB, 100 KB, 200 KB, 500 KB or 1 MB. Or set it to Every colour kept (lossless) when no pixel may change.
  5. Leave Save as on PNG, or pick WebP, smaller still, if the picture is only for a website; WebP then has its own Quality slider. Choose a Largest side (2560, 1920, 1280, 1080 or 800 px) if the picture is bigger than it needs to be.
  6. Click Download the picture, or Download all as ZIP when there are several. Your settings are kept in this browser for next time, and Reset settings brings back the defaults.

Why fewer colours makes a smaller file

A normal PNG stores every pixel with its own red, green and blue values, plus transparency. That is 3 or 4 bytes per pixel before packing. A palette PNG stores a short list of colours once, then just one byte per pixel saying which colour to use. Here is the raw data for a 1440 by 900 screenshot before any packing:

Kind of PNGWorkingRaw pixel data
Full colour with transparency1440 times 900 times 4 bytes5,184,000 bytes
Full colour, no transparency1440 times 900 times 3 bytes3,888,000 bytes
Palette of 256 colours1440 times 900 times 1 byte1,296,000 bytes

The palette version starts at a quarter of the size, and fewer colours also leave more repeated patterns for the packing step to squeeze. Real file sizes depend on the picture, so check the size line after each run.

How many colours to keep

The Colours setting is the size of the palette. Fewer colours give a smaller file:

ColoursGood for
256Screenshots, photos in PNG, gradients
128 or 64Diagrams, charts, user interface mock-ups
32 or 16Flat icons, simple logos, line art

Colours that make it into the palette are kept exactly, so flat backgrounds and text in a screenshot stay crisp. For pictures with no transparency, the leftover colour error is spread over nearby pixels at half strength, which keeps smooth skies and shadows from turning into stripes. If you see banding, go back up to 256. The line under each file says how many colours it kept.

Lossless: every colour kept

Set Aim for to Every colour kept (lossless) for pixel art, icons that must match a brand colour exactly, or files you will edit again. No colour is merged; the PNG is only packed more tightly with OxiPNG, so the saving is smaller than with fewer colours. A PNG that is already packed well may not shrink at all, and then your original is kept. Lossless always saves a PNG.

How to compress a PNG to 100 KB, or any size

Set Aim for to A file size and type the limit. Each PNG steps down from 256 colours to 128, 64 and 32 until it fits. If it is still too big, it is made smaller in pixels and tried again, because a smaller picture looks better than one with very few colours. Only when nothing else fits does it drop to 16 colours. The line under each file says what it took, such as 64 colours. A PNG already under the limit is left as it was, and one that cannot get under it is marked in yellow. Here 1 KB is 1,000 bytes.

When a PNG will not get smaller

  • It is already optimised. A PNG that was compressed before, or that has few colours to begin with, may not shrink. The tool keeps your original and the list says already small, kept as it was.
  • It is a photo. Photos saved as PNG do shrink, but a JPG or WebP is usually far smaller for a photo. Try PNG to JPG if you do not need transparency.
  • It is huge in pixels. A Retina screenshot has twice the width and height of what you saw on screen. Setting Largest side to 1920 px or 1280 px often saves more than any colour trick.

The new files carry no hidden text notes or dates. A PNG that is kept as it was has those notes taken out too, without touching its pixels.

Who compresses PNGs

Web designers trimming page weight, developers shrinking app and documentation images, writers adding screenshots to help articles, and anyone whose upload form has a size limit. For pictures headed only to a web page, PNG to WebP is worth a try as well. For JPG photos, use Compress JPEG.

Questions

Good to know.

Are my pictures uploaded?

No. They are compressed in this tab with your browser, so they never leave your computer.

How does it compress a PNG?

It finds the best palette of up to 256 colours for the picture with UPNG.js, spreads the small colour errors so gradients and photos stay smooth, then packs the file with OxiPNG. Colours already in the palette are kept exactly, so flat parts of a screenshot stay clean.

Is it lossless?

By default, no: most pictures have far more than 256 colours, and some are merged. On screenshots, logos and icons the change is very hard to see, and a PNG that already has 256 colours or fewer keeps every colour exactly. For a truly lossless file, set Aim for to Every colour kept (lossless).

Does it keep transparency?

Yes. See-through and half see-through parts are kept in the palette.

How is this different from TinyPNG?

The idea is the same: fewer colours for a PNG. The difference is where it runs. TinyPNG uploads your pictures to its server and keeps them for up to 48 hours, and its free web page takes up to 20 pictures of up to 5 MB each (checked on its site on 15 October 2026). This page compresses in your browser, so nothing is uploaded and there is no 5 MB cap. We have not compared the file sizes of the two side by side.

Can I do many at once?

Yes. Drop several together, then download them one by one or all at once in a ZIP file.

What if a picture does not get smaller?

If the result would be larger, the original is kept and the list says so.

Which browsers work?

Current Chrome, Edge, Safari and Firefox. Safari cannot save WebP files, so it saves those as PNG.

Will compressing a PNG make it blurry?

No. The width and height stay the same unless you pick a Largest side, and nothing is smoothed. Only the number of colours changes, which can show as slight banding with very few colours.

Can I compress a PNG to a set size, such as 100 KB?

Yes. Set Aim for to A file size and type the limit, or click 100 KB. Each file gets the most colours that fit under it, and is made smaller in pixels only if it has to be.

Does the compressed PNG keep the same file name?

Yes. The name stays the same, so save the downloads in a separate folder if you want to keep the originals next to them.

Should I compress a PNG or convert it to JPG?

Compress it when you need transparency or sharp text and edges. Convert to JPG for photos with no clear areas, where JPG gives a much smaller file.

Listed on

Listed on JustMacAppsMotionShine on Mac App IndexMotionShine on ScrollLaunchMotionShine featured on StartupBaseFeatured on FazierFeatured on Twelve ToolsMotionShine - Featured on Smol Launch