How to compress a photo to 200 KB and still read the text
Upload forms ask for something under 200 KB, then either reject the file or accept a version where the ID number is a grey smudge. Both failures come from the same mistake: turning down the wrong dial.
Last verified 2026-11-24
The short answer
Set the long edge to about 1200 px, save as JPEG at quality 55–65 or WebP at quality 60, and an A4 page lands around 130–200 KB. Resolution, not the quality slider, is what decides whether the file fits — and it is also what decides whether the text survives.
Tools used in this guide
Why 200 KB is such an awkward number
200 KB is 200,000 bytes as far as most forms are concerned, and that cap was chosen when a 2-megapixel camera was normal. A single A4 page shot at 12 MP needs roughly 900 KB of JPEG to keep its text crisp. At 200 KB the same page can only carry about a fifth of that detail, so something has to give: either pixels, or sharpness. Knowing which one you are sacrificing is the whole trick.
Which dial actually shrinks the file
Measured with Chrome's JPEG encoder — the same one a browser-based compressor uses — on two synthetic A4 pages: a clean scan (white background, dense body text) and a phone photo of the same page (sensor noise, uneven light, slight vignette). Both at quality 70:
| Long edge | Pixels | Clean scan | Phone photo |
|---|---|---|---|
| 800 px | 0.9 MP | 159 KB | 192 KB |
| 1000 px | 1.4 MP | 205 KB | 270 KB |
| 1200 px | 2.0 MP | 275 KB | 375 KB |
| 1600 px | 3.6 MP | 384 KB | 589 KB |
| 2000 px | 5.7 MP | 514 KB | 863 KB |
| 3000 px | 12.7 MP | 913 KB | 1,772 KB |
Then the same 1600 px page, varying only the quality setting:
| JPEG quality | Clean scan | Phone photo |
|---|---|---|
| 40 | 279 KB | 331 KB |
| 50 | 309 KB | 400 KB |
| 60 | 341 KB | 475 KB |
| 70 | 384 KB | 590 KB |
| 80 | 447 KB | 799 KB |
| 90 | 561 KB | 1,290 KB |
Read the two tables together and the pattern is unambiguous. Halving the pixel width roughly halves the file. Dragging quality from 70 down to 40 — which visibly softens every letter — saves only 27% on a text page, and the result looks worse than a properly sized image at quality 70. Text is the worst case for JPEG: every letter is a hard black-to-white edge, and edges are exactly what block-based compression has to spend bits on. A landscape photo responds to the quality slider. A page of text does not.
How small the pixels can go before the text dies
A4 is 210 mm wide, so a page that is W pixels wide carries W ÷ 210 pixels per millimetre. Lowercase letters (the x-height) are about half the font size, and 10 pt type is a 3.53 mm em — so the x-height works out to roughly:
- 800 px wide → 3.8 px/mm → x-height about 7 px
- 1200 px wide → 5.7 px/mm → x-height about 10 px
- 1600 px wide → 7.6 px/mm → x-height about 13 px
- 2480 px wide → 11.8 px/mm → x-height about 21 px (this is what 300 DPI actually means)
Below about 8 px the x-height stops being a letter shape and becomes a smudge, and JPEG ringing adds grey halos around it. In practice 1200 px wide is the safe floor for a text document, 1000 px is workable, and 800 px only survives if the type is large. That is why an honest 200 KB page is usually 1000–1200 px, not 3000.
WebP buys you about a third
Same 1600 px page, encoded as WebP instead of JPEG:
| Quality | WebP | JPEG | Saving |
|---|---|---|---|
| 50 | 195 KB | 309 KB | −37% |
| 70 | 220 KB | 384 KB | −43% |
| 80 | 248 KB | 447 KB | −45% |
At equal quality WebP is 37–45% smaller on text, because it codes sharp edges directly instead of smoothing them into 8×8 blocks. The catch is compatibility: several government and visa portals only accept .jpg and will reject a .webp outright. If the form names .jpg, use JPEG.
Doing it with the compressor
- Open the Image Compressor and pick your photo. It is never uploaded — the encoding runs in your browser, which is also why there is a 5 MB input limit.
- Choose the output format: JPEG for compatibility, WebP if the form does not care.
- Leave quality at 80 and type 200 into the target size field. The tool binary-searches the quality, then steps the resolution down by 18% per pass until the file fits, so it lands under the limit instead of near it.
- Read the line under the result. It prints the final size, the quality it settled on and the pixel dimensions — for example 178 KB at quality 58%, 984 × 1391. If the width fell below 1000 px and the text looks soft, crop the page margins and run it again.
Before you hit submit
- Aim for 190 KB, not 200. Some forms count 1 KB as 1000 bytes, others as 1024; a file at 199 KB decimal is only 194 KiB, but 204,800 bytes fails a 200,000-byte cap. Ten kilobytes of headroom costs nothing visible.
- Check the dimensions, not just the size. Passport and visa forms often demand an exact pixel size — 413 × 531 px for 35 × 45 mm at 300 DPI — and no amount of compression produces that. Crop to the aspect ratio and resize first, then compress.
- Never compress twice. Every save is a fresh lossy pass; re-encoding an already-compressed 200 KB file down to 150 KB is exactly what turns text into mush. Keep the original and re-run from it.
- Zoom to 100% on the ID number, the date and any small print. If those three survive, a human reviewer can read the page.
Frequently asked questions
My photo is already 180 KB but the form still says it is too large. Why?
The form is probably measuring in KiB, or has a stricter internal cap than it advertises — avatars are often 100 KB or 50 KB. Check the unit it shows: 180 KiB is 184,320 bytes. Then set the target lower in the same tool, to 150 or 100, and re-run from your original file.
Is PNG smaller for a scanned document?
No, the opposite. PNG is lossless, so a scanned page stays at 1–3 MB. PNG only wins on screenshots of flat interfaces with few colours; for photos and scans JPEG or WebP is 5–20× smaller.
Does converting to grayscale help?
It saves 10–20% on a clean scan by dropping the colour channels, but it also drops coloured stamps and signatures. Not worth it unless the form explicitly wants black and white.
Can I get a full page under 50 KB?
Rarely, and not readably. At 50 KB a full A4 page is down to roughly 500–600 px wide, where 10 pt text is 4–5 px tall. If the limit really is 50 KB, send two crops of the important areas instead of one unreadable page.
Is the file uploaded to a server?
No. Compression runs in your browser with the Canvas API, so the image never leaves your device. The 5 MB input cap is the browser tab's memory budget, not a server quota.