Image Compressor
Compress one image, upload many at once, or drop the ZIP of photos that iCloud or Google Photos downloads. Adjust quality, or set a target size in KB. Compare before and after, choose your output format, and download files individually or as a single ZIP. Everything runs in your browser — your images never leave your device.
Drag & drop files here, Ctrl+V to paste, oror
Runs in your browser
Target Size Mode
Need your image under 200KB for an email attachment or form upload? Enter the target size and the tool automatically finds the best quality that fits within your limit.
Before & After
See the exact file size reduction — original size, compressed size, bytes saved, and percentage reduction. Make informed decisions about the quality-size tradeoff.
100% Private
Your image never leaves your device. All compression happens locally in the browser using the Canvas API. No server upload, no storage, no tracking.
How it works
How image compression works
Lossy image compression reduces file size by discarding visual information that the human eye is least likely to notice. JPEG and WebP encoders divide the image into blocks, transform them into frequency data, and quantize high-frequency detail away. Lower quality settings discard more aggressively, producing smaller files but introducing visible artifacts — blocky edges, color banding, and smearing around text. This image compressor online tool uses the browser's built-in Canvas encoder, which implements the same algorithms used by professional image editors. To analyze how compression affects your image at the pixel level, try the ELA Scanner or JPEG Ghost Scanner.
Batch compress & download as ZIP
Drop or select up to 50 images and the tool processes them all with the same quality, target size, and format settings. Each file is compressed sequentially in your browser, with a live progress row showing the original size, compressed size, and percentage saved per image. When everything finishes you get a one-click ZIP of every compressed file, plus individual download links if you only want some of them. Because compression runs locally — even in batch mode — none of your images is ever uploaded to a server, and the page works on slow connections or offline once loaded. For batch resizing alongside compression, pair this with the Image Resizer.
Compress to a target file size
Many platforms enforce file size limits — email attachments, form uploads, social media profile pictures, government portals. Instead of guessing quality levels, the target size mode automatically finds the highest quality that fits within your limit. It uses a binary search algorithm, testing up to 12 quality levels in under a second. In batch mode the same target is applied independently to every image, so a folder of 30 photos can all end up under 200KB in one click. If the target is unreachable even at minimum quality, the tool suggests combining compression with resizing via the Image Resizer — reducing pixel dimensions before compressing is the most effective way to hit very small targets without destroying visual quality.
JPEG vs WebP vs PNG
JPEG is best for photographs — it achieves high compression ratios on natural images but does not support transparency and introduces artifacts at low quality. WebP typically produces 25–35% smaller files than JPEG at the same visual quality and supports transparency, making it ideal for web use. AVIF pushes compression further still — often 30–50% smaller than JPEG — but browser-side AVIF encoding cannot be relied on: every browser we measured returned a PNG when asked for AVIF, so the result is PNG-sized rather than smaller. The tool flags the substitution when it happens. PNG is lossless — it preserves every pixel exactly but produces much larger files, so it is best for graphics, icons, and screenshots with sharp edges. This photo compressor lets you switch formats and compare the results. To inspect compression artifacts forensically, use the Quality Analyzer or examine the JPEG Structure of the output.
Privacy and metadata
Compressing an image through the Canvas API strips all embedded EXIF metadata — GPS coordinates, camera serial numbers, timestamps, and software history are removed from the output. This makes compression a side-effect privacy tool, and it applies to every file in a batch. If you want to verify what metadata exists before or after compressing, run the file through the EXIF Checker. For deliberate metadata removal without quality changes, use the EXIF Remover. Explore all 161 image tools.
This bulk image compressor runs entirely in your browser — whether you compress one image or fifty in a batch, no image data is ever sent to a server. The Canvas API re-encodes each file at your chosen quality level, results stream into a queue as they finish, and you can grab everything as a single ZIP or pick files individually.
Need to get under a size limit? See our guide to reduce an image to 1MB. Read our image compression guide for tips, examples, and best practices.
For specific use cases, see our step-by-step guides: Reduce Image Size to 1MB.