Resize Photo to 20KB Online for Free
Use this 20KB photo and signature resizer when an exam, visa, scholarship, or government portal asks for a very small JPG upload.
You can compress JPG to 20KB, cap the width and height, and strip metadata in your browser so the file stays private on your device.
All tips come from real-world submissions for UPSC, SSC, and Schengen appointments, so you can upload once and move on.
Quick Presets
Switch to a different preset size.
Last updated 2026-05-06 • 8 min read
Why 20KB is still a hard limit
Many public-sector systems still run on code written for dial-up era bandwidth. Their upload scripts read file headers and reject anything larger than 20KB.
Knowing that limitation reframes the goal: consistency beats perfection. A predictable 19.6KB JPEG wins over a slightly prettier 35KB version that fails validation.
- Legacy infrastructure budgets have not increased
- Support teams standardised on 20KB for archives
- Validators often only understand baseline JPEG
20KB photo size: width and height
There is no single pixel size that always equals 20KB. A simple portrait at 350 x 350 px may compress below 20KB, while a noisy camera photo at the same dimensions may still be larger.
Most strict upload portals pair the KB limit with a pixel rule, such as 300 x 300 px, 350 x 350 px, or 360 x 440 px. Match the required dimensions first, then compress to 20KB.
- Use 300-420 px square for many exam portals
- Use 360 x 440 px or similar when the form asks for a passport-style crop
- Keep JPG selected unless the portal explicitly accepts another format
How to keep quality at 20KB
A 20KB photo is extremely small, so quality depends on preparing the image before compression. A clean background, tight crop, and smaller pixel dimensions make the final file clearer.
If the output looks blurry, reduce empty background and match the required dimensions instead of forcing a large phone photo into 20KB.
- Crop tightly around the face or subject
- Use a simple white or light background when allowed
- Avoid very large dimensions for a 20KB target
- Keep JPG selected for most exam and visa uploads
Common upload requirements for 20KB photos
Forms may describe this limit as resize photo to 20KB, compress JPG to 20KB, image under 20KB, or photo size must be 20KB or less.
Many strict portals also validate dimensions, format, and filename. If your file is under 20KB but still rejected, check those rules before compressing again.
- Exam and scholarship portals often need JPG below 20KB
- Visa and passport forms may require a passport-style crop
- Some portals reject progressive JPG or large metadata
- Simple filenames are safer than names with spaces or symbols
JPG, PNG, WebP, and HEIC at 20KB
JPG is usually the safest format for 20KB uploads because it compresses portraits better than PNG and is accepted by most older portals.
PNG often struggles to reach 20KB unless the image is very small. WebP can be efficient, but many government and exam forms still ask specifically for JPG or JPEG. HEIC files from iPhones should be converted first if the portal does not accept them.
- Choose JPG for exams, visa forms, and government portals
- Use PNG only if the form specifically asks for it
- Use WebP only when the portal confirms support
- Convert HEIC to JPG before uploading iPhone photos
Before you upload the 20KB image
After downloading, check the saved file size in your file manager. Use the actual Size value, not only Size on disk, because some operating systems round storage blocks differently.
If the portal rejects the file, confirm the required dimensions, format, background, and filename. The issue is not always the KB size.
- Confirm the saved file is 20KB or less
- Use a simple filename like exam-photo-20kb.jpg
- Match the exact width and height required by the form
- Keep the original photo for a cleaner re-export later
Final submission checklist
Double-check the portal instructions for naming rules and background colours before you upload.
If you see the same error repeatedly, clear the portal cache or submit in an incognito window—some systems cache the first failure response.
- Confirm the file shows under 20KB in your OS
- Verify background tint and clothing requirements
- Note the browser and timestamp used for the upload
How to resize photo to 20KB
Four focused steps to make a 20KB JPG file that clears strict exam and visa validators.
- Upload your photo: Drop your JPG, PNG, WebP, or HEIC image into the tool. Everything processes in the browser.
- Match the portal dimensions: Enter the exact width and height from the instructions (for example 350 × 350 px).
- Set the 20KB target: Pick the 20KB preset or type 20 in the KB field, then keep JPEG selected unless WebP is explicitly supported.
- Inspect and download: Compare the original and output, download the file, and confirm the saved image is 20KB or less.
Dev recipes
Expand copy-ready commands
Centres, strips metadata, and enforces a 19.8KB ceiling.
Copy recipe commandmagick input.jpg -resize 360x440^ -gravity center -extent 360x440 -strip -define jpeg:extent=19800 output-20kb.jpg
Creates a compact WebP and prints the resulting byte size for record keeping.
Copy recipe commandSIZE=$(cwebp -q 66 -metadata none input.jpg -o output-20kb.webp >/dev/null && stat -f%z output-20kb.webp); echo Final-bytes:$SIZE
Node.js script that throws if the final file exceeds 20KB.
Copy recipe commandconst sharp = require('sharp'); const fs = require('node:fs'); await sharp('input.jpg') .resize({ width: 360, height: 440, fit: 'cover' }) .jpeg({ quality: 62, chromaSubsampling: '4:2:0' }) .toFile('output-20kb.jpg'); if (fs.statSync('output-20kb.jpg').size > 20480) throw new Error('Still above 20KB');
Other Presets
20KB photo FAQ
How do I resize a photo to 20KB online?
Upload the image, set the target size to 20KB, keep JPG selected for best compatibility, and download the compressed file after previewing the result.
What is 20KB photo size in width and height?
20KB is a file-size limit, not a fixed pixel dimension. Many portals ask for 300 x 300 px, 350 x 350 px, or 360 x 440 px, so match the portal's pixel rule first and then compress to 20KB.
Can I compress JPG to 20KB?
Yes. JPG is usually the best format for reaching 20KB because it supports strong photo compression while keeping faces readable.
How do I make an image under 20KB?
Set the target to 20KB, use JPG for photos, crop extra background, reduce dimensions if needed, and strip metadata before downloading.
Is 20KB enough for exam or visa photos?
Yes, many strict exam, scholarship, and visa portals still request 20KB photos. The image must be cropped and sized carefully to stay readable.
Can I resize a signature to 20KB?
Yes. Upload the signature image, set the target to 20KB, keep JPG selected if the portal requires it, and download the compressed signature file.
Which portals still insist on 20KB?
UPSC OTR, SSC CHSL, multiple state police recruitments, and several embassy visa forms still enforce 20KB hard limits.
My scan is 200KB. Can I still reach the target?
Yes. Crop tighter, resize to the requested pixel dimensions, and compress in two passes. Most scans drop below 19KB after those steps.
Why does the portal say invalid image?
Many validators reject progressive JPEGs or files with EXIF data. Export as baseline JPEG and strip metadata.
Should I keep a high-quality backup?
Always archive the original. If requirements change later, you can regenerate a cleaner export quickly.
