How to compress an image to 20KB for forums and email

20KB is a very small file for a photo, and that is the first thing to be honest about: a full-size phone photo will not reach 20KB by moving one quality slider. Reaching it takes three steps together — smaller dimensions, the right format, and then lower quality — and a detailed photo will lose visible sharpness on the way. The steps below do all three in your browser on ImageTool.us, with no upload and no signup. A plain, simple image at a small size can reach 20KB and still look fine; a busy, detailed photo at a large size usually cannot, and no honest tool can promise otherwise.

1. Step 1: shrink the dimensions first — this is the biggest saving

File size follows pixel count more than anything else. A 4000-pixel-wide phone photo has far more pixels to store than a forum post or an email attachment needs, so shrinking it is where most of the saving comes from. Use the Image Resizer to bring the image down to the size it will actually be shown at — for a small forum post or an avatar-style image, a width of a few hundred pixels is often enough, and for a normal inline forum image, staying under about 1000 pixels wide is a sensible starting point. If the image is only going to be viewed small, do not keep it large and try to squeeze it with quality alone. Check the resized result first: if it already looks small on screen, the rest of the steps have much less work to do.

2. Step 2: use JPG, and check whether WebP is accepted

For a photo, JPG is almost always smaller than PNG, because PNG stores every pixel exactly while JPG throws away detail the eye barely notices. If your starting file is a PNG, convert it first with the PNG to JPG Converter — but only if the image has no transparency to keep, because JPG cannot store transparent areas. Where the forum or email service accepts it, WebP can be smaller still than JPG at the same look; the Image Converter and the JPG to WebP Converter both make WebP files. Some older forums and email systems do not accept WebP, so check what the upload form allows before relying on it — a smaller file that gets rejected helps no one.

3. Step 3: lower the quality step by step, and stop when it still reads

Now use the Image Compressor, whose quality slider runs from 10 to 100 and starts at 85. Lower it in steps and look at each result, rather than jumping straight to the lowest setting: drop to around 70, check the size and the look, then go lower only if the file is still over 20KB. Text, faces, and fine patterns break up first, so a photo of a document or a screenshot needs more care than a plain landscape. As a shortcut, Compress Image to 50KB will aim at under 50KB for you, and from there one more round of resizing or quality reduction is a shorter trip to 20KB than starting from the original. Note honestly: ImageTool.us has no dedicated 20KB button — 50KB is the smallest target-size page — so the last stretch to 20KB is this manual combination of smaller dimensions and lower quality, not a single click.

4. Step 4: crop out what the viewer does not need

If the file is still over 20KB, the fastest remaining saving is often not more compression but less picture. A wide photo with empty sky, background, or margins carries pixels nobody looks at. Use the Image Cropper to cut the image to the subject alone, then resize and compress the cropped version again. Cropping first also means the quality you keep goes to the part that matters, instead of being spread across background you were going to lose anyway.

Common mistakes

Quick checklist

If the file still will not reach 20KB without becoming unreadable, the honest answer is to accept a slightly larger file or a smaller image — shrinking the dimensions further, or accepting a small quality loss, is better than uploading a file the viewer cannot read. For larger limits, see the guide to compressing images for email attachments and the guide to compressing images without losing quality. Your images never leave your device on ImageTool.us: every tool runs entirely in your browser. No upload, no signup, no watermark.