Compression · How-to

How to compress a JPG to 100 KB (or any target size) without wrecking it

Target-size compression is a different problem than quality-based compression — and using the wrong tool costs you sharpness you never had to give up.

SCShariq Chaudhary· Founder, ImageConvertToJPGUpdated July 15, 2026 10 min read

Every week someone messages us because a visa portal, a job-application form or an entrance-exam registration site is rejecting their photo with the same terse message: 'File must be under 100 KB.' The uploaded selfie is 2.4 MB. They open the first result on Google, get an image that's technically 100 KB but so aggressively compressed the face is a smear, and the portal accepts it. Then the interviewer opens it and squints. There is a much better way to do this — and it takes about 30 seconds once you know the method.

Why 100 KB is a strange target

Most compression tools ask you to pick a quality level (0–100) and hope. Target-size compression inverts the problem: you fix the output size and let the encoder figure out the quality. That is genuinely harder — the encoder has to run several passes and binary-search for the quality setting that lands close to your limit without going over.

The 30-second workflow

  1. Open the target-size compressor on imageconverttojpg.com.
  2. Drop your photo. If it's a portrait or ID photo, crop to 800×800 or the exact dimensions the portal asks for.
  3. Enter the target size (100 KB, 50 KB, 200 KB — whatever the form demands).
  4. Let the encoder binary-search. The result appears in one or two seconds.
  5. Download and upload. Done.
Same file size (100 KB) — different result. Resizing first is what recovers the sharpness.

What target sizes actually mean in practice

20 KB
Old government forms, low-res thumbnails
50 KB
Passport photos on some visa portals
100 KB
Most competitive exam registration (SSC, UPSC, IBPS)
200 KB
Modern job portals, LinkedIn
500 KB
University applications, insurance uploads
2 MB
Airline check-in, mid-tier CMSes

Common mistakes that ruin the result

  • Uploading a 12-megapixel photo and asking for 100 KB output. The encoder has no room to work — every pixel becomes a compression artefact.
  • Converting a PNG screenshot of text to a 100 KB JPG. Text goes fuzzy first. Use PNG for screenshots, JPG for photos.
  • Running the file through a second compressor after the first one already did the job. Every JPG re-save loses a little quality; two rounds of aggressive compression is almost always visibly worse.
  • Ignoring the portal's stated dimensions. If the form asks for 200×230 pixels, resize to that first — a 4000-pixel-wide source scaled down inside the compressor uses budget you can't spend on quality.

Why this tool exists

The dominant target-size compressors on Google either upload your photo to a server (fine for a meme, uncomfortable for a passport photo) or use a naive fixed-quality loop that overshoots the target by 20 KB and then re-compresses. imageconverttojpg.com's target-size compressor runs the whole binary search in your browser using the Canvas API, so the photo never leaves your device and the encoder converges precisely on the number you asked for.

The right way to think about target-size compression: budget the pixels first, then spend them on quality.

Shariq Chaudhary, Founder

When to give up and use PNG

If the source is a screenshot of a document, a scanned form, or anything with typed text — JPG at 100 KB will look bad no matter how much you resize. PNG compresses text and flat colour dramatically better than JPG at those sizes. Try the PNG compressor first; if the portal accepts PNG uploads, you'll get a sharper result at the same or smaller file size.

Frequently asked questions

How small can I compress a JPG without visible quality loss?

For a portrait at 800×800 pixels, 60–90 KB usually looks essentially identical to the source at normal viewing sizes. Below 40 KB you start to see facial artefacts. Below 20 KB the image is only usable as a thumbnail.

Can I compress to 100 KB without losing quality entirely?

'Without any loss' is impossible below the original file size for JPG — JPG is a lossy format by definition. The realistic goal is 'no visible loss at the size the image will be displayed', which is achievable at 100 KB for portrait-sized images.

Do government portals accept WebP or AVIF?

Almost never in 2026. Government upload forms are typically JPG or PNG only. Convert to JPG for those specific uploads, even if WebP would give a smaller file.

Is it safe to upload my passport photo to an online compressor?

Only if you can verify the tool runs in your browser and doesn't upload the file. Open DevTools → Network before you drop the photo — if there's no outbound request carrying image data, the tool is genuinely local. imageconverttojpg.com is a browser-based tool by design.

Tools referenced in this article
SC
Shariq Chaudhary
Founder, ImageConvertToJPG · imageconverttojpg.com

Shariq founded ImageConvertToJPG after a decade of shipping image pipelines for e-commerce and publishing platforms. Every tool on the site runs entirely in the browser — no uploads, no accounts, no tracking on tool pages.

Keep reading