Compress Image to Exact KB
Compress Image to Exact KB helps you fit a photo or signature under an online form’s file-size limit, right in your browser. It aims just below your target, not at an exactly equal byte count.
Choose an image, then set the size you need.
Your image is compressed on this device and never uploaded. We aim just under your limit, counting 1 KB as 1,000 bytes, so the file passes on every website.
What is the Compress Image to Exact KB?
Compress Image to Exact KB is a free tool for reducing a photo, signature or scanned image to a chosen maximum file size. It searches for the highest quality that fits your target and can reduce width and height when needed. You can open a JPG, PNG or WebP and save the result as JPG or WebP. Applicants, students and people preparing document uploads use it when a form asks for a size such as 20, 50 or 100 KB. The preview shows the final file size, pixel dimensions and quality before you download. Your image stays in your browser.
Who it is for: Exam applicants, job seekers, university applicants, people preparing signatures and website editors can use it to meet image upload limits.
How to use the Compress Image to Exact KB
- Tap “Choose a photo or image” and select a JPG, PNG or WebP up to 50 MB, or paste an image.
- Enter your limit in “Target size (KB)” or tap a quick button such as “50 KB”.
- Under “Save as”, choose “JPG (accepted everywhere)” or “WebP”, following your form’s format rules.
- Leave “Allow a smaller width and height if needed for a clear photo” on unless you must preserve the current pixel dimensions.
- Tap “Compress to this size”, check the preview, file size and dimensions, then tap “Download image”.
Why use it
- Choose your upload limitEnter a target from 5 to 10,000 KB or use the 20, 50, 100, 200 or 500 KB quick buttons.
- Balance quality and dimensionsAllow smaller dimensions to keep JPEG quality at 45% or higher when a tight limit needs more compression.
- Check before downloadingSee the result’s size in KB and bytes, pixel dimensions and quality used.
- Keep photos on your deviceCompression runs in your browser, so your photo or ID image is never uploaded.
At a glance
- What you put in
- JPG, PNG or WebP up to 50 MB; file selection or paste
- What you get
- JPG or WebP; final KB, bytes, pixel dimensions and quality
- Limits
- Target: 5–10,000 KB; 1 KB = 1,000 bytes; maximum size, not exact equality; free, no subscriptions
- Privacy
- Runs in your browser. Nothing you enter is uploaded or stored.
- Price
- Free for everyone. No subscriptions, no payments, no watermark.
- Works offline
- Yes, once the page has loaded
- Last checked
- by AK Shine
Worked example
Our sample photo: a 2000 × 1334 px JPG of 396,551 bytes. Target size: 50 KB. Save as: JPG. Allow a smaller width and height: on.
Done: 49.9 KB (49,980 bytes), under your 50 KB limit. 2000 × 1334 px, quality 49%.
50 KB here means at most 50,000 bytes. At 20 KB the same photo needed to shrink to 1156 × 771 px to keep quality at 48%. Measured in Chrome.
When to use something else
- Use a dedicated crop or resize tool if the form requires exact pixel dimensions, framing or DPI; this tool does not set those values or enforce a minimum file size.
- Very small targets for large photos can cause visible loss, so check faces, signatures and scanned text in the preview before submitting.
- For official photos, follow the destination’s current rules on dimensions, format and permitted edits; meeting the KB limit alone does not guarantee acceptance.
Questions people ask
How do I compress an image to 20, 50 or 100 KB?
Choose your image, then tap the matching quick button under “Target size (KB)”. Choose an output format under “Save as” and tap “Compress to this size”; you can also enter any target from 5 to 10,000 KB.
Will the image be exactly the number of KB I enter?
No, the target is a maximum, and the result is just under it rather than exactly equal. The tool counts 1 KB as 1,000 bytes, so a 50 KB result is at most 50,000 bytes and also fits a limit calculated using 1,024 bytes per KB.
How do I reduce a JPG to 50 KB without making it blurry?
Choose “50 KB” and leave “Allow a smaller width and height if needed for a clear photo” on. The tool keeps JPEG quality at 45% or higher and reduces dimensions when needed, but a large or detailed photo may still lose visible detail.
Does compression change my image’s pixel dimensions?
It can when “Allow a smaller width and height if needed for a clear photo” is on, which is the default. Turn it off to preserve dimensions; the tool then lowers quality as far as 3% and may report that it cannot reach your target.
Can I compress a PNG or an iPhone HEIC photo?
You can open PNG, JPG and WebP files, then choose JPG or WebP under “Save as”. HEIC is not a supported input, and PNG is not an output option, so convert an HEIC file before using this tool.
Why does a form reject a photo that is under its KB limit?
The form may also require a specific format, pixel size, aspect ratio or minimum file size. Check its current instructions against the displayed dimensions and downloaded format; this tool does not set exact dimensions or enforce a minimum size.
Is it safe to compress a passport or ID photo here?
Your image is processed in your browser and is never uploaded. Before using the result for an official application, check whether its rules allow compression or other software changes.
Is this free, and can I use it offline?
The tool is free, with no subscriptions. It works offline after you have opened it and it is available on your device, so load it before losing your connection.