FREE IMAGE TOOLS · NO UPLOADS

PNG Compressor

Re-encode PNG images or resize them to reduce file size. Keep transparency, compare results and download a batch.

JPGPNGWEBPNo account needed

Drop your PNG images here

One image or the whole folder’s worth.

PNG · Up to 50 MB per image · 100 images
Image processing happens on your device.
GET THE RESULT YOU NEED

Make a PNG smaller while keeping transparency

PNG works well for transparent graphics and sharp-edged artwork. This tool can re-encode a PNG or resize it proportionally. It preserves PNG output and supports transparency, but it is not a palette-reduction optimizer.

  1. Choose a static PNG and process it at its original dimensions first.
  2. If the file stays the same size, enable Resize large images and choose a smaller maximum long edge.
  3. Compare small lettering, translucent shadows and fine edges, then download the PNG.

What to expect

The quality slider is disabled for PNG because the browser PNG encoder does not use that setting. Re-encoding a well-optimized PNG may not help. Resizing changes pixels; converting to WebP is another option when the receiving website accepts it.

Why is the PNG quality slider disabled?

PNG encoding here is lossless and ignores JPEG/WebP quality settings. Resizing is the main way this tool reduces a large PNG while keeping PNG output.

Will the background remain transparent?

PNG output can preserve transparent pixels. A resized edge may look different because resizing resamples the image.

Can this match a dedicated PNG optimizer?

Not necessarily. This tool uses your browser encoder and does not perform dedicated palette quantization or exhaustive PNG optimization. The original is kept if same-size re-encoding produces a larger file.

Does compression keep photo dates and metadata?

Preserve supported metadata is selected by default: EXIF dates, camera details and GPS are carried over, with orientation and dimensions updated. PNG text/dates and JPG comments stay when keeping their format. XMP, IPTC and original colour profiles are not transferred; embedded preview links are cleared during re-encoding. Choose Remove metadata to omit source metadata; this disables the original-file fallback. Downloaded filesystem dates may change.

HOW IT WORKS

How PNG compression works

See how this format stores your image, what the quality controls change and why the smallest result may be your original.

What does encoding mean?

Decoding turns the bytes in an image file into pixels that a browser can display. Encoding turns pixels back into a file, using the rules of JPG, PNG or WebP. It is not encryption. Our compression and conversion tools decode locally, draw the image onto a canvas and call the browser’s canvas.toBlob encoder. The browser supplies the codec, so results can vary between browsers.

How PNG encoding works

PNG uses reversible filters on pixel rows followed by DEFLATE compression. These steps can represent the encoded pixels without JPEG-style quality loss. PNG ignores the quality slider. This tool uses the browser’s PNG encoder, rather than a dedicated palette-reduction optimiser, so an already efficient PNG may not get smaller. Resizing or colour handling before encoding can still change pixels; lossless encoding does not promise that the whole editing pipeline preserves the original file.

Why the original may be kept

After encoding, the tool compares byte sizes. With Preserve supported metadata selected, when format, dimensions and geometry are unchanged and the new file is not smaller, it keeps the original bytes. This avoids a larger replacement. A retained original also retains its metadata: use the Metadata Remover when privacy cleaning is the goal. ZIP download bundles the files without another lossy image-encoding step.

Where processing happens

Your selected image is processed on your device, without an image upload. Canvas exports are new files and may change embedded metadata or colour information. Keep a master copy for archival work. Animated PNG and animated WebP are rejected; these tools handle static images.

How target-size compression works

Choose 100 KB, 200 KB, 500 KB or a custom decimal-KB limit. For JPG/WebP, the tool tries quality values from your selected maximum down to 10% and refines a successful bracket with a bounded binary search. When you explicitly allow smaller dimensions, it can also try up to eight downsizing steps. PNG ignores quality. Exact resizer dimensions are preserved. Only a measured output within the byte limit is marked Target met; otherwise the smallest tested candidate is marked Above target. This is a bounded search, not proof of a globally optimal result.

Metadata choice

Preserve supported metadata is the default: EXIF dates, camera and GPS fields are copied, with orientation reset after decoding and dimensions updated. PNG text/dates and JPG comments stay within their format. XMP, IPTC and original colour profiles are not transferred; embedded preview links are cleared. Retained metadata is included in target-size measurements. Remove metadata omits source metadata and disables the original-file fallback. Filesystem download dates are separate.

Explore the details: Browser encodingImage formats — MDN

ONE TAB. MANY POSSIBILITIES.

A little tool for every image.

Find the right format. Make room. Keep creating.

THE IMAGE GUIDEBOOK

Get more from this tool.

Step-by-step help for the images you are working with.

All guides
01

Drop. Set. Done.

Add your images, choose your settings and process. Download individually or grab the whole batch as a ZIP.

02

See every detail.

Compare the original and the result before downloading. You choose the balance between quality and size.

03

Your files stay yours.

Everything happens on your device. No image uploads, no account and no image storage on our servers.

GOOD TO KNOW

A few small details.

Better images start with the right settings.

Which format should I choose?

WebP is a useful starting point for website photos and transparent graphics. JPG suits photos when you need a JPEG file; transparent areas become white. PNG uses lossless encoding and keeps transparency, but often creates larger files.

Will compression change image quality?

JPG and WebP use lossy compression: lower quality usually means smaller files and more visible changes. Use Compare to inspect your result. PNG encoding is lossless, but resizing still changes pixels. PNG conversion can increase file size. This tool uses your browser’s image encoders, so results can differ between browsers.

Why is my image already small?

If the output uses the same format and dimensions but is larger than the original, we keep your original file. Changing formats or dimensions can still create a larger result; the actual size is always shown. The quality slider doesn’t affect PNG encoding.

Are there file limits?

Add up to 100 static images, 50 MB per image and 200 MB of original files per batch. Each image must be within 40 megapixels and 16,384 pixels on either side. Animated PNG and WebP are rejected to protect their animation. GIF, SVG, HEIC and AVIF aren’t supported in this version. Large batches depend on your device’s memory.

Are my images uploaded or saved?

This tool processes selected images locally in this browser tab and doesn’t send image files to a server. Your site’s hosting, analytics or other plugins may separately collect normal website visit data. Download results you want to keep before clearing the list or leaving. Re-encoding generally removes file metadata; an original file kept because it was smaller retains its existing metadata. This isn’t a metadata sanitization tool.

Original imageProcessed image
↔
ORIGINALRESULT
Same display size; download to inspect full resolution.