Compress Image
Lower image byte size on your device before uploading to websites, forms, or email attachments, with exact before-and-after size readouts.
Processed locally in your browser. Files never leave your device.
Drop images here
or · paste with Ctrl+V
JPG, PNG, WebP, HEIC, AVIF
How it works
- Drop the images you want to shrink into the workspace.
- Keep Original format or pick a new output format, then adjust Quality or Colors and optional max dimensions.
- Check the percentage saved per row and download single files or a combined ZIP file.
Notes
- JPG and WebP compression reduces size via lossy quality encoding, whereas PNG compression uses lossy color palette quantization via upng-js.
- If re-encoding produces a file larger than your input, the row flags Kept original so you do not accidentally save a bloated file.
- This tool uses a quality slider rather than targeting an arbitrary kilobyte cap.
FAQ
What does Original output mode do when I drop a HEIC or AVIF file?
When Original is selected, JPG, PNG, and WebP stay in their own format, while formats without direct encoder support are encoded as standard JPEG.
Why does the slider label switch to Colors when PNG is selected?
Standard canvas PNG export is lossless and often increases size, so PNG mode quantizes the color table based on your slider value to achieve real byte reductions.
Does compressing an image strip EXIF metadata such as GPS location?
Yes. Redrawing the image through an HTML canvas writes fresh pixel data without copying camera EXIF tags.
Related tools
Compress JPG Photos·Compress PNG Images·Compress WebP Images·Resize Image Dimensions