Shrink JPEG, PNG and WebP files with a quality slider and a live size comparison.
JPEG, PNG, WebP, GIF, BMP or AVIF, up to 40 MB
Processed on your device — nothing is uploaded
A photo for the web
Quality around 75 is usually indistinguishable
75Heavy compression
When size matters more than detail
45Near-original
Modest saving, no visible change
92Drop a JPEG, PNG or WebP onto the page, or pick one from your device.
The output size updates as you move it, so you can see exactly what each step costs or saves.
Compare the preview against the original before saving.
The new size appears as you move the slider, so choosing a quality level is an informed decision rather than a guess.
Compression uses your browser’s own encoder. No request is made, so a sensitive document never leaves the machine.
If re-encoding makes a file larger — which happens with already-optimised images — the tool says so instead of pretending it helped.
Reduce an image’s file size by re-encoding it at a quality level you choose, watching the result and the saving update as you drag the slider. Because the comparison is live you can find the point where the file is much smaller but the picture still looks right, rather than guessing at a percentage. Everything happens in your browser using its own image encoder — the file never leaves your device, which matters when the photo is a passport scan or a contract.
Keep going
Related pages in Image Tools, plus what others are using right now.
More image tools that pair well with this one.
Resize images by pixel dimensions or percentage, with the aspect ratio locked or free.
Convert between JPEG, PNG and WebP, with quality control and transparency handling.
Measure how hard an image has been compressed, and whether it is worth optimising.
Convert PNG images to JPEG, with a background colour for transparent areas.
Turn a logo into favicon.ico, the PNG sizes a site needs, and the HTML to declare them.
Crop an image to an exact region, by hand or to a fixed aspect ratio.
Create strong random passwords with full control over length and characters.
Format, validate and minify JSON, with errors that point to the exact line.
Work out any percentage — of a number, as a share, or as a change.
Count words, characters, sentences and paragraphs as you type.
Convert between length, weight, temperature, volume, speed, data and more.
Count characters with and without spaces, against the limits that matter.
Find the mean, median, mode and range of a list of numbers, with the working shown.
Sample and population standard deviation and variance, both shown, with the working.
Check a downloaded file against its published checksum, without uploading anything.
Stamp text like DRAFT or CONFIDENTIAL across a PDF, in your browser.
Turn JSON into readable YAML, with quoting and multiline strings handled properly.
Escape text for HTML, or turn entities back into readable characters.