Cuts size by half or more
Palette compression drops the colour count graphics never use, often halving a logo or icon with no visible change.
100% browser-based · No upload · Keeps transparency
About 179 colours (PNG-8 palette). Higher keeps more colours and detail; lower shrinks the file further.
Drop your PNG files here
or drag and drop them anywhere in this box
Select PNG filesUp to 30 files. Max 25MB each. Files never leave your browser.
A PNG compressor reduces a PNG's file size by trimming its colour palette, the same technique pngquant uses, while keeping the transparent background. Every conversion runs on your own device, so nothing is ever uploaded. Batch up to 50 files.
A PNG compressor reduces the file size of a PNG image by reducing its colour palette, the same method the pngquant and TinyPNG tools use, which keeps the transparent background while cutting the file substantially. PNG uses lossless compression, so a plain re-save barely shrinks it. The real saving comes from lowering the number of colours, a lossy palette step that most graphics never miss. For graphics such as logos, icons, and flat illustrations, the reduction typically lands between 60 and 80 percent, a median near 70 percent, so you shrink a PNG, optimise it for the web, and keep its alpha transparency in one pass.
The numbers below are typical results by image type. Flat graphics with few colours compress hardest; photographs and gradients saved as PNG compress least, because they use far more of the colour range.
| Image type | Typical before | Typical after | Saved |
|---|---|---|---|
| Logo (PNG-24) | 240 KB | 48 KB | 80% |
| Icon or UI sprite | 120 KB | 22 KB | 82% |
| Flat illustration | 620 KB | 180 KB | 71% |
| App screenshot | 380 KB | 140 KB | 63% |
| Photo or gradient as PNG | 1.8 MB | 900 KB | 50% |
This online PNG compressor runs entirely in your browser. It reads the PNG, quantizes its colours to a smaller palette, and re-encodes a valid PNG, all on your device, so a private graphic never uploads. A slider controls how many colours to keep, trading file size against colour detail, or you can switch to Target size mode and compress every PNG to an exact ceiling such as 100 KB, 50 KB, or 20 KB. The transparent background survives, unlike converting to JPG, which flattens it to a solid colour. You can bulk compress up to 50 PNGs at once and download them together.
People search for this tool as a PNG optimiser, an image compressor, a PNG size reducer, a way to reduce PNG file size, or a free TinyPNG alternative. This page explains how PNG compression works, how much smaller a PNG gets, how to hit an exact file size in KB, what colour depth and bit depth mean for the control you are given, how lossy palette reduction differs from lossless optimisation, and when converting to JPG or WebP saves more instead. The compressor sits at the top; drop a PNG in to shrink it.
PNG files get large fast, and palette compression shrinks graphics without touching their transparency.
Palette compression drops the colour count graphics never use, often halving a logo or icon with no visible change.
The alpha channel survives, so a compressed PNG stays see-through, unlike converting to JPG, which flattens it.
Lighter PNGs improve load time and Core Web Vitals, so compressing UI assets speeds up an image-heavy page.
Quantization and re-encoding happen in your browser through the Canvas API. Nothing uploads, so files stay yours.
Drop a folder of assets and compress them in one pass, then download every result at once.
No account, no email, no daily cap, and no mark added to your image. Your device does the work.
Drag your PNGs into the compressor or browse your device. Logos, icons, and screenshots compress best.
Use the slider to keep more colours or shrink further, then compress. The transparent background is kept.
Save each compressed PNG or grab the batch at once. Nothing was uploaded during compression.
Palette compression keeps the PNG format and its transparency; converting to another format saves more but changes it.
| Method | Keeps transparency | Best for |
|---|---|---|
| Compress PNG (this tool) | Yes | Graphics that must stay PNG |
| Convert to WebP | Yes | Web delivery, 25 to 35 percent smaller |
| Convert to JPG | No, fills a colour | Photographs with no transparency |
| Reduce dimensions | Yes | Any oversized image |
| Reduce to PNG-8 | Yes | Flat graphics with few colours |
Some uploads enforce a strict cap: a forum avatar limited to 100 KB, a form field that rejects anything over 50 KB, a strict portal that wants 20 KB, or a CMS that caps hero images at 1 MB. Switch the compressor to Target size mode, choose a preset of 20 KB, 50 KB, 100 KB, 200 KB, or 1 MB, or type your own figure, and the tool compresses every PNG toward that ceiling. It does this by searching the palette from 256 colours downward and keeping the largest palette whose encoded file still fits, so the output stays as sharp as the target allows. If a target is too small to reach by colour reduction alone, usually a large photographic PNG squeezed under 20 KB, the tool returns the smallest version it can and labels it, so you know to reduce the image dimensions as well.
A normal PNG is 24-bit truecolour, which can hold about 16.7 million colours. Almost no logo, icon, or interface graphic uses more than a few hundred of them, so most of that range is paid for and never used. Compression converts the image to an 8-bit indexed palette, which stores up to 256 colours and references each pixel by a palette slot instead of a full colour value. That single change is where the file size falls. In quality mode the slider sets exactly how many colours to keep, and the tool shows the live count next to it, for example about 180 colours at a higher setting or 48 at a lower one, so you can reason about the control rather than guessing. Fewer colours means a smaller file; more colours means finer gradation. An 8-bit palette with alpha still keeps full transparency.
PNG compression has two paths, and this tool uses the first. Lossy palette reduction lowers the number of colours, which changes the pixels slightly but shrinks the file dramatically, the pngquant approach and the source of most of the saving. Lossless optimisation instead re-encodes the existing pixels and strips unneeded metadata chunks without altering a single colour, which is safe for pixel-exact output but saves far less, often only 5 to 20 percent. If you need the image to stay bit-for-bit identical, keep the colour detail slider at its maximum, which preserves the full palette and behaves like a lossless pass. For the large reductions in the table above, the lossy palette step is what does the work.
Palette reduction rewards flat colour and punishes smooth variation. A worked example: a flat logo with 12 distinct colours compresses to an 8-colour palette with no visible change, because it never needed more. A sky gradient, by contrast, contains thousands of subtly different blues, and forcing those into 256 slots produces visible steps, called banding. This is why a photograph saved as PNG only halves in size while a logo drops by 80 percent. When an image is photographic or full of gradients, two options work better: turn on dithering, which scatters palette colours to disguise the banding, or convert to JPG or WebP instead, formats built for continuous tone. The honest rule is that PNG compression is for graphics; photographs belong in a photographic format.
Every step happens in your browser through the HTML5 Canvas API, so nothing is ever uploaded. You do not have to take that on trust. Load this page, turn off your Wi-Fi or unplug the network, and compress a PNG anyway: it still works, because the quantizing and re-encoding run on your own device. Server-based compressors cannot do this, since they must send your file away to process it. For a private contract scan, an ID, or an unreleased design asset, that difference matters, because the image never leaves the machine you are sitting at.
Drop your PNG into the compressor and click Compress. It runs in your browser, keeps transparency, and nothing uploads.
Often half the size or less for graphics. Palette compression removes colours logos and icons never use, so the drop is large with no visible change.
Yes. The alpha channel survives, so a compressed PNG stays see-through, unlike converting to JPG, which flattens transparency to a solid colour.
PNG compression here means reducing the colour palette, the pngquant method, which cuts file size losslessly within the smaller palette while keeping the PNG format.
For graphics, no visible loss. Flat images never use their full colour range, so trimming it is invisible. Photographs may show slight banding at low settings.
It depends on the image. Compress PNG keeps transparency, while JPG saves more on photographs but flattens any transparent background.
Yes. Drop up to 50 files in one batch, each compresses independently, and Download All collects them together.
Switch to Target size mode and pick a preset of 100 KB, 50 KB, 200 KB, 20 KB, or 1 MB, or type your own. The tool reduces the palette until the file fits that ceiling.
It converts a 24-bit truecolour PNG to an 8-bit indexed palette of up to 256 colours. In quality mode the live colour count shows beside the slider, so you see exactly how many colours are kept.
It can. Gradients hold thousands of shades, and a 256-colour palette may show steps. Keep the detail slider high, turn on dithering, or use JPG or WebP for photographic images.
No. The encoder effort is handled for you, so there is no confusing level to tune. You control only the colour detail, or a target file size, and the tool does the rest.
Yes. An 8-bit PNG with alpha is a standard PNG that every modern browser and operating system renders, so the compressed file works anywhere the original did.
No. Compression happens on your device through the Canvas API, provable by going offline after the page loads.
A PNG compressor reduces file size by trimming the colour palette, the pngquant method, which keeps the transparent background while often halving a logo or icon. Palette compression suits graphics that must stay PNG, and converting to WebP or JPG saves more when the format can change. This tool quantizes and re-encodes on your own device, so nothing is ever uploaded, and it batches up to 50 files. Drop a PNG in above to shrink it in seconds, free and private.
More tools
Free, instant, and private. Your files never leave your device.
Open the Compress PNG