Compress images online
Re-encode an image at a lower quality or smaller dimensions, see the size before you commit, and download a clean copy with metadata stripped.
Shrink an image
The image is decoded and re-encoded locally with the Canvas API.
Reading images…
Lower quality gives smaller files. PNG ignores this setting.
How to use Image Compressor
Add an image
Drop a JPG, PNG or WebP file. Its dimensions and original size appear immediately.
Set a maximum width
Leave it at 100% to keep the resolution, or choose a smaller width for web use. Height follows automatically.
Choose format and quality
JPEG or WebP for photos, PNG for graphics. Lower quality means a smaller file, with a visible preview.
Compare and download
Review the estimated size and the savings percentage, then download the compressed image.
Why use this tool
See the trade-off
The preview uses the actual encoded result, not a CSS filter, so you judge the real quality.
Metadata removed
Canvas re-encoding strips EXIF data such as GPS location and camera details, which is useful when sharing images publicly.
No upload
The file is decoded and re-encoded in the tab; it never leaves your device.
About Image Compressor
Image Compressor decodes your image with the browser, optionally scales it down, and re-encodes it with the quality you choose. The preview and file-size estimate update as you move the sliders, so you can find the smallest version that still looks right.
Re-encoding is lossy for JPEG and WebP. PNG output remains lossless but often gets larger when photo-like content is involved, which is why JPEG or WebP is usually the better choice for photographs.
Common use cases
- Preparing photos for a faster-loading website
- Reducing email attachments below a size limit
- Shrinking product images for an online store
- Removing location metadata before sharing a photo
Limitations to know
A good tool should tell you where it stops. These are the constraints of this implementation, not hidden fine print.
- JPEG and WebP compression is lossy and repeated re-encoding degrades quality.
- Animated GIFs and SVG files are not handled by this tool.
- Very large images may hit canvas size limits on some mobile browsers.
Frequently asked questions
Short answers to the questions that come up most often about this tool.