100% browser-based · No upload · Keeps transparency

Compress PNG Online: Reduce PNG File Size, Free and Private

  • No signup
  • Works on mobile
  • Nothing uploaded

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 files

Up 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.

50
Files per batch
25MB
Max file size
100%
In your browser
0
Uploads to servers

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 typeTypical beforeTypical afterSaved
Logo (PNG-24)240 KB48 KB80%
Icon or UI sprite120 KB22 KB82%
Flat illustration620 KB180 KB71%
App screenshot380 KB140 KB63%
Photo or gradient as PNG1.8 MB900 KB50%
Typical PNG compression by image type. Your result depends on how many distinct colours the image contains.

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.

Why compress a PNG?

PNG files get large fast, and palette compression shrinks graphics without touching their transparency.

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.

Keeps transparency

The alpha channel survives, so a compressed PNG stays see-through, unlike converting to JPG, which flattens it.

Faster pages

Lighter PNGs improve load time and Core Web Vitals, so compressing UI assets speeds up an image-heavy page.

Private by design

Quantization and re-encoding happen in your browser through the Canvas API. Nothing uploads, so files stay yours.

Batch up to 50 files

Drop a folder of assets and compress them in one pass, then download every result at once.

Free, no watermark

No account, no email, no daily cap, and no mark added to your image. Your device does the work.

How it works

  1. 1

    Drop in your PNG files

    Drag your PNGs into the compressor or browse your device. Logos, icons, and screenshots compress best.

  2. 2

    Set detail and compress

    Use the slider to keep more colours or shrink further, then compress. The transparent background is kept.

  3. 3

    Download your smaller PNGs

    Save each compressed PNG or grab the batch at once. Nothing was uploaded during compression.

How to shrink a PNG

Palette compression keeps the PNG format and its transparency; converting to another format saves more but changes it.

MethodKeeps transparencyBest for
Compress PNG (this tool)YesGraphics that must stay PNG
Convert to WebPYesWeb delivery, 25 to 35 percent smaller
Convert to JPGNo, fills a colourPhotographs with no transparency
Reduce dimensionsYesAny oversized image
Reduce to PNG-8YesFlat graphics with few colours

Compress a PNG to an exact file size in KB

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.

Colour depth and bit depth: how many colours your PNG keeps

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.

Lossy palette reduction versus lossless optimisation

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.

When PNG compression struggles: gradients and photographs

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.

Provably private: compress with your connection off

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.

Frequently asked questions

How do I compress a PNG for free?

Drop your PNG into the compressor and click Compress. It runs in your browser, keeps transparency, and nothing uploads.

How much smaller does a PNG get?

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.

Does compressing a PNG keep transparency?

Yes. The alpha channel survives, so a compressed PNG stays see-through, unlike converting to JPG, which flattens transparency to a solid colour.

What is PNG compression?

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.

Will compressing a PNG reduce quality?

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.

Is compressing a PNG or converting to JPG better?

It depends on the image. Compress PNG keeps transparency, while JPG saves more on photographs but flattens any transparent background.

Can I compress many PNGs at once?

Yes. Drop up to 50 files in one batch, each compresses independently, and Download All collects them together.

How do I compress a PNG to 100 KB, 50 KB, or 20 KB?

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.

What colour depth does the compressor use?

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.

Does compression add banding to gradients?

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.

Do I need to set a compression level?

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.

Will a compressed PNG open everywhere?

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.

Are my files uploaded when compressing?

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.

Ready to convert?

Free, instant, and private. Your files never leave your device.

Open the Compress PNG