Compress Image to 20KB Online
Compress JPG, PNG, and WebP images to 20KB or less directly in your browser. No uploads, no signup, and no server storage.
Your images are processed in your browser and never uploaded to our servers.
Drop your image here
or click to browse — JPG, PNG, or WebP
Your image is processed locally in your browser and never uploaded.
How to Compress an Image to 20KB
- Choose or drop your jpg, png, webp image file.
- Use the prefilled 20KB target and adjust compression mode if needed.
- Review the compressed size, quality, and output dimensions in your browser.
- Download the WebP file when the result is within the selected target.
What a 20KB Image Budget Actually Buys
20KB is the size most commonly requested by online application forms for passport-style photographs. It is tight but workable: a headshot at roughly 400×500 pixels usually lands in this range while remaining clear enough for a human reviewer to identify the subject.
The distinction that matters at 20KB is between simple and complex images. A face against a plain background is simple, and compresses gracefully. The same face against a crowded street will need either a crop or a resize, because the background is competing for the same limited bytes.
20KB images are useful for strict upload forms, ID portals, small avatars, and profile photos where larger files are rejected.
Working at the 20KB Floor
20KB is the strictest limit in common use, and it is strict enough that the usual advice stops applying. At larger targets you can treat compression as an adjustment; at 20KB it is a constraint that shapes every other decision, starting with what is in the frame at all.
The images that succeed here have low information content by nature — a face on a plain background, a signature on white, a simple logo. Anything with texture, pattern, or a detailed background will need to lose it, either through a tighter crop or a substantial reduction in dimensions. Trying to preserve a complex scene at 20KB produces a file that is technically compliant and visually useless.
Typical Results at 20KB
| Source image | What to expect |
|---|---|
| Passport-style headshot, 600×800 | Around 18–25KB at balanced quality |
| Plain-background portrait, 400×500 | Comfortably 12–20KB |
| Product photo on white, 800×800 | Usually reaches 20KB with mild resizing |
| Outdoor photo, 3000×2000 | Requires resizing to about 500px wide |
Who Needs Images at 20KB
Government exam portals
Competitive exam and recruitment sites commonly specify a photo between 20KB and 50KB with fixed dimensions. 20KB is the strictest end of that range and the one that causes the most rejected uploads.
Visa and immigration forms
Online visa applications frequently combine a small file cap with a required aspect ratio, so the photo must be cropped correctly before compression rather than after.
Employee directory photos
Internal HR systems often set small per-photo limits because they store thousands of records and render them in list views.
How Each Input Format Behaves
This page accepts JPG, JPEG, PNG, and WebP inputs, which covers essentially every image you are likely to encounter outside of specialist workflows. Each behaves a little differently under compression, and the tool adapts to what you give it.
Output is always WebP. That choice is deliberate: WebP reaches a given target size at higher visual quality than JPG or PNG can, which means the file you download looks better than the equivalent-sized file in an older format would.
Upload JPG, JPEG, PNG, or WebP images. Downloads are optimized WebP files.
JPG sources are already lossy
A JPG has been compressed once already. Converting it to WebP is a second lossy pass, so always start from the highest-quality version you have.
PNG sources compress dramatically
PNG is lossless and therefore large. Converting a PNG to WebP frequently produces the biggest reduction you will see, especially for screenshots and graphics.
WebP sources have less to give
An existing WebP is already efficiently encoded, so reaching a much smaller target usually requires reducing dimensions rather than quality alone.
Recommended Settings for 20KB
Use Balanced mode with resize enabled at roughly 500px on the long edge. If the form also specifies dimensions in pixels, crop to those dimensions first, then compress — compressing before cropping wastes bytes on parts of the image you are about to discard.
For very small targets, start with a smaller image width and use the Smallest File mode if the image has lots of detail.
Common Problems at 20KB and How to Fix Them
The form rejects the file despite the size being right
Many portals check dimensions and aspect ratio as well as file size. Read the full specification before assuming the byte count is the problem.
Skin tones look patchy
Smooth gradients such as skin are where aggressive compression shows first. Try Best Quality with a smaller resize rather than Smallest File at full size.
Scanned documents blur
A scanned page is mostly small text and needs its pixels. If a document must reach 20KB, convert it to greyscale first, which cuts the data substantially before compression starts.
Other Image Size Compressors
Same-size pages
FAQs
Can I compress an image to 20KB exactly?▼
The tool aims for 20KB or less. Some images may finish slightly below the target, and very detailed images may need stronger compression or resizing.
Can I compress images below 20KB?▼
Yes. Choose a smaller target page or use stronger compression settings when you need a file below 20KB.
Are my images uploaded to a server?▼
No. Images are processed locally in your browser and are never uploaded to our servers.
Will compression reduce image quality?▼
Compression can reduce visual quality, especially at very small targets. The tool balances file size, quality, and dimensions to keep the result usable.
What happens if my image cannot reach 20KB?▼
You will see a helpful message with options such as reducing width, using a stronger compression mode, or choosing a higher target size.