100% Free In-browser Exact 20KB target

Resize Image to 20KB Free Online

Automatically compress images to under 20KB. Ideal for passport photos, form uploads, and applications with strict file size requirements. No upload required.

Drop images here or click to browse

JPG, PNG, WebP • Automatically compressed to ≤ 20KB

Accepts: any image
Output: .JPG ≤ 20KB
Images are progressively compressed (quality 0.9 → 0.1) until file size reaches ≤ 20KB. Output is always JPG for smallest file size.
Never uploaded·How to use this tool
0 files

Compress to 20KB in 3 steps

1

Upload images

Select your images. Supports JPG, PNG, WebP and other common formats.

2

Auto-compress

The tool progressively reduces JPG quality until the file is under 20KB.

3

Download ≤ 20KB

Download your compressed images as JPG files under 20KB.

Hit any file size target automatically

No guessing the right quality level. The tool iterates from high quality downward until the output fits under your ceiling. Guaranteed result — never a file larger than the target.

100% Private
Files never uploaded
Always Free
No account needed
Instant Results
No upload wait time
No Limits
Batch process freely
Feature JustDownSize Others
Price Always free Paid plans
File uploads Never uploaded Sent to server
Daily limit Unlimited 5–20/day free
Account needed No signup Registration
Watermarks None, ever On free tier

Hit Exact File Size Targets Without Guessing

Automatic Quality Iteration

Rather than asking you to guess a quality level, the tool starts at high quality and steps down automatically until the output file fits within your target size — typically 20KB.

No Upload Required

The iteration loop runs entirely in your browser. Files never leave your device during the automated quality search.

Dimension Scaling Included

If quality reduction alone can't hit the target, the tool also scales down image dimensions. This two-lever approach reaches very small targets that quality adjustment alone can't achieve.

Strict Size Ceiling

The output is guaranteed to be at or below the target size. Useful for platforms with hard upload limits that reject files even 1KB over the cap.

JPG, PNG, and WebP Support

Works across the three most common web image formats. The quality iteration algorithm adapts to each format's encoding characteristics.

Instant Download

Download the compressed image as soon as processing completes. No queue, no account, no waiting for a server to respond.

Who Needs Exact File Size Targets

Government and Official Forms

Indian government portals (SSC, UPSC, railway applications), passport photo uploads, and official document portals routinely require photos under 20KB or 50KB. Manual quality guessing is slow — automated iteration hits the target in seconds.

Job Application Portals

HR platforms and recruitment systems often cap photo uploads at 20KB, 50KB, or 100KB. Applicants upload phone photos at 3–5MB and get hard rejections. This tool eliminates the trial-and-error.

Passport and Visa Photo Requirements

Consular portals specify exact file size limits alongside pixel dimensions. A photo that meets the pixel requirement but exceeds the file size cap gets rejected regardless.

Student and Academic Portals

University admission systems, exam registration portals, and scholarship applications frequently impose 20–50KB photo limits. Students with smartphone photos need a reliable way to hit the exact ceiling.

Frequently asked questions

Many government forms, job applications, educational portals, and passport/visa applications require profile photos under 20KB. This tool automates the compression to meet that requirement without manual trial and error.

For very large images, the tool compresses to minimum JPEG quality (about 5%). If even that isn't enough, we additionally scale the image down in 10% increments until the target is reached. The output will always be under 20KB, but very large images may look noticeably degraded.

Always JPG — it achieves the smallest file sizes for photographs. PNG files can rarely reach 20KB without significant quality loss.

No. All processing happens in your browser using the Canvas API. Your images never leave your device.

Yes! Use our MB to KB converter which lets you set any target size between 10 KB and 999 KB.

Yes. Select multiple images and all will be processed in sequence. Download as a ZIP when done.

Compress Image to 20KB — The Automated Way to Meet Passport Photo Requirements

A 20KB file size limit is not a number someone chose at random. It shows up constantly on government portals, university application forms, and passport photo upload systems because it represents a practical ceiling for storing thousands of small profile images efficiently on aging server infrastructure. The problem is that modern smartphone cameras produce photos between 3MB and 12MB. Getting from there to 20KB manually — through trial and error with a quality slider — is genuinely tedious. That's what this tool automates.

Who actually needs images under 20KB

The most common use case is passport and visa applications. The Indian passport seva portal, the UK visa application system, and numerous similar government platforms specify a 20KB maximum for the uploaded photograph alongside dimension requirements (typically 200×200 to 350×350 pixels). Failing the file size check on submission means your application is rejected before it's reviewed — which is why the limit frustrates so many people.

Beyond passports, 20KB limits appear on competitive exam registration forms across India (SSC, UPSC, banking exams), university application portals, employee onboarding systems, and voter ID applications. The specific portals vary but the requirement is consistent: a recognizable face photo in a file under 20KB.

How the compression algorithm hits the target

The tool works through two phases. In the first phase, it re-encodes your image as a JPEG starting at quality 0.9 and steps down by 0.05 increments — 0.85, 0.80, 0.75, and so on — until the output file is at or below 20,480 bytes (20KB exactly). JPEG is used because it achieves far smaller file sizes for portrait photographs than PNG at the same perceptual quality level.

If quality reduction alone can't reach 20KB (which happens with high-resolution images even at minimum quality), the tool enters the second phase: it scales the image down to 90% of its dimensions and tries the full quality sweep again, then 80%, 70%, and so on. This means virtually any photo can be compressed to 20KB. A 4000×3000 passport photo that's 5MB will get there — the output may be 200×150 pixels at low quality, but it'll be under 20KB and recognizable enough for most form requirements.

Output format: always JPG

The output is always a JPG file. PNG simply can't reach 20KB for a portrait photograph without being compressed so aggressively the format becomes larger than JPEG anyway. JPEG's DCT-based encoding is specifically optimized for photographic content, and at small file sizes it consistently outperforms PNG by a factor of 2–5x. The JPG format is also universally accepted by the portals that impose the 20KB limit — if a portal requires PNG specifically, that's unusual enough to be stated explicitly in their instructions.

The whole process runs in-browser. Your photo is read into memory, encoded via the Canvas API's toBlob method, and returned as a downloadable file. Nothing leaves your device. If you need a different target size — say 50KB or 100KB — the MB to KB compressor lets you dial in any value from 10KB to 999KB. For general compression without a strict target, the image compressor gives you direct quality control. Need to adjust the dimensions first? The image resizer handles that before you compress.

When 20KB produces unacceptable quality

For some use cases — a profile photo for a professional directory, an image in a job application — 20KB can look noticeably compressed. The file meets the requirement, but the output doesn't look great. In those situations, check whether the portal enforces a hard 20KB limit or just recommends it. Many government portals specify "maximum 20KB" but accept files up to 50KB in practice. If there's any flexibility, using the MB to KB tool to target 30KB or 40KB instead usually produces meaningfully better quality while still meeting the spirit of the limit.

Where 20KB is the genuine hard cutoff, make sure your original photo is well-lit and not heavily patterned — solid backgrounds compress much better than busy textures. A passport-style headshot on a white background will reach 20KB at higher quality than a photo with a detailed garden scene behind you. If quality matters, remove the background first (using the background removal tool) before compressing. Cropping the photo tightly around the face before running the compressor also helps — fewer pixels to encode means the same 20KB budget buys more visible detail in the face itself, which is the part the portal reviewer is actually looking at.