How to compress an image to 100 KB without it looking terrible

Updated 2026-08-29 · Filezy Guides

Government portals, exam registrations, visa applications, university admissions and job forms share a habit: they demand a photograph or a scanned signature under some brutally small limit — 100 KB, sometimes 50 KB, occasionally 20 KB. Meanwhile the photo on your phone is 4 MB, roughly forty times too large.

Most people respond by compressing harder and harder until the file fits, then upload something blocky and smeared and hope it is accepted. There is a better sequence, and it is not complicated.

The mistake almost everyone makes

Compression and resizing are different operations, and doing them in the wrong order is what produces ugly results.

Resizing changes how many pixels the image has. Compressing keeps the pixel count and stores each pixel less precisely. Squeezing a 4000-pixel-wide photo into 100 KB means storing four thousand pixels of width in almost no space, which forces extremely aggressive compression — hence the blocky patches and the smeared halos around edges.

Resize that same photo to 800 pixels wide first and it holds a fifth as many pixels. Now 100 KB is a comfortable budget rather than an impossible one, and the compression needed is mild enough to be invisible.

The rule: resize first, compress second. Always. It is the single change that makes the difference between a photo that looks fine at 100 KB and one that looks like it was faxed.

Step by step

  1. Check what the form actually requires. Most specify a maximum file size and minimum or exact pixel dimensions — often something like 200×230 pixels for a passport-style photo. If dimensions are specified, use exactly those and most of your size problem disappears on its own.
  2. Resize to the dimensions you need. If none are given, 800–1000 pixels on the longest edge is a sensible target for a 100 KB limit, and 600 for a 50 KB one. Keep the aspect ratio locked so nothing stretches.
  3. Compress to the target. Set your target as a decimal in megabytes — 100 KB is 0.1, 200 KB is 0.2, 50 KB is 0.05.
  4. Look at the result at full size before you upload it. Check that a face is still recognisable and any text is still readable.
Compress an image now

Set a target size and compress in your browser. Nothing is uploaded — which matters for ID photos.

Open the tool →

Size conversions, since this trips everyone up

Form saysEnter in MBSuggested width first
20 KB0.02400 px
50 KB0.05600 px
100 KB0.1800 px
200 KB0.21000 px
500 KB0.51600 px
1 MB11920 px

Signatures and documents need different treatment

A scanned signature or a document photo is not a photograph in the sense JPEG was designed for. It is mostly flat white with sharp dark strokes, and JPEG handles hard edges badly — you get grey fuzz around the lines and the file barely shrinks.

Two fixes. First, crop tightly to the signature itself; empty white margins are wasted pixels. Second, if the form accepts PNG, use it — a black-on-white signature as a PNG compresses far better than as a JPG, because lossless compression is extremely efficient on large areas of identical colour. If the form insists on JPG, resize to around 300 pixels wide, which for a signature is plenty, and the size problem resolves itself.

When you still can't hit the limit

If you have resized sensibly and are still over, work through these in order:

  • Crop. Passport-style photos need your head and shoulders, not the room behind you. Cropping away half the frame removes half the data before you compress anything.
  • Reduce dimensions further. Check the form's stated minimum and go to it exactly.
  • Simplify the background. A busy background costs a lot of file size because there is more detail to encode. A plain wall compresses dramatically better — and most ID photo specifications require one anyway.
  • Re-shoot rather than rescue. A photo taken against a plain wall in even daylight will compress far smaller than one taken in a dim, cluttered room, before you do anything to it.

A note on where your ID photos go

The images people compress most are passport photographs, signatures, ID cards and certificates. These are precisely the documents used for identity fraud, and uploading them to an unknown free tool to shave off a few kilobytes means handing a stranger's server a copy of exactly that.

Tools that compress inside your browser avoid this completely — the image is read from your disk into browser memory, re-encoded there, and saved back. You can confirm it by opening developer tools with F12 and watching the Network tab: no upload request should appear when you compress.

Keep your originals

Compression is irreversible. The detail is discarded, and converting the small file back to a larger one recovers nothing. Always keep the full-size original somewhere — forms change their requirements, and you will want to start from the good version rather than re-compressing an already-compressed file, which degrades it further each time.

Frequently asked questions

How do I compress a photo to exactly 100 KB?
Resize it to around 800 pixels on the longest edge first, then compress with a target of 0.1 MB, which is 100 KB. Resizing before compressing is what keeps it looking sharp.
Why does my photo look blocky after compressing?
Because it was compressed without being resized first. Storing thousands of pixels of width in 100 KB forces extreme compression. Reduce the dimensions first and the same target becomes easy to hit cleanly.
What is 100 KB in MB?
0.1 MB. Similarly, 50 KB is 0.05 MB, 200 KB is 0.2 MB and 500 KB is 0.5 MB.
How do I compress a scanned signature?
Crop tightly to the signature, then resize to around 300 pixels wide. Use PNG if the form allows it, since black-on-white line art compresses far better as PNG than as JPG.
Is it safe to compress ID photos on a website?
Only if the tool works inside your browser rather than uploading. ID photos and signatures are exactly what identity fraud needs, so avoid tools that transmit them. Check by watching the Network tab in developer tools for an upload request.
Can I get the quality back afterwards?
No. Compression permanently discards image data. Always keep the full-size original so you can start fresh if requirements change.