Compress JPG to 20KB Online
Government portals and application forms often demand photos under 20KB. Drop your JPG here — the target is pre-set and ImagePilot automatically finds the best possible quality that fits.
Last updated: August 2026
Drop your images here or click to select
Supports JPG, PNG, WebP and AVIF
20KB is the budget where what you are compressing starts to matter more than how you compress it. The same 20KB that renders a signature perfectly legible will render a portrait photograph soft and small. Neither outcome is a tool problem — it is the amount of information in the two images being wildly different, and it is why forms that specify 20KB are usually asking for documents rather than photographs.
Doubling the budget from 10KB buys more than it sounds like. Compression does not scale linearly: the jump from 10KB to 20KB typically means the tool can hold onto the original dimensions where before it had to shrink them, which is a bigger practical difference than the extra quality. If your portal allows 20KB rather than 10KB, take the 20 — you will usually get a file that is the right size in pixels as well as in bytes.
The route to a good result is the same regardless: give the compressor less to encode. Crop away margins, background and anything outside the subject before you start. A tightly cropped image reaching 20KB looks considerably better than a full frame squeezed to the same figure, because every byte is being spent on the part that matters rather than shared with a desk, a wall, or a border.
How to compress a JPG to 20KB
- 1
Crop to the subject first
Trim margins and background. This is the highest-value step at small targets, because it removes pixels rather than degrading them.
- 2
Add your JPG
The 20KB target is pre-filled on this page. Everything is processed in your browser, so nothing is uploaded.
- 3
Let the quality search run
The tool works down through quality settings to find the best one that fits, and reduces dimensions only if quality alone cannot get there.
- 4
Verify against the form
Check both the file size and any minimum pixel dimensions the portal specifies — many forms enforce both, and satisfying one is not enough.
Pro tip: Check whether your form is asking for a photo or a signature, because the same 20KB limit means two completely different jobs. A signature should be captured on plain white paper and cropped tight to the ink, where 20KB is generous. A passport-style photo at 20KB needs a tight head-and-shoulders crop to have any chance of looking acceptable. Forms rarely spell this out, but the field label usually tells you which one you are filling.
Troubleshooting: If the photo comes out too small in pixels, quality alone could not reach 20KB and the tool reduced dimensions — crop more tightly so it does not have to. If the image looks blotchy in flat areas, that is compression working at the edge of what the budget allows; more cropping helps, more compression does not. If you cannot get under 20KB at all, the image almost certainly contains a busy background that is costing you most of the budget.
If the limit is tighter still, Compress JPG to 10KB explains what is realistic at that size. With a little more room, Compress Photo to 30KB and Compress JPG to 50KB produce much better photographs. For signatures specifically, Compress Signature to 20KB. If the form also sets dimensions, Resize Photo to Passport Size handles that half, or use the full Compress Image tool.
Frequently asked questions
How do I compress a JPG to 20KB?
Drop your file into the tool above — the 20KB target is already set. Quality is chosen automatically to land just under the limit, and dimensions are reduced only if quality alone cannot reach it. Cropping first improves the result substantially.
Is 20KB enough for a passport-style photo?
It is workable with a tight head-and-shoulders crop, though the result will be visibly compressed. 20KB is comfortable for signatures and document scans and tight for photographs. If your portal allows 50KB, a face photo looks considerably better there.
Why does cropping help so much at small file sizes?
Because it removes pixels instead of degrading them. Compression has to spend bytes on every part of the image, including background you do not care about. Cropping that away means the whole budget goes to the subject, which is why a cropped image at 20KB beats a full frame at the same size.
Will compressing to 20KB change my photo dimensions?
Only if it has to. The tool tries quality settings first and reduces dimensions by about a third at a time as a fallback. At 20KB that fallback is sometimes needed for photographs and rarely needed for signatures.
Are my files uploaded when compressing?
No. Compression runs entirely in your browser on your own device — nothing is uploaded, stored, or logged, and the tool works with your connection switched off.
Looking for the full-featured version? Open the main Compress Image tool.
Related Tools & Resources
Compress JPG to 10KB – Free Online Tool
Shrink JPG images to 10KB or less for the strictest upload limits on application forms and government portals. Free, private, 100% in your browser.
Compress JPG to 50KB – Fast, Free & Private
Get JPG photos under 50KB without ruining them. The quality is picked automatically to hit the target — free, private, browser-based compression.
Compress JPG to 100KB – Fast, Free & Private
Shrink your JPG files to 100KB or less while keeping them sharp. Everything happens right in your browser, so your photos stay completely private.
Compress Image – Full Tool
Batch compression with per-image quality control and live before/after preview.
Compress JPG for Email Attachments
Need to send photos via email? Quickly shrink your JPG attachments so they fit within email limits. Everything is processed locally for your security.
Passport Photo Resizer – Official Sizes
Getting a headshot ready for a passport or visa application? Resize your photo to standard requirements like 2x2 inches or 3.5x4.5 cm easily and privately.