All tools
Image WORKBENCH / FREE BROWSER TOOL

Compress a PNG with a measured size target

Keep PNG output and transparency while targeting a file-size limit. The browser reduces pixel dimensions when PNG encoding cannot meet the target.

No signup · File contents stay on this device
Files are processed on this device

Drop your files here

JPG, PNG, WebP, AVIF or HEIC images · files stay on your device

or paste an image with Ctrl / Cmd + V

Up to 30 files · 20 MiB per file · 80 MiB total

Sequential processing keeps memory use lower.

Processing happens in your browser. File contents are not uploaded. Close the tab to release active files; temporary handoffs use local browser storage. · Privacy details

IMAGE → DOCUMENT WORKFLOW
OBSERVED RESULTS / ORIGINAL FIXTURES

Sample checks you can repeat

Measured with the listed sample and settings; these may differ from this page’s starting preset. Timings are individual processing-function runs in the stated environment and exclude page loading. Library caches may be warm. These small-file checks do not establish performance or compatibility for every document.

SampleSettingsObserved outputEnvironment
sample-transparent.png (1600 × 1000; 43,511 bytes) ↗200 KB maximum; PNG; measured byte-size check82,244 bytes; 1600 × 1000 · 0.07 secChrome · Apple M2 / macOS · 15 Oct 2026 · local test

Specific tasks

Image compressorImage to 50 KBImage to 100 KBCompress to 200 KBCompress JPG

Using this tool

How to use compress png

  1. Choose the PNG and keep PNG output selected if the recipient requires that format or alpha transparency.
  2. Enter the maximum file size and remember that reducing PNG dimensions can be necessary to reach it.
  3. Process, then inspect the actual output width, height, transparency and text before accepting the smaller copy.

Before you start

What to keep in mind

  • The tool may reduce both quality and dimensions. If it cannot meet the requested size, it reports a failure instead of offering an oversized success.
  • PNG does not respond to a lossy quality slider in the same way as JPG or WebP.
  • Do not infer document acceptability from file size alone; required dimensions and legibility also matter.
  • Use at most 30 images, 20 MiB per file and 80 MiB total input. Combined output is also limited to 80 MiB; completed files remain available when a later result exceeds that limit. Each image must stay within 24 million pixels and 12,000 pixels on either side.
Compress PNG: encoded image bytes are measured against a 200 KB target, adjusting quality or dimensions as needed.
Illustrative compress png workflow. The drawing shows the operation, not a measured output; see the sample table for recorded test conditions.

Understand what a PNG size target can change

A browser canvas does not expose PNG compression as a JPEG-like quality scale. PNG encoding preserves the rendered pixels at a given size, so this tool can need fewer pixels to reach a tight target. It does not perform a palette-quantization pass or promise a lossless percentage reduction. A smaller PNG from this workflow can therefore have reduced width and height even though the format remains PNG.

This page starts with transparent PNG output and a 200 KB budget. That is useful when the receiving form requires PNG or when a graphic needs an alpha channel. For a dense screenshot, inspect the smallest letters after the dimension reduction. For a product cutout, view its edges on a contrasting background. If exact dimensions are mandatory and the file cannot meet the byte cap at those dimensions, this result is unsuitable regardless of its successful size check. Consider a different source or an accepted alternative format rather than assuming the quality slider will solve PNG size. The original PNG remains the appropriate master when its exact pixel grid must be preserved.

Check whether dimensional reduction is acceptable

For PNG output, a quality value is not a control over the canvas encoder’s lossless pixel encoding. The engine measures the PNG at the current dimensions and reduces the canvas if it remains over the selected budget. That can make a screenshot smaller in bytes by changing the pixel grid, not by finding a guaranteed lossless optimization of the original file.

Inspect the output dimensions before checking its appearance. Thin rules, tiny labels and partially transparent edges can become less useful after resampling. The preset’s transparent background preserves supported alpha rather than flattening it deliberately onto white. If exact pixels and a tighter cap are both mandatory, do not accept a smaller-dimensional result as equivalent. Keep the original PNG or choose another allowed delivery format.

Common questions

About compress png

Does the quality slider make PNG lossy?

The browser PNG encoder does not respond like JPEG to a quality parameter. This workflow may reduce dimensions to reach the byte target; it does not perform palette quantization.

Can I keep the transparent background?

Yes. This preset selects PNG with a transparent background. Check partially transparent edges after resizing and re-encoding.

Is the output always pixel-for-pixel identical?

No. A smaller canvas changes the pixel grid. If exact dimensions and pixels are mandatory, do not use a result that required dimensional reduction.

Does compression send my image to an API?

No. Encoding and byte checks run in the browser. Page resources still load from the website. Keep sensitive source files on a trusted device and inspect the output before sharing it.

Does the size check guarantee a form will accept the file?

No. Forms can also restrict format, minimum dimensions, content and decimal byte limits. Compare the reported bytes and dimensions with every requirement before uploading the finished copy there.