Image Compressor
Shrink image file size right in your browser. Your files never leave your device — 100% private, fast and free.
How to compress images online
Pick one or many JPG, PNG or WebP files, choose a quality level, format and optional target size, then click Compress. Compare before and after with the slider, download files one by one or grab everything as a ZIP. Everything happens locally in your browser — your photos are never uploaded.
This compressor re-encodes images entirely in your browser with the Canvas API — files never upload to any server, which is why it is safe for ID scans, medical documents and unreleased design work. You control the quality slider (JPEG/WebP), or use target-size mode: tell it "compress to ≤200 KB" and it binary-searches the quality setting that lands just under your target. iPhone photos with EXIF rotation are auto-corrected before encoding.
Limits worth knowing: PNG stays lossless (size falls less dramatically), transparent PNGs converted to JPEG get a background, and metadata (EXIF, GPS) is stripped by re-encoding — usually a privacy win, but export the original if you need the metadata. Batch mode processes up to 30 images and zips the results. Last verified: July 2026.
FAQ
How does "compress to a target size" work?
Binary search on the quality parameter: encode, measure, adjust — usually 5–6 rounds to land within a few percent under your target (e.g. exactly ≤200 KB for a visa-application portal). If the target is impossible at the original dimensions, the tool tells you to downscale first.
JPEG or WebP — which should I pick?
WebP is typically 25–35% smaller than JPEG at similar visual quality and supports transparency; JPEG has universal compatibility with older systems and government portals. When in doubt for the open web, WebP; for uploads to strict forms, JPEG.
Does compressing remove GPS location from my photos?
Yes — re-encoding through canvas drops EXIF, including GPS. If you *want* to keep metadata, this tool is the wrong choice; if you want to be sure it is gone, see also our dedicated EXIF remover.
Why did my PNG barely shrink?
PNG is lossless: without quality loss to trade, gains come only from re-optimizing pixels. Convert to WebP (lossy) in the format dropdown for big reductions, or keep PNG when you need pixel-perfect graphics like screenshots with text.