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.
Open the image compressor with the 20 KB limit, add the picture, and press Compress images. The tool lowers quality and shrinks dimensions until the file is under 20,000 bytes. For best results crop to the ink or the face first and keep the long side near 400 pixels.
Do it in your browser
What 20 KB really means for an image
Twenty kilobytes is 20,000 bytes. A modern phone photo is hundreds of times larger, and even a screenshot is typically 10 or more times that. Forms that cap uploads at 20 KB are usually asking for a signature, a small face photo, or a stamp-sized scan, and they trust you to deliver something that will be shown at a few hundred pixels at most.
The size of a picture is governed by two things: how many pixels it has and how aggressively each region is compressed. Lowering quality alone loses fine detail and makes blocky patches around edges. Lowering the pixel count keeps the quality of what remains. For 20 KB the answer is nearly always both, with the emphasis on fewer pixels.
Forms sometimes set a minimum too, for example between 10 KB and 20 KB. A signature that compresses to 3 KB can be rejected for being too small, which surprises people. In that case you need a bit more detail, not less.
How to compress an image to 20 KB
- Crop the picture to what matters: the ink of a signature or the face in a photo. Every pixel of empty paper or wall costs bytes. The crop tool works in the browser.
- Open the image compressor with the 20 KB limit, add the file, and check that Maximum file size says 20 and Reduce dimensions if needed is on.
- If you know the size you want, type its long side into Maximum width or height, for example 400 for a small face photo or 350 for a signature, so you choose the dimensions rather than the tool.
- Press Compress images, confirm that the size shown is below 20 KB, and press Download, or Share on a phone. Open the result and make sure the signature strokes or the face look clean at 100 percent.
- If a minimum applies and the file came out too small, clear the width and height values or start from a larger original so the tool has more pixels to keep.
Dimensions that fit in 20 KB
For a JPG, a face photo of 300 to 400 pixels per side usually fits at good quality; 500 to 600 pixels is possible with a plain background. A signature of about 400 by 150 pixels is far below the limit. Busy backgrounds, hair and foliage need more bytes per pixel, so pictures with a lot of texture end up smaller in pixel size than clean ones.
Here is the arithmetic. At about 0.15 bytes per pixel for a smooth portrait, 20,000 bytes covers roughly 130,000 pixels, which is 360 by 360. At 0.3 bytes per pixel for a detailed one, it covers about 67,000 pixels, close to 260 by 260. The range explains why two photos of the same size can behave so differently.
Making a clean signature image
Sign with a dark pen on plain white paper in daylight, and photograph straight above it so there is no perspective. If the paper looks grey, brighten the picture a little before compressing, because a clean white background is what lets the file shrink without ruining the ink. Crop close to the strokes, leaving a thin margin.
JPG fills transparent areas with white, which is what most forms expect. If you need the signature with a transparent background to place on a document, keep PNG or WebP as the output format; the file will be a little bigger. Before you send it, see whether the form says anything about color: some want black ink only.
Thumbnails and small web images
Twenty kilobytes is also a comfortable budget for a product or article thumbnail of 300 to 400 pixels. WebP as the output format usually gives a cleaner result than JPG at that size, and every current browser displays it. If you have a whole set to do, add them together and use Download all as ZIP; each image is fitted separately.
If the file is still too big
Three options remain. Crop tighter, because less picture means fewer bytes. Convert a color image to grayscale in your phone's editor, which removes color information. Or reduce the dimensions by hand to a smaller number, such as 300, so the tool does not have to guess. If none of these works, the picture may contain heavy noise, for example from a dark room; retake it in good light.
For targets above 20 KB, see the guides on compressing to 50 KB and resizing under 100 KB.
Why not use a screenshot trick
Some people take a screenshot of a small preview to get a small file. This usually gives a PNG with a lot of extra interface in it, and PNG is rarely accepted by portals that ask for JPG. It is better to compress the original properly, because then the format, the size and the sharpness are all under your control.
Frequently asked questions
How do I compress a signature to 20 KB?
Photograph it in daylight on white paper, crop to the ink, and compress it with the 20 KB limit. About 400 pixels wide is plenty for most forms.
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 as fewer pixels. A 400-pixel version still looks fine at the size it will be shown.
My form accepts 20 KB to 50 KB. What should I type?
Type 50, so the picture keeps as much detail as possible. For a 10 to 20 KB range, type 20.
What dimensions fit in 20 KB?
A face photo of 300 to 400 pixels per side fits at good quality in a JPG, and a signature of 400 by 150 pixels is far below the limit.
Will a transparent signature get a white background?
Only if saved as JPG, which cannot store transparency. Keep PNG or WebP output to preserve it.
Why does the result say the dimensions were reduced?
Quality alone could not bring the picture under 20 KB, so it was scaled down. Turn the option off and type a width yourself to control the size.
Is 20 KB small enough for a website thumbnail?
Yes, for a thumbnail of about 300 to 400 pixels. WebP usually looks cleaner than JPG at that size.
More guides
- 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.
- 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.
Updated Nov 20, 2026