How to compress images without uploading them

"No upload" is not a marketing slogan here — it is a fact about where the code runs. Your browser is the compression tool. There is no server on the other end of the pipeline, which means there is nothing to trust, nothing to leak, and nothing that gets slower when someone else's images are busy.

Why "local-only" matters

Most online compressors work by shipping your file to a data center, processing it there, and sending the result back. That design leaks three things: the image itself (often to a company you know nothing about), metadata you may not realize is embedded (GPS coordinates, capture device, timestamps), and the plain fact that you, from your IP address, processed this particular file at this particular time. For contracts, ID scans, medical paperwork, or client work, that is a real exposure.

A local pipeline eliminates the whole category. The trade used to be power — browser tools were toys compared to native apps. WebAssembly ended that era: the same MozJPEG, libwebp, OxiPNG, and libavif encoders that power professional pipelines now run in a browser tab, at competitive speeds, entirely offline.

Step 1: the file never leaves the disk-to-memory path

When you pick or drop a file, the browser reads it straight from your disk into memory. No network request is involved — you can watch the Network tab and see it stay silent. The tool checks the file's magic-number header to confirm the real format instead of trusting the file extension, which is how mislabeled files get caught early instead of failing mysteriously halfway through.

Step 2: decode pixels locally

The image is decoded into raw pixels using the browser's own decoders for JPG, PNG, WebP, AVIF, GIF, and BMP. A guard rail checks total pixel count before anything heavy happens — a 50-megapixel scan won't silently eat your laptop's memory; it gets proportionally scaled to stay inside a 40-megapixel budget.

Step 3: resize and filter on canvas

Resizing and filters operate on the decoded pixels via canvas. One detail worth knowing: every parameter change recomputes from the original pixels rather than layering on top of the previous result. Compression is destructive and stacking it degrades images, so this tool never compresses a compressed image while you experiment with sliders.

Step 4: WebAssembly encoders in a worker thread

The encoding core runs inside a Web Worker, so the heavy math never blocks the interface — sliders stay draggable while files encode. The encoders are the real thing: MozJPEG for JPG (with 4:4:4 chroma sampling), libwebp at method 6, OxiPNG for lossless optimization, and libavif for AVIF. They are compiled to WebAssembly and shipped as static assets of this site, so they load from the same origin you are already on.

If a WebAssembly encoder fails to initialize, JPG/WebP/PNG fall back to the browser's native encoder so you still get a file. AVIF is stricter: a result is only accepted if the browser genuinely returned AVIF — a PNG disguised as AVIF is never passed off as success.

Step 5: download via a temporary blob link

The finished file is handed back as a Blob — an in-memory object owned by your tab. The download link is a temporary blob: URL that expires when you clear the list. Nothing was written to any server because there was never a server involved.

What does touch the network?

Only static assets: the page, scripts, styles, and encoder binaries load once when you open the site and are cached by a Service Worker for offline reuse. After that first load you can disconnect entirely — the tools keep working on a plane, on flaky hotel Wi-Fi, or behind a locked-down corporate proxy. Settings and presets persist in localStorage, which is also local.

If you want the formal statement of what is (and is not) stored, read theprivacy policy. The short version: images are never uploaded, settings stay on your device, and there are no analytics scripts.

What local compression is not

Fair limits matter more than promises. Local processing uses your CPU, not a data center's, so extreme batches take longer than a cloud service might advertise — though the cloud version of the same work usually means waiting in a queue and trusting someone else's retention policy. There are sane guard rails: batches are capped (50 files, 50 MB each, 200 MB total) so a runaway drop of five hundred vacation photos cannot freeze the tab, and oversized images are scaled to a 40-megapixel ceiling before encoding. Within those limits, a typical phone photo encodes to WebP in about a second on ordinary hardware.

Practical settings that make compression painless

Ready to compress something?

Open the Image Compressor, drop a few images, and drag the quality slider — Up to 50 images per run, 50 MB per image, 200 MB in total, and everything,runs entirely in your browser. If your images need resizing first, theImage Resizer is one click away, and the WebP vs JPG guide covers how to choose between formats in depth.

Start local compression now