Compress image to 20KB
Squeeze a signature, a small ID photo or a thumbnail below 20 KB without installing anything. The work happens privately inside your browser and even works offline.
Your files never leave your device
1 KB = 1,000 bytes, so the result also fits limits that count 1 KB as 1,024 bytes.
Drop images to compress
JPG, PNG, WebP or AVIF, as many as you like. They stay on your device.
You can also paste files with Ctrl+V.
In short
Add the image: Maximum file size is already set to 20 KB. The tool searches for the best quality below 20,000 bytes and shrinks the dimensions when it has to. Expect a photo to fit at roughly 300 to 600 pixels on its long side.
How to compress an image to 20 KB
- Before you start, crop the picture to what matters, the ink of a signature or the face in a photo; every pixel of empty margin costs bytes.
- Drop the file onto the page or tap Choose images. The 20 KB limit is filled in, and Reduce dimensions if needed is on.
- If you know the size you want, type its long side in Maximum width or height, for example 400 for a small photo, so you decide the dimensions rather than the tool.
- Press Compress images, check that the size shown is below 20 KB, and press Download, or Share on a phone.
Why 20 KB means a smaller picture
Twenty kilobytes is 160,000 bits. Spread over a 12-megapixel photo, that is barely one bit for every 75 pixels, far too little for JPG, WebP or any other format to draw faces and edges. At around 400 × 400 pixels the same budget allows about one bit per pixel, which is enough for a clear, if small, picture.
So for this target, reducing dimensions is not a fallback but the main step. The tool first tries lower quality at the original size and only then scales down; typing your own Maximum width or height skips that guesswork and lets the quality search spend all 20 KB on a size you picked.
Signatures are the easy case. Dark strokes on white paper are mostly flat areas, and flat areas compress extremely well, so a signature cropped to 300 to 500 pixels wide often needs only a few kilobytes.
Frequently asked questions
How do I compress a signature to 20 KB?
Photograph the signature in daylight on white paper, crop it to the ink, then compress it here. Around 400 pixels wide is plenty for an online form, and at that size the file normally weighs a few kilobytes. If the paper looks grey in the photo, brighten it first, because a clean white background compresses best.
Can I compress an image to 20 KB without losing quality?
Not a full-size photo: turning 3 MB into 20 KB always costs detail, mostly in the form of fewer pixels. What you can keep is how the picture looks at the size it will be shown. A thumbnail or form photo is rarely displayed larger than 200 to 400 pixels, so a 400-pixel version at good quality looks just as sharp there as the original.
My form accepts 20 KB to 50 KB. What should I type?
Type 50, the upper end, so the picture keeps as much detail as possible; larger pictures usually land a little under it. For a 10 to 20 KB range, type 20. If you end up below the minimum, the image has too few pixels: clear any value you typed in Maximum width or height, or start from a higher-resolution original.
What dimensions fit in 20 KB?
As a rough guide for JPG, a face photo of 300 to 400 pixels per side fits at good quality, and 500 to 600 pixels is possible when the background is plain. A signature of about 400 × 150 pixels is far below the limit. Busy backgrounds, hair and foliage need more bytes per pixel, so those pictures end up smaller.
Why does the result say the dimensions were reduced?
Quality alone couldn't bring the picture under 20 KB, so it was scaled down to fit, as Reduce dimensions if needed allows. The new width and height are shown next to the file. To pick the exact size yourself, turn that option off and type a value into Maximum width or height.
Is 20 KB small enough for a website thumbnail?
Yes, it is a comfortable budget for a product or article thumbnail of about 300 to 400 pixels. Choosing WebP as the Output format usually gives a cleaner result than JPG at the same 20 KB, and all current browsers show WebP. Compress the whole set of thumbnails at once and save them with Download all as ZIP.
Will a transparent signature get a white background?
Only if it is saved as JPG, which cannot store transparency, so see-through areas are filled with white. That gives dark ink on white, which is what most forms expect anyway. Keep Output format on PNG or WebP if you need the transparent background, for example to place the signature on a document.
Where a 20 KB limit is common
The tightest limits usually apply to the smallest pictures: signatures, thumb impressions and small passport-style photos on exam, recruitment and banking forms, plus avatar and thumbnail slots on websites and older systems. Because the picture is displayed small anyway, a well-prepared 20 KB file looks perfectly fine to whoever reviews it.
- Signature: about 300 to 500 pixels wide, black or blue ink, white background.
- Small face photo: about 300 × 400 pixels, cropped to head and shoulders.
- Website thumbnail: 300 to 400 pixels, saved as WebP or JPG.
- Avatar or profile icon: 200 to 400 pixels square.
When the result is too large or too small
If the tool reports that it couldn't get under the maximum size, it shows the smallest size it managed; check whether Reduce dimensions if needed was switched off, or choose a smaller Maximum width or height yourself. If the file comes out far below the limit and the form also sets a minimum, the source picture is simply small, which a higher-resolution scan solves better than any setting.
Colors are converted to sRGB during compression, so a signature in blue ink keeps its blue on every screen. For somewhat larger allowances, see how to compress an image to 50 KB or use the main image compressor with your own settings.
How your files stay private
Lumofile runs this tool with JavaScript and WebAssembly inside your browser tab. Your files are read from your disk, processed in memory and saved back to your device. Nothing is uploaded: open your browser's network panel while you use the tool and you will see no upload request.
Presets
Related tools
- Resize image Change image dimensions in pixels, percent or presets, one file or hundreds, without uploading.
- Image converter Turn JPG, PNG, WebP, AVIF, GIF, BMP, ICO and SVG files into JPG, PNG, WebP or AVIF.
- HEIC to JPG Convert iPhone HEIC photos to JPG or PNG in bulk, with GPS removed, without uploading them.
- Video compressor Shrink a video to fit Discord, WhatsApp or email, right in your browser.
- Compress PDF Shrink a PDF with sharp text, or bring it under a size like 1 MB, without uploading it.
- Image to text Extract printed text from photos and screenshots with OCR in your browser, then copy it or save a .txt.
Guides
- iPhone HEIC photos won't open on Windows: 3 fixes Photos copied from an iPhone arrive as .HEIC files, and Windows often shows an error or a blank thumbnail instead of the picture. Here is why, and three ways to fix it for good.
- How to resize a photo to under 100 KB for online forms Application portals often reject photos above 100 KB, or demand exact pixel sizes. Here is how to meet both rules without making the picture blurry.
- How to compress an image to 20 KB A 20 KB limit is tiny: about the size of this page of text. It is common for signature uploads and small passport-style photos, and it is achievable if you control pixel size as well as quality.
- How to compress an image to 50 KB Many application and exam portals cap photos, signatures and ID scans at 50 KB. This guide shows how to hit that number, what pixel size to aim for, and why a file sometimes still gets rejected.
- How to compress a PNG without losing quality PNG files can often be made smaller with no visible change, and sometimes with no change at all. Here is how lossless optimization works, how much it saves, and what to do when it is not enough.
- How to reduce image size in KB to any target Whether the limit is 100 KB, 300 KB or 800 KB, the method is the same. Understand the three things that decide file size, then reduce them in the right order to keep the picture looking good.
Last updated Nov 12, 2026