Compress Image to 20KB Online
Compress a JPG, PNG, WEBP, or HEIC image to 20KB or less without uploading it. The tool reduces quality intelligently and can step down the pixel dimensions if the target is otherwise impossible. It is useful for exam portals, job applications, and forms with a tight upload limit.
- Target ≤ 20 KB
- Output JPG
- No upload
- Works on mobile
Browser-based compressor
Compress your image to 20KB
Your image never leaves your device. Compression runs in this browser tab. No upload, no account, no server copy.
The output will be at or below this size.
Smaller dimensions make very small KB targets easier.
Your compressed JPG is ready
If the destination needs exact pixels or a minimum KB, use an exam-specific preset.
Guide
How image compression to 20KB works
A 20KB limit is common on older government portals and some ID-photo upload fields. At this size, every pixel of detail costs bytes, so a sharp original with a plain background compresses better than a busy group photo. The compressor keeps the aspect ratio and starts at a sensible maximum dimension; if 20KB is still out of reach, it reduces the image further rather than producing a file that the portal will reject.
The output is a JPEG because it offers the widest compatibility for online forms. Transparent areas in a PNG or WEBP are placed on a white background before encoding. The final result card shows the actual output dimensions and file size, so you can see exactly what you are about to download.
Use the 20KB preset for tight ID-photo uploads, small profile pictures, and portals that reject anything larger than 20KB. If the destination asks for a minimum file size as well, use an exam-specific preset instead.
Steps
- Choose a JPG, PNG, WEBP, or HEIC image. The file stays in your browser.
- Set the target to 20KB. Keep the default maximum dimension or choose a smaller one if the portal needs smaller pixels.
- Start compression and wait for the quality search to finish. The tool may reduce dimensions if quality alone cannot hit the target.
- Check the output size and dimensions, then download the JPEG. If the form requires exact pixels or a minimum KB, switch to an exam-specific preset.
Before you upload the compressed file
- Check that the portal accepts JPG files and does not require PNG transparency.
- Check whether the form also specifies exact pixel dimensions. If it does, use the exam preset instead.
- Open the downloaded file once to confirm it is not blurred, cropped, or sideways.
- Do not rename the file to a different extension. A .jpg file is still a JPG even if renamed.
- Read the official notification for any minimum file size; this page only enforces a maximum.
Need a different size? Try compress to 50KB, compress to 100KB. Need exact pixel dimensions? Use the image resizer. For exam-specific dimensions and a minimum KB limit, start with the exam preset directory.
Questions
Compressing to 20KB: FAQ
How do I compress an image to 20KB?
Choose your image, leave the target at 20KB, and select “Compress image”. The tool searches JPEG qualities and, if necessary, reduces dimensions until the file is at or below 20KB.
Will the image be uploaded?
No. Compression happens in your browser with the Canvas API. Your image is not sent to this site or any server.
Can I compress a PNG to JPG?
Yes. PNG, WEBP, JPG, and HEIC inputs are accepted and exported as JPEG. Transparent areas are filled with white because JPEG does not support transparency.
What if the file is still too large?
The tool automatically reduces the pixel dimensions if 20KB is not reachable at the current size. If it still fails, choose a smaller maximum dimension or a simpler source image.
Does this meet an exam photo requirement?
Not automatically. Exam forms often require exact dimensions and a minimum file size. Use the exam-specific resizer for those, and confirm every value in the official notification.