Technical and design
Image Compressor
Shrink images to a target file size in your browser, and see how much each one saves.
Runs in your browser; nothing is uploaded. · Free, no account · 2 min
The files stay in this browser tab. Nothing is uploaded.
Importing a saved run into your account is coming soon. Until then, your last runs stay in this browser only, and you can download your files.
How to use
- Choose up to 20 image files.
- Set the target size in MB, the output format, and a longest-side limit if you want to resize.
- Run the compression and compare each file's size before and after.
- Download each file, or all of them as a zip.
What it checks and how it works
The tool uses browser-image-compression, which lowers the image quality step by step until the file is under your target size or it runs out of steps, and can also limit the longest side. You choose the target size in MB, the output format, such as the original, JPEG or WebP, and an optional maximum width or height. It runs on this page without a web worker, so nothing is fetched from a CDN and nothing is uploaded.
Limits: a very small target may not be reached. A file that is already well compressed can grow when it is re-encoded, and the tool warns you when a result is not smaller. EXIF data is dropped and a single frame of an animation is kept. Up to 20 files, each up to 25 MB and 40 million pixels. Lossy compression cannot be undone, so keep your originals. The library could not be run in a browser while this tool was written, so test a few of your own files first.
Sources
- browser-image-compression (npm package, MIT): README and options opened 29 Oct 2026
- Google for Developers: WebP, an image format for the web opened 29 Oct 2026
Related tools
Image to WebP and AVIF Converter
Convert images to WebP or AVIF in your browser, set the quality, and see how much each file shrinks.
Image Alt Text Checker
List every image in a page and find the ones with missing, empty or weak alt text.
Favicon and Web App Manifest Generator
Turn one logo into a favicon set, a maskable icon, an Apple touch icon, a web manifest and the head tags that link them.
Questions
About this tool
No. The compression runs in your browser tab and the files never leave your device.
The library lowers quality in steps and stops when it runs out of steps, so a very small target may be out of reach. Raise the target or reduce the longest side.
Yes, EXIF data is dropped and a single frame of an animated image is kept, so keep the original if you need either.
Get started today
Find out where your brand stands in AI. Free.
Run a free AI visibility analysis on your domain. No credit card, results in minutes. See what AI engines say about your brand today.
Brands already measuring their AI visibility with Zaher.


