Steps to a 20 KB file
- Add the image: drop it on the box, choose it, or paste it with Ctrl+V or ⌘V.
- Check that 20 KB is highlighted.
- Choose a format under Save as (see the guide below).
- Press Compress image. The old and new size and dimensions appear under the preview.
Photo or graphic? Pick the format first
- Photos: JPG or WebP. Both let the tool trade fine detail for bytes in small steps.
- Logos, icons and diagrams with flat colours: try PNG. The tool cuts the palette to 256, 128 or 64 colours before touching the dimensions.
- Anything with a transparent background: PNG or WebP keep it. JPG fills it with a solid colour you choose.
Keeping the same width and height
Need a fixed pixel size and a small file? Resize first with the image resizer, then untick Allow smaller dimensions if needed here. The tool will only lower quality, going below 50% with a warning if it must; a tighter crop or WebP may then help.
Settings explained
- Target size
- 20 KB is on. Other buttons give 50, 100 and 200 KB; Custom takes any number in KB or MB.
- Save as
- Auto, Same as original, JPG, WebP or PNG. Auto leaves JPG and WebP alone and saves a PNG with no transparent pixels as JPG.
- Allow smaller dimensions if needed
- On by default. Quality is tried down to 50% first; only then is the picture scaled down, step by step.
- Background for transparent areas
- Shows up when transparent pixels are about to be saved as JPG. White by default.
Limits
- When the tool reports success, the file is never over 20 KB. It aims for 18 to 20 KB.
- A file already under 20 KB in the format you picked is handed back untouched.
- Animated GIFs lose their animation; only one frame is saved.
Questions
My photo is now much smaller in pixels. Why?
At 50% quality it was still over 20 KB, so the width and height were reduced too.
Should I pick JPG or WebP for 20 KB?
Try both and compare the previews. If the place you upload to only takes JPG, use JPG.
Does compressing to 20 KB remove location data?
Yes. The new file does not carry over camera details or GPS position.
Can I get a 20 KB PNG with a clear background?
Often, for simple graphics: choose PNG. A photo-like PNG with transparency may fit better as WebP.
Where is the 50 KB option?
50 KB is one of the buttons in this tool, and it has its own page: compress image to 50 KB.