Compress images without uploading them

Shrink JPG, PNG, WebP, AVIF and iPhone HEIC photos right here. Set an exact size limit if a website is rejecting your file. Everything runs on your own device.

Files never leave your browser

Drop images here or click to choose — up to 300 files at once

Straight to a specific limit

If a form gave you an exact number, these pages open with the tool already set to it.

How this works

Most compressors send your photo to a server, squeeze it there, then send it back. This one does the work inside your browser using your own device's processor, so your files are never uploaded, never stored, and never seen by anyone — including us.

That also means there is no file limit and no daily quota to enforce, because we are not paying for the processing. You are.

Choosing a setting

Quality is the simple option: 80% is usually indistinguishable from the original at roughly a quarter of the size. Below 60% you will start to see blocky patches in skies and smooth gradients.

Target size is for when something else sets the rule — a job portal that rejects anything over 2 MB, a forum with a 500 KB avatar cap. Enter the limit and the compressor searches for the highest quality that still fits underneath it.

PNG files with transparency are converted onto a white background when saved as JPG, since JPG cannot store transparency. Keep the format as PNG if you need the transparent areas.

PNG is compressed properly here

Every browser can write a PNG, and every browser writes a bad one. It does not choose a filter for each row of pixels and it always writes four full channels, even for a logo with twelve colours in it. The result is a file two to six times larger than the one you started with — from a tool with the word compress on it.

This page does not use the browser's PNG writer. It picks the filter for every row, drops channels the image does not use, and packs the palette down to one, two or four bits per pixel when it fits. Measured on the same files, going in and out with no pixel changed at all:

FileOriginalBrowser's PNG writerHere
Phone screenshot16.8 KB104.9 KB16.9 KB
Interface screenshot19.7 KB46.5 KB10.0 KB
Logo with transparency4.0 KB10.0 KB2.4 KB
Photograph saved as PNG5.76 MB6.54 MB5.70 MB

Those results are lossless: the file that comes out decodes to exactly the same pixels as the one that went in, verified byte for byte. If you also allow fewer colours, a photograph saved as PNG drops from 5.76 MB to about 1.9 MB — though for a photograph, JPG or WebP is still the right answer, and the tool will say so.

Common questions

Can this make my file bigger? No. If re-saving would produce a larger file than the one you gave it — which happens when your original was already compressed harder than your setting — you get your original file back instead, with its metadata stripped out. You will see already efficient next to the result when that happens.

How do I know the result still looks right? Press Compare on any result. Your original and the compressed version are stacked exactly on top of each other with a divider you can drag, and View 1:1 shows real pixels rather than a version shrunk to fit the screen — which is the only size where compression damage is actually visible.

Can it open iPhone HEIC photos? Yes. The decoder loads automatically the first time it sees one, which adds a short delay on that first file only. It is served from this site rather than an outside network, so nothing about your file leaves your device.

Does it work offline? Yes, completely. Your first visit installs the whole site on your device — every tool, the iPhone HEIC decoder, the PDF engine. After that it works with no connection at all.

Related guides