PicsFit
Start Compressing
Your images never leave your device

Compress PNG Online

Lossless OxiPNG optimization or smart palette quantization with libimagequant. All in your browser.

Drop images here

JPG, PNG and WebP supported. Max 20MB each, up to 20 files.

Images are processed locally in your browser.

Compression Settings

Lossy palette via libimagequant, then OxiPNG. Much smaller; minor banding possible on smooth gradients.
px
Leave blank to keep original dimensions.
Remove EXIF (camera, GPS, timestamp). Required by many platforms.
Variables: {name} {ext} {w} {h} {idx} {format} {date}
Compression runs locally on your device.

How it works

  1. 1Drop your PNGs onto the dropzone — they stay on your device.
  2. 2Choose Lossless PNG (OxiPNG zopfli) or leave it off for smart palette quantization (libimagequant).
  3. 3Click Compress. The browser's WASM PNG pipeline runs locally.
  4. 4Download individual results or batch them as a ZIP.

Why use this PNG compressor

  • Real PNG compression — not just canvas re-encoding (which often makes PNGs larger).
  • Lossless mode uses OxiPNG, the same engine the Squoosh team open-sourced.
  • Smart mode uses libimagequant (the engine behind pngquant) for 70%+ savings on UI / screenshot-style images.
  • If the result would be larger than the original, the tool keeps the original — you never get a worse file.

Features

OxiPNG lossless optimization
libimagequant smart palette (256→32 colors)
Quality slider for the lossy path
Optional resize and crop
Strip or preserve EXIF
Batch ZIP download

Frequently asked questions

Is PNG compression lossless?
You can choose Lossless PNG to keep exact pixels (OxiPNG only optimizes the deflate stream and palette). Leave it off for Smart PNG, which quantizes colors with libimagequant for much smaller files — visually near-identical for UI / screenshots / logos but not pixel-perfect.
Why is my compressed PNG larger than the original?
It shouldn't happen here — we automatically fall back to the original file if our re-encode comes out larger (common with already-optimized PNGs like iOS screenshots). You'll see Saved 0% in that case instead of a negative percentage.
Can I convert PNG to WebP for even smaller files?
Yes. Use the Auto format mode (which prefers WebP/AVIF) or visit the dedicated PNG → WebP page. WebP supports transparency too.
Are my images uploaded to your server?
No. All images are processed locally in your browser using JavaScript and WebAssembly. Your files never leave your device, and we have no infrastructure that could receive them.
Can I compress multiple images?
Yes. You can drop a batch of images (or an entire folder) and download the compressed results as a single ZIP file with the original folder structure preserved.
Which formats are supported?
JPG, PNG, WebP and AVIF are supported when available in your browser. The Auto mode picks the smallest modern format your browser can encode.
Can I compress images to a specific size?
Yes. Use the Compress to KB tool to target 100KB, 200KB, 500KB, 1MB or any custom size.
Do I need an account?
No. There is no signup, no login, and no payment. The tool works as soon as the page loads.

Related tools

Compress Image
Universal compressor for any format
Compress JPG
Free local JPG optimizer
Compress WebP
Local WebP optimizer
Compress AVIF
Modern AVIF encoder
PNG to WebP
Convert with transparency
Compress to KB
Custom target file size
Compress to 100KB
Hit the 100KB target
Compress to 200KB
Compress to 500KB
Compress under 1MB
Shopify product images
2048×2048 WebP
App Store screenshots
Social media resizer
Your images never leave your device. All compression happens locally in your browser. We do not upload, store, or view your images. No upload · No account