Compress Image to 20 KB

20 KB is the ceiling on a lot of exam, scholarship and job application portals. Drop a JPG, PNG or WebP and the tool searches for the best quality that still fits, entirely inside your browser — the photo is never uploaded. It does not crop, so a signature shot with wide white margins usually has to be cropped elsewhere first.

  • PriceFree, no signup
  • FormatsJPG · PNG · WebP
  • UploadNever — local tab
  • OutputJPG/WebP, target pre-set to 20 KB

Exam and job portals: what 20 KB can and cannot do

What the form asks forWhat fits at 20 KBThe catch
Passport photo, 200×230Comfortable; quality settles near 70%Get the pixels right first, the cap follows
Signature on white paperFits only after the empty margin is croppedCompression alone never gets there
Photo straight from a phoneReaches roughly 200–400 px wideResize before setting the target, not after
Scanned certificateText survives, rubber stamps go muddySend a PDF instead if the portal takes one
PNG chosen as outputNo compression happens at allSwitch the format menu to JPG
Photo plus signatureOne per run; the 20 KB box persistsDrop the second file and compress again
✨ See what this tool can do
Before
Before
✅Reduce image file size without losing visible quality
🎯Reduce images for faster website loading and better Core Web Vitals
🔒100% private — runs in your browser
📦
After — processed
🖼️ Try with a sample image

Original

Original

Compressed

Compressed

Leave empty to use quality slider. We'll automatically find the best quality to hit your target size.

Compress an image to 20 KB without sending it anywhere

This page does one job: get your file to 20 KB or less. The target-size field is already set to 20, so you only have to pick a file. The compression runs inside your browser — nothing is uploaded and no account is needed.

📋

Where the 20 KB limit comes from

Signature and photograph uploads on many exam and job application portals sit in the 20 KB to 50 KB range. Some university and scholarship forms reject anything above 20 KB for a scanned signature. Directory and CRM avatar fields frequently enforce a 20 KB limit to keep record previews light.

⚠️

Why the file keeps going over 20 KB

Uploading a straight-from-phone photo (often 3 MB or more) and expecting quality alone to bridge the gap. Scanning at high DPI: a 300 DPI scan of a signature is far too many pixels for 20 KB. Forgetting that the target-size box only applies to JPG and WebP output.

🔒

Private by design

There is no upload step and no server round trip. The image is decoded, re-encoded and offered back to you as a download, all inside the page. That also means it keeps working when a locked-down portal or an inbox is the only thing you have access to.

What this page does — and what it does not

A 20 KB target is a narrow job. Here is exactly what is, and is not, on offer.

🎯

Hits an exact 20 KB target

The target is pre-filled. The tool searches quality until the file lands at or under 20 KB.

🔒

Nothing is uploaded

Decoding, re-encoding and download all happen inside the page. No server round trip, no account.

📐

Keeps your pixel dimensions

Target-size mode only tunes compression quality. It will not shrink the image for you — resize first if the pixel count is the problem.

1️⃣

One image at a time

This is a single-file page. For a whole folder, use the Bulk Image Processor instead.

🔒
100% Private
Files never leave your browser
⚡
Browser-Based
No installs, no uploads
💯
Free Forever
No sign-up, no watermarks
🚀
No Signup
Start instantly, no account

How to compress an image to 20 KB

1

Step 1

If it is a scan, re-scan at a lower DPI or crop tightly to the signature area first.

2

Step 2

Use the Image Resizer if the long edge is over 1200 px — 800–1000 px is usually enough for a form photo.

3

Step 3

Upload here, leave the target at 20 KB, and choose JPG output.

4

Step 4

Compress and check the reported size. Aim a little under the limit to leave headroom for server-side checks.

Compressing to 20 KB in Detail

Note on mechanics: the tool re-encodes your file at up to eight JPEG/WebP quality levels between roughly 10% and 95% and keeps the smallest result that lands at or under 20 KB. It never changes pixel dimensions. 20 KB is where cropping starts to matter more than quality: removing empty background buys more than any further compression step.

The exam and job portal convention

The 20 KB figure is a tradition rather than a technical requirement. Application portals were built when submissions arrived over slow links, and the number has been copied from form to form ever since. Because it is enforced by a simple byte comparison, it is unforgiving: a file at 20.4 KB fails exactly as hard as one at 2 MB. That is why the useful skill here is landing slightly under, not exactly on.

Why a scanned signature is the hard case

A signature is mostly pen strokes on white space. At 300 DPI an A4-page scan is roughly 2480×3508 px — about 8.7 million pixels. Compressing that to 20 KB leaves about 0.002 bytes per pixel, which is not enough to represent strokes as anything but mush. Crop to the signature box and scan at 150 DPI instead, and the same 20 KB looks sharp.

Checklist before you upload for a 20 KB target

  • Signature or form photo cropped to just the relevant area.
  • Scans done at 150 DPI, not 300 or 600.
  • Long edge between 800 and 1000 px.
  • Format JPG — the target-size box does nothing for PNG.

Leaving headroom under the ceiling

Portal checkers vary in how they measure. Some round up to the nearest KB, some compare against 1024-byte kilobytes instead of 1000-byte ones, and a few add a header length before comparing. Targeting 18–19 KB costs almost no visible quality and removes the entire class of borderline rejections.

Frequently Asked Questions

Target a little under. Some portals measure in a way that rounds up, and a file of 20.4 KB can be rejected. 18–19 KB is a safer landing zone.
At 20 KB you are near the practical floor for a legible signature. Crop to just the signature before compressing; removing empty background buys you much more quality than lowering compression further.
You can, but the 20 KB target will not apply. PNG ignores the quality value, so the size stays whatever the pixel data requires.
Yes, whenever the portal also states a pixel size such as 200×230 or 3.5×4.5 cm. Compressing first and resizing afterwards throws away the quality you just paid for, because the resizer re-encodes again. Fix the geometry first, then let this page spend its eight quality passes on the final size.
A phone photo of pen on paper is a continuous-tone image, and JPEG spends its bits reproducing the paper texture and lighting gradient rather than the stroke. At 20 KB the stroke stops being black. Raising the contrast, or scanning in black-and-white mode, gives the encoder far less to describe.
It does not crop anything — the canvas matches the input dimensions exactly. If the sheet of paper fills the frame, the white margins eat most of the 20 KB budget. Crop to the ink in a crop tool, then come back here, and the same byte count buys visibly crisper strokes.
It will, as long as the image is small enough for any quality to fit. The loop keeps the largest encoding that did not exceed the target, so the result sits at or just below 20 KB. When even the lowest quality overshoots, you get the smallest attempt plus a label telling you how far over it is.
No. The file is read with the browser's file API, drawn onto a canvas in the page, and the download link is a local blob URL. Nothing is transmitted. That matters for identity documents, which is why the whole compression path was built without a server component.
You can select it, but the 20 KB target will then be ignored, because PNG has no quality setting to search. A photographic PNG at phone resolution is usually 2–6 MB, nowhere near the cap. Choose JPG for photos and reserve PNG for flat graphics that are already small.