Free Image Compressor — Shrink JPG, PNG & WebP Files
Upload a photo, drag the quality slider, and watch the file size drop in real time with a live before/after comparison. Everything happens locally using your browser's Canvas API — your image is never uploaded anywhere.
How this image compressor works
Three steps, entirely in your browser.
Upload your image
Click the drop zone or drag a JPG, PNG, or WebP file onto it. The file is read locally — it's never sent to a server.
Adjust quality and format
Drag the quality slider and pick an output format. The browser's Canvas API re-encodes the image and shows you the new file size instantly.
Download the result
Compare the before/after sizes, then download the compressed file. Nothing is kept — close the tab and it's gone.
Choosing a quality setting
For most photos, a quality setting between 65% and 85% gives a large file size reduction with no visible difference from the original — JPEG and WebP compression is designed to discard detail your eye barely notices before it discards anything you'd notice. Going below 50% starts to introduce visible blockiness, especially around sharp edges and text within an image, so it's best reserved for thumbnails or situations where file size matters more than fine detail.
If you're compressing a PNG, keep in mind that PNG is a lossless format — the quality slider has little effect on it, since PNG doesn't use the same variable-quality re-encoding. If your PNG is a photo (rather than a graphic with flat colors, transparency, or text), converting it to JPEG or WebP using the format dropdown above will almost always produce a dramatically smaller file.
Common ways people use an image compressor
Faster website pages
Large uncompressed photos are one of the most common causes of slow-loading web pages. Compressing before upload speeds up the whole site.
Email attachment limits
Most email providers cap attachments around 25MB. Compressing a batch of photos gets them under the limit without a separate app.
Staying under upload limits
Job application portals, forms, and CMS platforms often cap image size — compress first instead of getting a rejected upload.
Saving device storage
Compress a folder of photos one at a time before archiving them, keeping the visual quality while freeing up meaningful space.
Mistakes worth avoiding
Compressing the same file repeatedly
Each JPEG re-encode loses a little more quality. Always compress from the original file, not from a previously compressed copy.
Going straight to the lowest quality
Start around 75% and only go lower if you specifically need a smaller file — most of the size savings happen well before quality looks noticeably worse.
Keeping PNG for photos
PNG is great for logos, screenshots, and graphics with flat colors — but a poor choice for photos, where JPEG or WebP will always compress far better.
Frequently asked questions
Does this upload my photos anywhere?
No. The image is read and re-encoded entirely in your browser using the Canvas API. It never leaves your device.
What image formats are supported?
You can upload JPG, PNG, or WebP, and choose to save the result as JPEG, WebP, or PNG regardless of the original format.
Why is my PNG not getting much smaller?
PNG is a lossless format, so the quality slider has little effect on it. For photos, converting to JPEG or WebP at 70-85% quality usually gives a much bigger size reduction with no visible difference.
Will compressing reduce the image dimensions?
Only if you set a maximum width — otherwise the pixel dimensions stay the same and only the file size (via re-encoding quality) changes.
Is there a file size limit?
No artificial limit is imposed by this tool, though very large images (well over 20-30MB) may take a moment longer to process since everything runs on your own device's processor.