How to Compress an Image to Under 20KB
20KB is a common file size limit for profile pictures, government portal uploads, forum avatars, and some mobile app upload fields. Getting a photo under 20KB without making it look broken requires a specific combination of resizing, format choice, and compression level. This guide gives you the exact steps to hit the 20KB target reliably.
Quick Answer
20KB is a common file size limit for profile pictures, government portal uploads, forum avatars, and some mobile app upload fields. Getting a photo under 20KB without making it look broken requires a specific combination of resizing, format choice, and compression level.
Try it now — free, no signup
Your images stay on your device. Nothing is uploaded to any server.
Step-by-Step Guide
5 steps · takes under 1 minute
Resize to the smallest acceptable dimensions
For a profile picture or avatar under 20KB, start with 200×200px or 300×300px. A 200×200 JPG at 75% quality typically lands at 6–12KB. Open the Resize tool and resize before compressing.
Convert to JPG if not already
JPG produces the smallest files for photos. If your image is PNG, convert it to JPG first — PNG at 200×200px can be 30–60KB even with compression, while JPG at the same size is typically under 15KB.
Compress at 65–70% quality
Drop the resized JPG into the compressor and set quality to 65–70%. At this level, a 200×200 or 300×300 photo will be well under 20KB. Check the before/after sizes displayed by the tool.
Check the output file size
Download the compressed image and check its file size: right-click → Properties (Windows) or Get Info (Mac). If it's still above 20KB, lower the dimensions or reduce quality to 60%.
Verify it still looks acceptable
Open the image at its actual display size. At 200×200px, 65% JPG quality looks clean for most photos. Avoid zooming in — judge at the size it will actually be displayed.
Your images stay on your device
Image processing runs in your browser. Your files are not uploaded to or stored by ImgToolkit.
Pro tip
For a 20 KB limit, resize the image first, then test the format and quality. Check the exported file size because results vary with image content.
Related Free Tools
Related image tools, processed in your browser.
Frequently Asked Questions
4 questions answered