Image Compressor
Reduce image file size with adjustable quality — fast, private, and right in your browser.
Drag & Drop your image here or click to upload
Supports JPEG, PNG, WebP, BMP, and GIF formats
About Image Compressor
Image Compressor is a free online tool that reduces the file size of JPEG, PNG, WebP, BMP, and GIF images using the HTML5 Canvas API. You control the output quality from 1% to 100%, choose between JPEG, PNG, or WebP as the output format, and optionally resize the canvas to custom pixel dimensions — all before committing to a download.
The tool is designed for situations where raw file size matters: optimising images before uploading to a website, shrinking photos for email attachments, reducing storage footprint on a shared drive, or meeting a maximum file-size requirement on a form or CMS. The live before-and-after comparison shows the exact byte savings and percentage reduction so you can tune quality until the trade-off is right for your use case.
Everything runs entirely in your browser via client-side JavaScript — no image is ever sent to a server, stored in the cloud, or transmitted anywhere. That means sensitive product photos, confidential design assets, and personal pictures remain on your device throughout the entire process. There is no account required and no usage limit.
Key Features
Adjustable quality slider (1–100%)
Set the JPEG or WebP compression quality to any value between 1 and 100. The slider gives you precise control over the size-vs-quality trade-off rather than forcing you to pick from a handful of presets.
Three output formats
Export the compressed image as JPEG (best for photos), PNG (lossless, ideal for graphics with transparency), or WebP (modern format with better compression than JPEG at equivalent quality).
Optional dimension resizing
In addition to quality compression, you can unlock custom width and height fields to scale the canvas down. An aspect-ratio lock keeps proportions intact when you adjust only one axis.
Exact file-size feedback
After compressing, the tool shows the original size, the compressed size in KB or MB, and the percentage saved — so you know precisely what you are downloading before you click.
Drag-and-drop upload
Drop an image file directly onto the upload area or use the file picker. Accepted formats include JPEG, PNG, WebP, BMP, and GIF.
100% client-side processing
The Canvas API does all the work inside your browser tab. Your images never leave your device, which matters when working with private or proprietary visual assets.
How to Use
Upload Image
Drag and drop your image into the upload area, or click to browse and select a file from your device.
Adjust Quality
Use the quality slider to set your desired compression level. Lower values mean smaller files but reduced quality.
Compress & Download
Click "Compress" to process the image, review the size savings, then download the optimized result.
Example
A 2.4 MB JPEG photo exported at 75% quality to WebP — a format with better compression than JPEG — shrinks to around 380 KB, saving roughly 84% with no perceptible loss at normal viewing sizes.
File: photo.jpg
Original size: 2,400 KB (2.4 MB)
Dimensions: 3840 x 2160 px
Output format: WebP
Quality: 75% Compressed size: ~380 KB
Dimensions: 3840 x 2160 px (unchanged)
Format: photo_compressed.webp
Saved: 84% Common Use Cases
- arrow_circle_right
Web page performance optimisation
Large images are the most common cause of slow page loads. Compress hero images, product photos, and blog thumbnails to a target file size before uploading to your CMS, cutting bandwidth and improving Core Web Vitals scores.
- arrow_circle_right
Email attachments under size limits
Many email clients and servers reject attachments over 5–10 MB. Use the quality slider to bring photos down to an acceptable size without switching to a different image editor or resizing the visible dimensions.
- arrow_circle_right
Converting JPEG photos to WebP for modern browsers
WebP delivers equivalent visual quality at 25–35% smaller file sizes than JPEG. Use the format selector to re-export an existing JPEG as WebP in one step, no additional software required.
- arrow_circle_right
Meeting upload size limits on platforms and forms
Job applications, government portals, and design submission forms often cap image uploads at 1 MB or 500 KB. Dial the quality slider until the displayed compressed size falls within the required limit.
- arrow_circle_right
Reducing cloud storage and backup footprint
When archiving large photo libraries to cloud drives, batch-compressing photos before upload avoids running out of free storage. Processing happens locally, so no files pass through a third-party service.