Skip to main content
100% Local Processing (Local WebAssembly + Worker) — Files Never Leave Your Browser
Engine: image-compressor

Image Compressor

Compress JPEG, PNG, and WebP files locally in your browser with EXIF stripping, Before/After visual inspection, and batch ZIP download.

Local Workspace (image-compressor)

Max 25 MB/file • Up to 10 files • .jpg, .jpeg, .png, .webp

How to Use Image Compressor

  1. 1Select or drag up to 10 JPEG, PNG, or WebP images (up to 25 MB each) into the local dropzone.
  2. 2Adjust the target compression quality slider or enter an exact percentage between 10% and 100%, and choose whether to keep the original format or transcode.
  3. 3Inspect visual fidelity with the split-curtain comparison view, then download individual optimized images or a single batch .zip archive.

Technical Specifications & Guardrails

  • Lazy-loaded WebAssembly codecs (@jsquash) inside a dedicated Web Worker with OffscreenCanvas fallback
  • Smart Size Guard preserves the original file if re-encoding would increase byte size
  • Pre-decode binary header guard prevents mobile browser memory crashes on 48 MP+ photos
  • Automatic EXIF and GPS metadata stripping on re-encoded output

Practical Example: Optimizing DSLR Product Photos for E-Commerce

Sample Input
4.2 MB camera JPEG (3840x2560 px) containing embedded EXIF camera serials and GPS coordinates.
Verified Local Output
680 KB JPEG at Quality 80% (83% byte reduction) with EXIF and GPS metadata stripped and indistinguishable visual sharpness.

Operational Limits & Browser Guardrails

Accepts up to 10 files per batch (maximum 25 MB per file) in JPEG, PNG, or WebP format. Images exceeding 16.7 megapixels (4096x4096 px) are proportionally downscaled prior to bitmap decode to prevent mobile Safari memory exhaustion, and headers above 100 megapixels are rejected.

Frequently Asked Questions

Are my photos uploaded to any server during compression?

No. Every image is decoded and compressed inside a dedicated Web Worker on your device. Zero bytes leave your browser.

What happens if an image is already heavily compressed?

The Smart Size Guard compares the re-encoded byte length against your original file. If re-encoding produces an equal or larger file, FetchToolKit retains your smaller original and flags it as already optimal.

Does compressing an image remove EXIF GPS coordinates?

Yes. Re-encoding pixel data onto an off-screen surface strips embedded APP1 EXIF camera and GPS location tags by default.