Image Compressor
Compress and resize JPG, PNG and WebP images in your browser — adjust quality, set dimensions and batch process, with nothing uploaded.
Settings
Images are processed entirely on your device. Re-encoding removes EXIF metadata such as GPS location.
About the Image Compressor
This free image compressor shrinks JPG, PNG and WebP files right in your browser, so you can email photos, speed up a website or stay under an upload limit without losing visible quality. Drop in one image or a whole batch, and a before/after size comparison shows exactly how many kilobytes you saved. A quality slider lets you trade a little detail for a much smaller file, and you can resize at the same time — by percentage or to fit a maximum width and height — then download each image or grab them all as a ZIP.
Everything happens entirely in your browser using the Canvas API: your photos are never uploaded to a server, so private screenshots, ID scans and family pictures stay on your device. Re-encoding also strips embedded EXIF metadata like GPS location and camera details. Choose to keep the original format or convert to JPEG, PNG or WebP — WebP usually gives the smallest file for the web — and once the page has loaded it keeps working even offline.
Frequently asked questions
Answers to the questions we hear most about this tool.
How do I compress an image?
Add your photo by dragging it onto the tool or clicking to browse — JPG, PNG and WebP are all supported, and you can select several at once for batch compression. Adjust the quality slider (lower means a smaller file) and, if you want, resize the image or change its output format. The tool re-encodes each picture instantly and shows the original size next to the new size, then you download the result individually or as a ZIP.
How do I reduce a photo's file size for email or the web?
Two things shrink a file: lowering the quality and reducing the dimensions. For email, resizing to a max width of around 1600px at 70-80% quality usually drops a multi-megabyte phone photo under 500 KB while still looking sharp. For the web, do the same and export as WebP for the smallest file. Watch the before/after comparison and nudge the quality down until you hit the size you need.
Can I resize an image without losing too much quality?
Yes. Making an image smaller in dimensions is essentially lossless to the eye — the visible quality loss comes from over-compressing, not from resizing. Resize by percentage or set a maximum width and height (the aspect ratio is kept so nothing gets stretched), and keep quality at 80% or higher. The before/after readout lets you confirm the file is smaller without pushing the quality so low that artifacts appear.
Which format and quality should I pick?
For photographs, use JPEG or WebP at roughly 75-85% quality — a good balance of small size and sharp detail. For graphics, logos and screenshots with text or flat color, PNG (or WebP) keeps edges crisp, though PNG files are larger. WebP typically beats JPEG and PNG on size and is supported by every modern browser, so it's the best default for websites. Choose 'keep original' if you simply want to compress without converting.
Is it safe and private, and does it work offline?
Yes to all three. The compression runs entirely in your browser with the Canvas API — your images are never uploaded to any server, which is why we can say your files never leave your device. The re-encode also strips EXIF metadata such as GPS coordinates and camera info. Once the page has loaded you can disconnect from the internet and keep compressing, since there are no network calls involved.
Related tools
Image Resizer
Image
Resize an image to exact pixel dimensions or by percentage, with aspect-ratio lock and common size presets — all in your browser.
Open toolImage Cropper
Image
Crop an image to any size or aspect ratio with a draggable selection box — square, 16:9, 4:3 and more — right in your browser.
Open toolEXIF Remover
Image
Strip EXIF metadata, GPS location and camera info from JPG, PNG and WebP photos — losslessly, in your browser.
Open tool