How to Compress a JPEG to 20 KB, 50 KB or 100 KB
To compress a JPEG to 20 KB, 50 KB or 100 KB, open the JPEG Compressor, switch to Target size, type the limit in KB and add your photo. The tool tries different quality levels, keeps the highest one that fits under your limit and, if the photo is too large to fit at a good quality, scales it down a little first. You download a JPEG that is guaranteed to be under the size you typed.
Why online forms ask for tiny photos
Job portals, exam registrations, scholarship applications, visa forms and ID card systems often accept only small photo and signature files. The reason is practical: they store thousands of uploads, and small files are quick to send on slow connections. The catch is that a photo straight from a phone camera is usually several megabytes, which can be fifty or a hundred times larger than the limit.
Simply lowering the quality is often not enough, and guessing a percentage again and again wastes time. A target-size compressor does the guessing for you. If you want the background on how JPEG quality works, read our guide on how to compress JPG images without losing quality.
Step-by-step: compress a JPEG to an exact small size
- Check the exact limit on the form. Note the maximum size in KB, and any rules about width and height in pixels, before you start.
- Open the JPEG Compressor and choose Target size. Pick 50 KB or 100 KB, or type a custom number such as 20 in the box next to the presets.
- Set a maximum size if the form gives pixel dimensions. Open Advanced options and choose a Max width or height, such as 800 px or 600 px.
- Add your photo. Click Select Files, drag the photo in, or paste it. Compression starts right away.
- Check the result line. It shows the new size, the quality used and the final pixel size, plus a note if the photo had to be made smaller to fit.
- Compare and download. Use the compare button to check faces and text, then press the download button and upload the file to the form.
What our tests show at 20 KB, 50 KB and 100 KB
We ran three photos through the JPEG Compressor in Chrome with Target size mode and the default settings, which allow smaller dimensions when needed. Every result came out under its limit and opened as a normal JPEG.
| Test photo | Under 20 KB | Under 50 KB | Under 100 KB |
|---|---|---|---|
| 12 MP phone-style photo (3024 × 4032 px, 2.1 MB) | 447 × 597 px at quality 56 | 771 × 1028 px at quality 58 | 1447 × 1929 px at quality 41 |
| Full HD photo (1920 × 1080 px, 337 KB) | 780 × 439 px at quality 40 | 1233 × 694 px at quality 54 | 1920 × 1080 px at quality 55 |
| Square portrait (1024 × 1024 px, 515 KB) | 540 × 540 px at quality 47 | 1024 × 1024 px at quality 43 | 1024 × 1024 px at quality 78 |
Two things stand out. First, a large photo almost always has to be made smaller to reach 20 KB or 50 KB. Second, the 1024 px portrait reached 100 KB at quality 78 without any resizing, because it started with far fewer pixels than the 12 MP photo.
Resize first for a better looking small file
The quickest way to improve a tiny JPEG is to start from fewer pixels. We ran the same photos again with Max width or height set to 800 px before compressing:
| Test photo | Under 50 KB, tool decides | Under 50 KB, 800 px set first |
|---|---|---|
| 12 MP phone-style photo | 771 × 1028 px at quality 58 | 600 × 800 px at quality 77 |
| Full HD photo | 1233 × 694 px at quality 54 | 800 × 450 px at quality 84 |
| Square portrait | 1024 × 1024 px at quality 43 | 800 × 800 px at quality 67 |
With 800 px set first, all three photos stayed under 50 KB at a much higher quality, which means fewer blocks and smudges on faces. Most forms show the photo small, so a sharp 800 px image looks better than a blurry large one. At 20 KB the 800 px limit helped the Full HD photo (800 × 450 px at quality 38), while the other two still had to shrink a little more to fit.
When the form needs exact pixel sizes
Some portals ask for exact dimensions, for example a passport-style photo of a fixed width and height. In that case:
- Crop and resize the photo to the exact pixel size in your photo editor or phone gallery first
- In Advanced options, untick “Allow smaller dimensions when a target size can’t be reached at good quality” so the tool never changes the pixel size
- Then set the KB limit in Target size mode
Be aware of the trade-off. With resizing switched off, our Full HD photo did reach 20 KB, but only at quality 6, and the 12 MP photo could not get below 78 KB even at quality 1. If the result looks too rough, the pixel size is simply too large for the limit, so ask whether the form accepts a smaller photo.
Tips for photos, signatures and ID uploads
- Crop away empty background before compressing, because every pixel you remove makes room for more detail on the face
- Use a plain, evenly lit background: smooth areas compress much better than busy patterns or noisy low-light shots
- For signatures, sign in dark ink on white paper and crop tightly around the signature, so the file is mostly flat white
- Stay a little under the limit, for example 95 KB for a 100 KB rule, because some portals count 1 KB as 1000 bytes instead of 1024
- Keep your original photo and compress a fresh copy each time, since compressing an already compressed file again adds more damage
- Leave Keep EXIF data switched off for uploads: location and camera details add bytes and are not needed by the form
Why a file can still be rejected
If the portal still refuses your photo, check these points before compressing again:
- The format: the file must end in .jpg or .jpeg. The JPEG Compressor always saves JPEG, even from PNG, WebP or screenshots
- The size unit: KB and MB are easy to mix up, and 1 MB is 1024 KB
- The pixel rules: a photo can be under the KB limit but too small or too large in width and height
- The browser: try another browser if an upload button does nothing, which is a problem with the portal rather than the photo
For limits like 200 KB and 500 KB, see our guide on how to compress a JPG to a specific size. If you are not sure whether to send a JPEG, PNG or WebP, our JPEG vs PNG vs WebP file size comparison explains which format makes the smallest file.
FAQ
Compress your JPEG to the size you need
Pick 20 KB, 50 KB, 100 KB or any custom size and download in seconds. Nothing is uploaded.