Compress image to an exact size
Pick a picture, type the file size you need — 20KB, 50KB, 100KB, 200KB, 1MB — and get a JPG, PNG or WebP that lands at or under that number. It holds your pixel dimensions and lowers quality only as far as 40%; past that it shrinks the picture instead. It never hands back a file above your number.
No sign-up. No watermark. No upload — your file is decoded, resized and re-encoded by your own browser.
Choose an image
Drop an image here
or choose a file — JPG, PNG, WebP, GIF or BMP
Set the target file size
JPG and WebP keep your pixel dimensions and let quality drop — but only to 40%. Below that the tool shrinks the image instead, which looks better at the same file size.
Where your file goes
Nowhere. There is no server behind this page and no network request carries your image.
The file is read with the browser's File API, drawn onto a canvas, re-encoded with
canvas.toBlob() and handed straight back to you as a download.
Turn off your Wi-Fi after the page has loaded and it still works.
- No upload, no account, no watermark, no usage limit.
- The target size is enforced by the tool: it never hands back a file above your number.
- If a target is impossible for a given image, the tool says so instead of guessing.