Image Compressor
Compress JPG, PNG and WEBP images with a custom quality slider and instant size comparison.
Compress your image
JPG · PNG · WEBPNo picture loaded yet. Add a JPG, PNG or WEBP file and the compressed result appears instantly.
Original
—
Compressed result
—
How to compress an image online
Drop or pick your image
Drag a JPG, PNG or WEBP file onto the drop zone, or click it to open the file browser.
Tune the quality and size
Drag the quality slider between 0.1 and 1.0 and optionally cap the maximum width or height in pixels.
Compare before and after
The original and the re-encoded result are shown side by side with the exact byte size and the percentage of space saved.
Download the smaller file
Press “Download compressed image” to save the optimised picture as compressed-your-file.jpg, .png or .webp.
Image compressor — frequently asked questions
It depends on the picture and the settings. Screenshots and flat-colour graphics often shrink by 60–90% when re-encoded as JPEG or WEBP at a quality of 0.7–0.8, while already-optimised photos usually save 10–30%. The live comparison panel shows the exact numbers for your file.
No. PNG is a lossless format, so the browser encoder ignores the quality value and only the optional resizing changes the file size. Switch the output format to JPEG or WEBP if you want a visible size reduction on a photograph.
Only at very low quality values. Around 0.75 the result is virtually indistinguishable from the original on screen. The live preview updates as you move the slider, so you can pick a setting that keeps the picture sharp.
Never. The file is read with the browser File API and re-encoded on your device with the Canvas API. You can even disconnect from the internet after the page has loaded and the tool keeps working.
Related Image Tools
Image Compressor
Compress JPG, PNG and WEBP images with a custom quality slider and instant size comparison.
Open toolImage Resizer & Scaler
Resize images by pixel dimensions or percentage, with ready-made social media ratios.
Open toolImage Format Converter
Convert photos between PNG, JPG, WEBP and BMP formats without losing quality.
Open toolPassport Photo Maker
Create compliant 2x2 in and 35x45 mm passport photos with custom backgrounds and print grids.
Open toolImage Cropper & Rotate
Crop, rotate, flip and adjust the brightness of any picture.
Open toolImage to Base64
Convert any image into a Base64 data URI, CSS background or ready-made HTML tag.
Open tool