Compress Image to 20 KB
Need a photo that is guaranteed under 20 KB? The target size below is already set. The tool keeps lowering quality — and switching to a smaller or more efficient format when that helps — until the saved file fits. Everything runs inside your browser, so the image is never uploaded.
Drag & drop images here, or click to choose
Supports JPG / PNG / WebP / GIF / AVIF / SVG, no file size limit
Pre-filled with 20 KB for this page. Change it if the form asks for another figure.
📁 Drag a whole folder to batch add · ⌨ Ctrl+V to paste images · 📎 No limit on quantity · Zero upload, processed locally
What 20 KB is actually used for
Twenty kilobytes is a deliberately tiny ceiling. It is the size you need when a form has an attachment limit, a mail client is stingy about quotas, or a page has to download instantly on a bad connection. In practice 20 KB suits:
- Avatar and profile pictures that sit in a list or a comment thread
- Small product thumbnails on a catalogue page
- Form photos where the portal caps each attachment at a couple of dozen kilobytes
- An icon or a diagram that has to ship with an email
- Fallback images loaded before the full-size file arrives
Why some pictures refuse to reach 20 KB
This is the part most people get wrong. Compression quality is not a slider you simply wind down until the number disappears - every JPEG is a set of instructions describing pixel blocks, and some content simply costs more bytes.
Pictures made of smooth gradients - a sky, a soft portrait, an out-of-focus background - repeat themselves, so they compress hard. Pictures made of grain, sharp text or hard edges never repeat, so the instruction list stays long no matter how low the quality goes.
| Image type | Original | Result at 20 KB target | What happened |
|---|---|---|---|
| Smooth 1600×1200 photo | 213.0 KB | 16.2 KB | Reached target, SSIM 0.987 - barely visible loss |
| 600×600 avatar | 35.3 KB | 18.0 KB | Reached target with quality to spare |
| Screenshot with body text | 214.0 KB | 30.8 KB | Too small - still over target at the lowest quality |
| Ordinary photo from a phone | 430.2 KB | 20.5 KB | Just missed - lowest quality used, still half a kilobyte over |
Look at the last two rows. The screenshot could not get under the limit at all, and the ordinary photo only just missed it at 20.5 KB - the tool had already dropped to the lowest quality available and still landed a fraction over. That is normal at 20 KB: the ceiling is low enough that a picture straight out of a phone usually needs its pixel dimensions cut as well. If your file lands in either of those rows, the next section is what to do about it.
If your file will not go under 20 KB
Keep quality where it is and cut the dimensions instead. Two hundred pixels wide with honest quality looks better than two thousand pixels wide turned to mush, and it hangs together under 20 KB.
- Open the image resizer and set the width to something you can afford - 320 px is plenty for an avatar, 480 px is reasonable for a thumbnail.
- Convert to WebP. WebP encodes the same picture smaller than JPEG at equal quality, which often alone buys you the missing kilobytes.
- Come back here, set the target size to 20 KB and compress the resized file.
The DPI changer is worth a look too, because a 300 DPI file carries metadata that inflates the byte count without adding any visible detail.
How to compress an image to 20 KB
- Add the picture - drag it in, paste with Ctrl+V, or drop a whole folder if you have several.
- The target is already set to 20 KB in the panel below. You can change it if the form asks for a different figure.
- Press Start Compressing. The tool lowers the quality step by step - and moves to a smaller or more efficient format when that helps - until the saved file fits under 20 KB.
- Download the result. The page tells you honestly what came out, including the case where the image could not get that small.
Nothing leaves your device
Compression runs in your browser, not on someone else's server. The file is decoded and re-encoded by JavaScript inside the tab you are already looking at, so nothing is transmitted, nothing is stored, and the page keeps working without a network connection once it has loaded. There is no watermark, no registration and no download limit.
See the privacy policy for what the site collects and what it does not.
Frequently asked questions
Why can't my photo get below 20 KB?
Because some pictures simply do not compress that far. JPEG describes every block of pixels, and noisy grain, sharp text and hard edges are expensive to describe. In testing, a 214 KB screenshot of body text bottomed out at 30.8 KB even at the lowest quality, while a 213 KB smooth photo reached 16.2 KB. If your file refuses to go under the target, the problem is the picture, not the tool.
What should I do when 20 KB is impossible for my image?
Lower the resolution instead of the quality. A 400 by 400 avatar holds far more detail under 20 KB than a 1600 by 1200 photo squeezed to the same byte count. Use the resizer to cut the pixel dimensions first, then compress again - you will get a sharper result at the same size.
Is 20 KB small enough for a passport or visa photo?
For many online forms yes, but the required pixel dimensions matter more than the file size. A 20 KB file that is only 100 pixels wide is useless; 20 KB at 300 by 300 is a usable thumbnail. Check the exact dimensions the form asks for before you worry about the byte count.
Does compressing to 20 KB damage the picture?
It does reduce quality - that is the trade. The tool stops as late as it can, so the file lands just under your target rather than at the lowest quality available. For text screenshots and line art the damage is much more visible than for smooth photos, which is why those are the images that struggle to reach 20 KB.
Do I need to upload my image to hit 20 KB?
No. The whole compression happens inside your browser tab, so the picture never leaves your device. It works without a network connection once the page has loaded, and there is no watermark and no signup.
Pick your target size
- Compress Image to 50 KBThe middle ground - fits most form and email attachment limits.
- Compress Image to 100 KBThe most common limit on government, visa and job application forms.
- Compress Image to 200 KBFor CMS uploads and image-heavy forms that allow a roomier file.