Compress a photo to an exact file size
Name a target — 20 KB, 50 KB, whatever the form demands — and get a file just under it. Your photo never leaves your device.
Drop an image here, or click to choose one
You can also paste a screenshot with Ctrl+V. JPG, PNG, WebP.
Every byte of that work happened on your own machine. Verify it: open DevTools → Network, and use the tool. No request carries your image, because none is made.
Why "under 100 KB" is such a specific kind of misery
Almost nobody wants to compress an image for its own sake. They want to compress it because a form will not accept it: a government portal capped at 50 KB, a job application that wants a photo under 200 KB, a forum with a 1 MB ceiling, a CMS that silently rejects anything larger. The requirement is a hard number, and most tools do not let you name a number. They give you a quality slider and leave you to guess, upload, get rejected, and guess again.
This tool inverts that. You give it the number; it finds the settings. Internally it bisects the encoder's quality range to find the largest setting whose output still fits, and if that is not enough it reduces the pixel dimensions and searches again — so you get the best-looking image that satisfies the constraint, rather than the first one that happens to squeak under.
The privacy problem nobody mentions
The images people most often need to compress are the ones they should be least willing to hand to a stranger: passport photographs, signatures, scans of identity documents, medical forms, photographs of children for school portals. The standard compression sites upload all of it to a server, process it there, and send it back. Their privacy policies vary in how long they claim to keep it.
There is no reason for any of that. Browsers have been able to decode, resize and re-encode images locally for over a decade. This site does the work in the tab you already have open — which is not only more private but faster, because a 4 MB photo never has to make a round trip over your connection before anything happens.