Pick the kilobyte, not a quality guess
Choose 20, 50, 100, 200, 500 KB, 1 MB, or type a custom target. ExactKB searches JPEG/WebP quality and may reduce dimensions to keep processing practical and meet the limit.
Exact file-size compressor
Choose a byte limit for your image, process it on this device, then check the result. Compression can reduce dimensions as well as quality.
In-browser tool
Images are processed on this device. HEIC and ZIP features may need an initial download. Re-encoding removes EXIF metadata.
Choose 20, 50, 100, 200, 500 KB, 1 MB, or type a custom target. ExactKB searches JPEG/WebP quality and may reduce dimensions to keep processing practical and meet the limit.
Presets combine a byte target with optional maximum dimensions. They keep proportions and do not crop or certify an application photo.
Decoding, HEIC conversion, quality search, and ZIP all run in JavaScript on this page. There is no image API. Read the privacy policy.
The target is an upper limit, not a promise of an exact padded byte count. A successful result fits the displayed ceiling. The tool may shrink dimensions, and your destination may have separate rules for pixels, format and composition.
Start with KB versus KiB and upload troubleshooting, compare actual measured outputs, or read how the encoder works.
Your original stays on your device. Keep it so you can try different settings; changing settings clears previous results and requires another compression run. Our 17 October 2026 browser comparison uses the same 1200×900 synthetic PNG across 20, 50, 100, 200 and 500 KB ceilings. The 20 KB result became 653×490; the 100 KB result retained 1200×900. Each target page links its actual input and output, so you can compare pixels and bytes rather than rely on a quality promise.