OnlineAITool
Image Tools

PNG Compressor

Reduce PNG file size while keeping the PNG format and its transparency.

Target: under 200 KB
Dimensions: Original ratio kept
Choose an image or drag it here under 200 KB · JPG, PNG, WebP or HEIC in · PNG out · paste from the clipboard works too

Leave blank for best quality with no size limit.

How to use this tool

  1. Choose your image. The output here is PNG, so anything with transparency or sharp text keeps its edges — but see the note below about what that costs in size.
  2. There is nothing to set. This page is already fixed at under 200.0 KB, PNG.
  3. Check the result. PNG is lossless, so if the target could not be reached at a usable size the panel explains why instead of handing you a thumbnail.

PNG is lossless, which means it has no quality dial at all — the same pixels always produce the same file. The only way to make a PNG smaller is to reduce its dimensions, which is what this tool does, in steps, until it fits your target.

PNG Compressor — the specification

InputPNG
OutputPNG
TransparencyPreserved
MethodDimension reduction — PNG ignores quality settings
Maximum input25 MB

PNG Compressor: why uploads get rejected

Landing under 200 KB is necessary but not sufficient. These are the reasons a file that meets the size still gets sent back:

  • The image is a photograph saved as PNG. PNG cannot compress photographic detail efficiently, and the JPEG version is often five times smaller at the same visual quality.
  • You need both transparency and a very small file. Transparency forces PNG, which limits how far the size can fall.
  • The dimensions had to shrink a long way to hit the target — check the result is still usable.

How it works

Hitting a size limit exactly is a search problem, not a setting. There is no quality value that means “200.0 KB” — how many bytes a given quality produces depends entirely on the picture. So this tool encodes, measures the real file, and adjusts.

It then binary-searches the quality parameter: encode, measure, halve the remaining range, repeat. The run below took 7 encodes to land at 198.0 KB. A tool that picks one fixed quality instead either overshoots the limit or comes in far under it and throws away detail you did not need to lose.

All of it runs locally through the browser’s canvas API. PNG encoding is the slowest thing this site does, so a very large image can take a few seconds on a phone — that is your own device working, not a queue.

A measured run of this exact preset

Not an estimate: this page’s own code, run against a 12.2 MP photograph, landscape and an A4 scan at 200 dpi, with every encode recorded. The files and the method are published here.

InputResultChangeOutcome
12.2 MP photograph, landscape
4032 × 3024 px · 2.97 MB
198.0 KB
371 × 278 px
93% smallerUnder the 200 KB limit
A4 scan at 200 dpi
1654 × 2339 px · 996.0 KB
199.1 KB
289 × 409 px
80% smallerUnder the 200 KB limit

Step by step

PNG has no quality dial, because it stores every pixel exactly. The only lever is pixel count, so the tool searched the scale instead — 7 encodes, narrowing from 285.9 KB to 198.0 KB.

Final file: 198.0 KB, using 99.0% of the allowance, with 2.0 KB to spare.

Who needs PNG Compressor

Logos, icons, screenshots and graphics with transparency, where converting to JPEG is not an option.

PNG Compressor — frequently asked questions

Why does quality not affect PNG?

PNG compression is lossless — it reconstructs the image exactly, so there is no quality to trade away. File size depends on dimensions and colour complexity instead.

Should I use JPEG instead?

If the image is a photograph and you do not need transparency, yes — dramatically smaller for the same visual result. Keep PNG for flat graphics, sharp edges and transparency.

Will the file still be under 200 KB after I save it again?

Yes, as long as you do not re-encode it. Downloading and uploading the same file changes nothing. Opening it in an editor and saving again re-compresses it and can push the size back up, so upload the file you downloaded here rather than a copy you have edited.

Which file types can I upload?

JPG, PNG, WebP, GIF, BMP and HEIC from an iPhone all go in. The output here is PNG. Conversion happens as part of the process, so there is no need to convert first.

Does this work on a phone?

Yes, including photos straight from your camera roll. The work happens on the device, so a very large image is slower on a phone than on a laptop, but nothing is uploaded either way.

Is this tool really free?

Yes. No account, no trial period, no watermark on the output and no cap on how many times you use it. The site is funded by advertising.

Related tools

From other categories

Your photo never leaves your device. Open your browser's Network tab while you use this page and you will see no upload — how that works.

Disclaimer. Published requirements change without notice. Confirm against the official source before you submit. Full disclaimer.