01 / Drop
Add the PNGs
Drop one or many, choose them, or paste one. Each is compressed straight away with up to 256 colours.
Free tool
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 →Settings
A changed setting does every picture again. Settings are kept in this browser for next time.
This runs in your browser. Your pictures are never uploaded.
How it works
01 / Drop
Drop one or many, choose them, or paste one. Each is compressed straight away with up to 256 colours.
02 / Pick
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
Drag the line on the picture to see the original, then download one, or all of them in a ZIP.
Guide
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.
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 PNG | Working | Raw pixel data |
|---|---|---|
| Full colour with transparency | 1440 times 900 times 4 bytes | 5,184,000 bytes |
| Full colour, no transparency | 1440 times 900 times 3 bytes | 3,888,000 bytes |
| Palette of 256 colours | 1440 times 900 times 1 byte | 1,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.
The Colours setting is the size of the palette. Fewer colours give a smaller file:
| Colours | Good for |
|---|---|
| 256 | Screenshots, photos in PNG, gradients |
| 128 or 64 | Diagrams, charts, user interface mock-ups |
| 32 or 16 | Flat 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.
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.
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.
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.
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
No. They are compressed in this tab with your browser, so they never leave your computer.
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.
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).
Yes. See-through and half see-through parts are kept in the palette.
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.
Yes. Drop several together, then download them one by one or all at once in a ZIP file.
If the result would be larger, the original is kept and the list says so.
Current Chrome, Edge, Safari and Firefox. Safari cannot save WebP files, so it saves those as PNG.
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.
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.
Yes. The name stays the same, so save the downloads in a separate folder if you want to keep the originals next to them.
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.