Hit an exact file size, not a rough one
Most image compressors give you a slider and a shrug β you drag it around, download, check the size, and try again. This tool works the other way round: you tell it the number, and it finds the best possible quality that fits under it. Type 100 KB and you get a file that is at most 100 KB, guaranteed, at the highest quality and largest dimensions that limit allows.
How it works
When you press Compress, the tool runs a binary search over JPEG or WebP quality settings, encoding your image several times and measuring each result until it converges on the highest quality that still fits your target. If even the lowest quality setting is too big β say you asked for 20 KB from a 24-megapixel photo β it starts scaling the dimensions down too, and repeats the search until the file fits. All of that happens in a background thread, so the page stays responsive even with large photos.
Your images never leave your device
There is no server doing the work here. The compression runs entirely inside your browser using the same graphics engine the browser uses to display images. Nothing is uploaded, nothing is stored, and the tool even keeps working offline once the page has loaded. As a side effect of how browser image encoding works, EXIF metadata β GPS location, camera serial number, timestamps β is stripped from the output automatically, which is usually exactly what you want before submitting a photo to a website.
When you need an exact size
Exact size caps show up everywhere: government and exam application portals, job sites, university admission forms, visa applications, marketplace listings and email systems all reject files over a fixed limit. If you already know your limit, jump straight to the matching page β the target will be pre-filled: 20 KB, 50 KB, 100 KB, 200 KB, 500 KB or 1 MB.
Tips for the best result
- Prefer JPG or WebP output. PNG is lossless and cannot hit small targets without heavy downscaling; the tool converts PNG photos to JPG by default and tells you when it does.
- Crop before you compress. Removing empty background lets the remaining pixels keep more quality at the same file size.
- Use the resize fields if a form also demands exact dimensions (many ask for both, e.g. 200 Γ 230 px under 100 KB) β the tool handles both constraints in one pass.