Compress Image to KB (20 KB, 50 KB, 100 KB)
Before / after split + per-file sizes Hits the size limit automatically
Application forms, exam portals and visa sites often accept a photo only below a size such as 20 KB, 50 KB or 100 KB, sometimes at a fixed pixel size too. This tool makes each image fit: it tries quality settings until it finds the highest one that stays under your limit, and scales the image down only when quality alone is not enough. Images are processed in your browser and not uploaded.
How to compress an image to a size in KB
- Drop .jpg, .jpeg, .png, .webp, .heic or .heif images onto the workspace. Use “+ Add files” to add more to the list.
- Pick the “Max size”: 20 KB, 50 KB, 100 KB, 200 KB, 500 KB, 1 MB or 2 MB, or choose “Custom…” and type any value in KB. The default is 100 KB.
- Under “Pixels”, keep “Any” (shrink if needed) when only the file size matters. Choose “Fit” to keep the image inside a width × height box, or “Exact” (crop to fill) when the form asks for an exact size such as 600 × 600 px; the image is then cropped around its centre to that shape.
- Choose the output format in the settings: JPG (the default, accepted almost everywhere) or WebP. Every file is processed again after a change, starting with the selected one.
- Check each row: it shows the new size, the limit, the quality used and the pixel size. Select a file and drag the divider to compare the original (left) with the result (right); 100% under “Zoom” shows fine detail.
- Export. One image downloads on its own; two or more download as one ZIP.
How the size is reached
The tool encodes the image at different quality levels and keeps the highest one whose file is not larger than the limit, so you get the best-looking file that still fits rather than one that is far smaller than needed.
With “Any” (shrink if needed) the quality never goes below 50%: if the file is still too big at that level, the image is scaled down step by step and the quality search runs again. The row then says “scaled down to” and the new pixel size. With a fixed pixel size (“Fit” or “Exact”), the size cannot change, so the quality may go as low as 5%; if even that is too big, the row explains which limit cannot be met.
What happens to each file
Sizes use 1 KB = 1,000 bytes, the way phones and most portals count. A file under 50 KB here is also under 50 KB on a site that counts 1 KB as 1,024 bytes. Re-encoded images contain no EXIF, GPS or other metadata, and transparent areas turn white in JPG.
| Case | What you get |
|---|---|
| Already under the limit, same format, “Any” pixel size | The original file unchanged, with the note “Already under … kept as is” |
| Fits after re-encoding | A new file at the highest quality that fits, with size, quality and pixel size on its row |
| Fits only after scaling down | A smaller image, marked “scaled down to” with its new pixel size |
| Cannot fit at the required pixel size | Marked as failed with the smallest size that was possible; raise the limit or allow a smaller pixel size |
| File cannot be read | Marked as failed and left out of the ZIP; “Remove failed” clears such rows |
Compress Image to KB: common questions
- The form asks for 200 × 230 pixels and under 50 KB. What do I set?
- Set “Max size” to 50 KB, choose “Exact” (crop to fill) under “Pixels” and type 200 and 230. Check on the split view that the crop keeps your face where you want it; if not, crop the photo first with the Crop, Rotate & Resize tool.
- Why does my image look blurry at 20 KB?
- A very small limit leaves few bytes for detail. A smaller pixel size usually looks better than a large image at very low quality, so try “Fit” with a smaller box, or ask whether the form accepts a larger file.
- Are my photos uploaded?
- No. Decoding, resizing and compression happen in your browser tab, and the results are saved straight to your device.
Related tools
Passport & ID Photo Maker (2×2 in, 35×45 mm, 4×6 cm)
Make a passport, visa or ID photo from a phone picture: pick the document size (US 2×2 in, Schengen and UK 35×45 mm, Canada, China visa, Vietnam 4×6 cm…), line your head up with the guides, switch the background to white if needed, and save one 300 dpi photo or a 4×6 in sheet to print.
HEIC to JPG Converter (Batch, PNG & WebP)
Convert dozens of iPhone .heic photos to JPG, PNG or WebP in your browser. Each photo gets its own row with size and status; a damaged file is skipped instead of stopping the batch. Check detail at 100% zoom before saving.
Compress PDF Under 2 MB for Portals & Email
Re-render each page as a JPEG to fit a 1, 2 or 5 MB portal or email limit. Auto-fit measures the real file and steps down until it fits, and a before/after slider with 2× zoom lets you check small print. Pages become images. Nothing is uploaded.