Image Compressor
Shrink the file size of your photos and graphics with an adjustable quality slider and a live before/after preview โ free and private. Compression happens entirely in your browser, so your images are never uploaded.
or click to browse โ JPG, PNG, WebP, GIF, BMP ยท stays on your device
Original
Compressed
How to compress an image online
- Upload your image. Drag and drop a JPG, PNG, WebP, GIF or BMP file into the box above, or click it to browse your device.
- Tune format and quality. Pick JPG, WebP or PNG output and move the quality slider. The compressed preview and the new file size update live, so you can compare before and after side by side.
- Download the result. When the size and quality look right, press Download compressed image to save the smaller file.
About this tool
This free image compressor reduces image file size so your pictures load faster on web pages, fit into email attachment limits and upload forms, and take up less storage. Smaller images mean quicker page loads and better Core Web Vitals scores, which is why compressing photos before publishing is one of the easiest performance wins for any website. Re-encoding also strips camera EXIF metadata (including GPS location), which saves a few extra kilobytes and removes private information from the file.
Everything runs locally in your browser using the HTML5 canvas โ your photos are never uploaded to a server, there are no watermarks, no sign-ups and no limits on how many images you compress. For photographs, quality settings between 70% and 85% typically cut the file size by well over half with barely visible differences; WebP output usually compresses 25โ35% smaller than an equivalent JPG.
Frequently asked questions
What quality setting should I use?
For photos, 70โ85% is the sweet spot: large savings with differences that are hard to spot at normal viewing size. Go lower (40โ60%) for thumbnails or previews where size matters most, and higher (90%+) for images you plan to edit again later.
Should I choose JPG, WebP or PNG output?
WebP usually gives the smallest files and supports transparency, making it the best choice for the modern web. JPG is the safest choice for maximum compatibility with older software. PNG is lossless โ perfect quality, but much larger files โ so use it only when you need pixel-perfect graphics or full lossless transparency.
Why is my compressed file bigger than the original?
Some images are already heavily optimized, and PNG output in particular can grow because the browser re-encodes it losslessly without advanced optimization. If that happens, switch to WebP or JPG output or lower the quality slider โ the savings indicator updates instantly.
Are my images uploaded to a server?
No. The whole compression happens inside your browser โ your image never leaves your device, which makes this tool safe for private photos, ID scans and confidential documents. Note that animated GIFs keep only their first frame when compressed here.