AZTools.us
English

Compress Image to KB (20 KB, 50 KB, 100 KB)

Before / after split + per-file sizes Hits the size limit automatically

Public-domain (CC0) file from Wikimedia Commons, downloaded to your browser only when you click.

Compress Image to KB settings

Load a file to unlock this tool’s controls:

Before / after split + per-file sizes

Runs directly on the web inside your browser. Your original file is never modified or uploaded.

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.

Updated

How to compress an image to a size in KB

  1. Drop .jpg, .jpeg, .png, .webp, .heic or .heif images onto the workspace. Use “+ Add files” to add more to the list.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.

Per-file results
CaseWhat you get
Already under the limit, same format, “Any” pixel sizeThe original file unchanged, with the note “Already under … kept as is”
Fits after re-encodingA new file at the highest quality that fits, with size, quality and pixel size on its row
Fits only after scaling downA smaller image, marked “scaled down to” with its new pixel size
Cannot fit at the required pixel sizeMarked as failed with the smallest size that was possible; raise the limit or allow a smaller pixel size
File cannot be readMarked 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.