Image Compressor
Shrink image file size with adjustable quality, width and format.
JPG, PNG, WebP or GIF (first frame). The file never leaves your browser.
Images are compressed locally with the canvas API — nothing is uploaded to a server.
What is the Image Compressor?
The Image Compressor is a free online tool that reduces image file sizes right in your browser. Upload any JPG, PNG, WebP, or GIF, choose an output quality between 10 and 100, set a maximum width, and pick JPEG, PNG, or WebP output. The tool redraws the image on a canvas at your settings and instantly shows the original size versus the compressed size, plus how much smaller the result is — with a live preview and a one-click download.
How to use it
- Upload: choose a file with the button or drag and drop it onto the dashed box.
- Quality slider (10–100): lower values mean smaller files but more visible compression artifacts. Around 70–85 is a good balance for photos.
- Max width: the image is scaled down if it is wider than this (it is never upscaled). Use 1920 for full-page images, 800–1200 for blog and social posts.
- Format: JPEG is best for photos; WebP usually gives the smallest file at the same quality; PNG is lossless — pick it only when you need transparency or pixel-perfect graphics.
Tips
If the "saved" value shows the file got larger, your source was probably already well compressed — try lowering the quality or switching to WebP. Compression happens entirely on your device using the canvas API, so it is fast and private: no uploads, no watermarks, no limits.