Privacy
How to compress images online without uploading them
2 min readUpdated 29 September 2026By QANEN
The phrase “compress image online” usually hides an assumption: that your photo has to travel to someone else’s computer first. It doesn’t. Modern browsers are powerful enough to run the same compression algorithms locally, which means a website can shrink your image without a single byte of the picture ever leaving your device. That page you’re reading is served by this site; the tool behind it runs in your tab.
The upload problem
A traditional online compressor works like this: you pick a file, your browser uploads it to a server, the server compresses it, and sends a smaller file back. Even with the best intentions, that design means:
- Your original image crosses the network and is briefly stored on hardware you don’t control.
- Retention depends entirely on the provider’s policy and infrastructure — not on you.
- A round trip adds waiting, and large or numerous files can hit size limits or throttling.
For a landscape wallpaper this is rarely a big deal. For the categories below, it isn’t acceptable at all.
When it genuinely matters
- Documents & receipts — scans with addresses, account numbers or ID.
- Medical, legal or financial images — anything under a duty of confidentiality.
- Client work under NDA — unreleased products, shoots and designs.
- Personal photos — which often carry hidden location data (see stripping EXIF metadata).
How in-browser compression works
It leans on three long-standing web technologies:
- The File API reads the image you drop straight into your browser’s memory — no network involved.
- The Canvas API decodes and re-encodes common formats (like JPEG and WebP) using your GPU/CPU.
- WebAssembly (Wasm) brings desktop-grade codecs such as
libavif(AVIF) andUPNG(lossless PNG) into the tab, compiled to run near-native speed on your own chip.
Because it’s all local, the file never has to be uploaded — and once the codecs are cached, the tool can keep working even offline. Image Compressor by Qanen is built exactly this way.
Try it: open the compressor, drop an image, and (if you like) switch off your internet after the page loads. Compression still works — proof the pixels never went anywhere.
How to tell if a tool actually avoids uploads
Don’t take a marketing claim on faith. You can verify it yourself in most browsers:
- Open the developer tools (F12) and go to the Network tab.
- Select the image and start compression.
- Watch for requests. An upload-based tool shows a large POST with your file (often
multipart/form-data). A genuine client-side tool shows no such request while compressing. - For extra certainty, reload the tool, disconnect your network, and try again — a local tool keeps working; an uploader cannot.
It’s worth reading the provider’s privacy policy too, but on-device processing is a stronger guarantee than any promise to delete files, because there is nothing to delete.
Trade-offs of doing it locally
- Uses your hardware. Huge batches depend on your CPU/RAM rather than a cloud farm.
- First load pulls the codecs. The WebAssembly files download once (then cache); after that it’s local.
- Needs a modern browser. JavaScript and WebAssembly must be enabled.
For most people those costs are worth it for the privacy and speed. When you’re optimising thousands of images on a schedule, a server-side pipeline may still make sense — that’s a different job than quickly shrinking a sensitive photo.
