Kilomill

Kilomill Compress to KB

Compress an image to a specific size in KB

Application forms, exam portals and visa sites often accept photos only below a certain size, such as 50 KB or 200 KB. Enter the limit, and Kilomill finds the highest quality that fits, shrinking the image only when it has to.

  • No upload: runs in your browser
  • Batch + ZIP download
  • No sign-up, no watermark

Drop images here

or paste from the clipboard · JPG, PNG, WebP, AVIF, HEIC, GIF, BMP · no upload

Output format
File size

For JPG, WebP and AVIF. 70–80 is hard to tell from the original. PNG uses smart colour reduction instead (see Advanced).

KB
KB

Aims at or below the maximum counting 1 KB = 1,000 bytes, so the file passes whether a site counts 1,000 or 1,024 bytes per KB.

Dimensions

Leave one box empty to keep the proportions.

%
px
Advanced
PNG output
dpi

Metadata (EXIF, GPS location, camera details) is removed from every output file.

How the KB target works

  1. The image is first resized to any dimensions you set.
  2. It is encoded at the lowest acceptable quality. If even that is too big and you allow it, the dimensions are reduced in proportion to how far off the size is, and it tries again.
  3. Once a version fits, Kilomill searches between “fits” and “too big” for the highest quality under your limit, usually in 3–6 encodes.
  4. If the form also has a minimum, the quality is raised, and as a last resort a comment block pads the JPG file up to the minimum.

Kilomill counts your maximum as 1,000 bytes per KB, which is the stricter reading. A file that passes “100 KB” here is at most 100,000 bytes, so it passes forms that count 1,024 bytes per KB too.

Presets for common limits

Common size limits
LimitOften asked for
20 KBSignatures and small photos on application portals
50 KBPassport-size photos on exam and job application forms
20–50 KBForms with a minimum and a maximum, such as IBPS photos
100 KBPhotos and scanned documents on government and university portals
200 KBVisa photos, larger document scans
1 MBUpload forms, email attachments, marketplaces

Many forms have a minimum too

Size rules are often ranges, not just maximums: the UK online passport photo must be at least 50 KB, IBPS asks for a photo of 20–50 KB, and UPSC’s ESE 2027 notice wants each image between 20 KB and 300 KB (all read 21 Oct 2026). Enter both numbers and Kilomill keeps the file inside the range.

Get the best quality for a tight limit

  • Crop first. Every pixel you remove (empty background, borders) leaves more bytes for the face or text that matters. Use Crop & rotate on the image.
  • Set the dimensions the form asks for. If a form says 200 × 230 pixels, use exactly that: a bigger image wastes bytes, a smaller one may be rejected.
  • Keep JPG. PNG is the wrong format for photos under a size limit; it needs far more bytes.
  • Plain backgrounds compress better. A light, even background takes far fewer bytes than a busy one.

Questions and answers

Is 1 KB 1,000 or 1,024 bytes?

It depends on who you ask: Windows counts 1,024 bytes, macOS and most standards 1,000. Kilomill aims at or below the limit counted as 1,000 bytes per KB, which also passes if the site counts 1,024. For a minimum it does the opposite, so the file passes either way.

The form also has a minimum size. Can you meet it?

Yes: enter it as the minimum. Kilomill first raises the quality; if the image is still too small at the highest quality, it adds a harmless comment block inside the JPG file to reach the minimum. The picture itself is not changed.

What if it can’t reach the size?

With “Keep width and height” ticked, quality alone sometimes isn’t enough; untick it to let Kilomill also reduce the dimensions. If the result is still too large, the image shows a warning and gives you the smallest version it found.

Can I compress a PNG to a size in KB?

Yes. Choose PNG under Output format: Kilomill then steps down through smaller colour palettes and, if needed, smaller dimensions. For photos, JPG reaches small sizes with much better quality.

Can I do many images at once?

Yes. Every image in the batch gets the same limit, and you can download all of them as a ZIP.

Are my images uploaded to a server?

No. The images are read and compressed by code running in this browser tab, and the results are created in your device’s memory. Nothing is sent anywhere, which you can confirm in your browser’s developer tools (Network tab) while you work. See Privacy.

Compare

OriginalResultOriginal Result

Crop & rotate

Image to crop