Images Compressor
Shrink, resize and convert your images (JPEG, PNG, WebP, AVIF)
Images are processed in your browser: nothing is uploaded.
About this tool
This compressor cuts the file size of your images before you publish them: photos too heavy for a web page, screenshots, blog visuals. You select one or several images at once, and each one is re-encoded with the settings you chose. A table shows the output format for every file, the size before and after, the percentage saved and the new dimensions.
You choose lossy or lossless compression, an output format (JPEG, PNG, WebP, or AVIF when your browser can write it), a quality from 10 to 100% and a maximum width of 3840, 1920, 1280 or 800 px, or the original size. Images are never upscaled. A slider compares the original with the compressed version, and you can download everything at once as a ZIP file.
How to use it
- Choose "LOSSY" or "LOSSLESS", then pick an output under "Select format".
- Set the "Maximum width" and, for lossy compression, the "Quality".
- Click "Select Images" and choose one or more files.
- Check the "Before" and "After" sizes, then click "Compare" to see both versions side by side.
- Click "Download" for a single image or "Download All" to get a ZIP file.
Frequently asked questions
Are my images uploaded to a server?
No. Compression runs in your browser using a canvas: each image is decoded, resized if needed, and re-encoded on your device. No file is uploaded, and the ZIP archive is built locally as well.
What does the lossless option do?
In lossless mode the image is saved as PNG, the only format the browser can write without quality loss. The format menu and quality slider are disabled in that mode. JPEG, WebP and AVIF remain lossy formats.
Why is an image marked "Already optimized"?
When an image is neither resized nor converted and the new version is not smaller, the tool keeps the original file. If you change the format or size and the result is heavier, the change is shown as a positive percentage so you notice.
Why is AVIF missing from the format list?
AVIF is offered only when your browser can encode it. Otherwise the tool falls back to WebP and says so under the settings. JPEG output gets a white background, since the format has no transparency.