Skip to content

Images & files

Compress JPG, PNG and WebP Images Online

Compress JPG, PNG and WebP images in your browser. Set a target size, compare before and after, and batch several files at once. Nothing is ever uploaded.

Settings

75

The sweet spot — usually invisible, often 60–80% smaller.

Resizing first usually beats compressing harder.

WebP is typically 25–35% smaller than JPG at the same quality.

Files

No images yet

Everything is compressed on your device — nothing is uploaded, and it works offline once this page has loaded.

About the image compressor

Image compression is usually the fastest performance win available on a website, and the most common reason a form rejects an upload. This tool re-encodes JPG, PNG and WebP files at a quality level you control and shows you exactly what you saved before you commit to it.

There are two ways to drive it. Quality mode gives you a slider from 1 to 100 and shows the resulting file size live, which is right when you care about how the image looks. Target size mode works the other way: name a ceiling — 500 KB, 1 MB, whatever the form demands — and the compressor searches for the highest quality that fits under it.

You can also cap the longest edge in pixels. This matters more than most people expect, because a 6000-pixel-wide photo displayed in a 1200-pixel column is carrying roughly twenty-five times more data than it needs. Resizing before compressing usually beats aggressive quality reduction on both file size and how the result looks.

Converting to WebP typically saves another 25 to 35 percent over JPG at the same visual quality, and every current browser supports it. Keep JPG only when you need to hand the file to something old.

All of it happens in your browser using a Web Worker, so a batch of large photos does not freeze the page. The files are read from disk into memory and never sent anywhere — which is both a privacy property and the reason this works on a slow connection.

Frequently asked questions

Was this tool helpful?