How to get a photo under 100KB without ruining it
9 min read
A form says “maximum 100KB” and your phone photo is several megabytes. The usual advice is to lower the quality. We tested that on real photos, and on its own it does not work: at quality 40, a 12-megapixel photo was still six to nine times too big. What gets a photo under 100KB is fewer pixels, and this guide gives the measured numbers so you can choose what to give up. Everything ran through the live XImage pages, including the 100KB compressor and the main image compressor, in a Chromium browser on 12 November 2026.
What we tested
We used three files. Two are 12-megapixel (4000 × 3000) landscape photographs, saved as JPEG at quality 95 to stand in for a camera original: a hillside road under an overcast sky, which compresses well (2,185 KB), and a fjord lookout full of rock texture and tiny figures (3,290 KB). The third is a 1440 × 2200 pixel screenshot of a text-heavy web page, saved as PNG (799 KB). The tables call them the smooth photo, the detailed photo and the text screenshot.
We drove the live pages in a headless Chromium browser, dropped each file in, pressed the same buttons a visitor would and measured the file that came out. Other browsers use their own encoders, so their bytes can differ a little. Sizes are shown the way XImage shows them, with 1 KB equal to 1,024 bytes.
Your own photos will land elsewhere. Detail, noise and smooth gradients can change a file’s size by a factor of two, as the two photographs below show. Treat the tables as a guide to proportions, not as promises.
Quality alone will not get you there
The quality slider is the first thing most people reach for. This is what happened to the full-size files at each setting. The second row is what you get by simply dropping a file into the compressor with everything left on Auto.
| Setting | Smooth photo | Detailed photo | Text screenshot |
|---|---|---|---|
| Original file | 2,185 KB | 3,290 KB | 799 KB (PNG) |
| Default drop, everything on Auto (saved as WebP) | 848 KB | 1,477 KB | 305 KB |
| JPEG, quality 90 | 1,409 KB | 2,181 KB | 609 KB |
| JPEG, quality 80 | 1,203 KB | 1,819 KB | 466 KB |
| JPEG, quality 60 | 990 KB | 1,493 KB | 343 KB |
| JPEG, quality 40 | 606 KB | 930 KB | 274 KB |
Swipe sideways to see every column.
Every row keeps the original pixel dimensions. The limit we are aiming for is 100 KB.
Even at quality 40 the two photographs are still about six and nine times over the limit. Quality changes how each pixel is stored. It does not reduce how many pixels there are.
Pixels are what really counts
Shrinking the picture itself works far better. These are the same two photographs resized to common 4:3 sizes with the image resizer and saved as JPEG at quality 80.
| Picture size | Smooth photo | Detailed photo |
|---|---|---|
| 400 × 300 | 26 KB | 36 KB |
| 600 × 450 | 53 KB | 75 KB |
| 800 × 600 | 91 KB | 126 KB |
| 1024 × 768 | 135 KB | 190 KB |
| 1280 × 960 | 199 KB | 283 KB |
| 1920 × 1440 | 392 KB | 572 KB |
The limit is 100 KB, or 102,400 bytes.
Going from 1920 to 1280 pixels wide, a cut of one third, roughly halves the file: 392 KB to 199 KB for the smooth photo and 572 KB to 283 KB for the detailed one. At 800 × 600 the smooth photo fits under 100KB with a little room to spare. The detailed one, at 126 KB, is about a quarter too big and needs a width somewhere between 600 and 800 pixels.
The same pattern holds when you let XImage choose the format. On the main compressor, with Output on Auto and the 800 button pressed under Max width, the smooth photo came out at 79 KB and the detailed one at 113 KB. Lowering the quality slider to 70 brought the detailed photo down to 90 KB. Auto saved all of these as WebP, so choose JPEG instead if your portal wants a JPG, and use the table above for the sizes to expect.
The format matters, too
| Format | Smooth photo | Detailed photo | Text screenshot |
|---|---|---|---|
| JPEG | 199 KB | 283 KB | 356 KB |
| WebP | 165 KB | 241 KB | 242 KB |
| PNG | 1,980 KB | 2,771 KB | 1,162 KB |
Swipe sideways to see every column.
The screenshot is 1280 × 1956 pixels here and the photographs are 1280 × 960. XImage ignores the quality setting for PNG, which is lossless.
At the same quality setting WebP came out 15 to 32% smaller than JPEG, and PNG was about ten times larger than JPEG for the photographs. So never use PNG for a photo under a tight limit. Check what your portal accepts before you choose WebP, because many forms still allow only JPG.
What the KB pages do, and what they give up
The 100KB compressor and its 20KB, 50KB and 200KB relatives run this search for you. At each picture size they try quality 85, then the lowest quality, and then home in on the highest quality that still fits. Only when even the lowest quality is too big do they shrink the picture by about 15% and try again. In practice XImage keeps as many pixels as it can and lets quality fall. This is what came out for our three files with Output left on Auto, which produced WebP in every run.
| Limit | Smooth photo | Detailed photo | Text screenshot |
|---|---|---|---|
| 20 KB | 926 × 695 px, 20 KB | 569 × 427 px, 19 KB | 392 × 599 px, 20 KB |
| 50 KB | 1509 × 1131 px, 44 KB | 926 × 695 px, 47 KB | 639 × 976 px, 47 KB |
| 100 KB | 2456 × 1842 px, 92 KB | 1509 × 1131 px, 85 KB | 1040 × 1589 px, 98 KB |
| 200 KB | 3400 × 2550 px, 192 KB | 2456 × 1842 px, 174 KB | 1440 × 2200 px, 189 KB |
Swipe sideways to see every column.
Each row is a different page, and every result was marked Target met.
Two things stand out. First, the same limit buys very different amounts of picture depending on the content: at 100 KB the smooth photo kept 4.5 million pixels and the detailed one 1.7 million, against 480,000 for the 800 × 600 picture above.
Second, those pixels are not free. When we chose JPEG instead, every photo and screenshot result on the 20, 50 and 100 KB pages was saved at JPEG quality 10, the lowest XImage tries; we read that from the quantization tables inside the files. At 100 KB, the JPEG of the detailed photo (1775 × 1331 pixels, 81 KB) looked noticeably rougher up close than the WebP (1509 × 1131 pixels, 85 KB). The body text of the screenshot stayed readable at full size in both formats.
Choosing a method
| Your situation | What to do | Why |
|---|---|---|
| The portal only says “under 100KB” | Use the 100KB compressor with Output on Auto | It finds the best fit for you and shows Target met once the file is under the limit. |
| The portal accepts JPG only | Choose JPEG on the same page | JPEG is accepted almost everywhere, but expect a rougher picture than WebP at the same size. |
| The picture will be seen large, or printed | On the main compressor, shrink the pixels first with the 800 or 1280 button under Max width, then adjust quality | Fewer pixels at normal quality look cleaner than many pixels at very low quality. |
| The form names exact pixel dimensions | Resize to that exact size first, then check the file size | A pixel rule fixes the picture size, so only quality is left to adjust. |
| A document, receipt or screenshot full of text | Keep Auto and check that the text is readable at full size | In our test the 100 KB result kept 1040 × 1589 pixels and the body text stayed readable. |
| A logo or flat-colour graphic | Try the PNG first and fall back to WebP if it is still too big | Flat colours often suit PNG, but on photographs PNG was about ten times larger than JPEG. |
The 100KB trap: KB, kB and KiB
“100KB” does not name one number of bytes. Computing long used “kilo” to mean 1,024, while the metric prefix means 1,000. In December 1998 the International Electrotechnical Commission approved the name “kibi”, symbol Ki, for 1,024, as NIST’s page on the prefixes explains. A portal can therefore mean 102,400 bytes or 100,000 bytes, and it rarely says which.
XImage’s KB pages aim for 102,400 bytes by default, and it can matter. The text screenshot we tested came out of the default 100KB page at 100,122 bytes: under 102,400, but 122 bytes over a strict 100,000. Typing 97 in the Custom (KB) box, which is 99,328 bytes, gave 93,096 bytes, safe either way. If you cannot tell how the portal counts, use 97.
Limits you will actually meet
| Where | Limit | Where to start in XImage |
|---|---|---|
| India, passport photo upload | JPEG under 250 KB, exactly 630 × 810 px | The passport photo resizer, then the 200KB page with Custom set to 244 if it is still over |
| US visa digital image | JPEG of at most 240 kB, 600 × 600 to 1200 × 1200 px | The 200KB compressor with Custom set to 234 |
| UK passport digital photo | 50 KB to 10 MB, so there is a minimum as well | Usually nothing: the UK asks for an unaltered photo |
| YouTube video thumbnail from a phone | 2 MB (50 MB on a computer) | The YouTube thumbnail resizer |
The details behind each row are in our guides to passport photo requirements and YouTube image sizes.
From phone photo to upload-ready
- Read the portal’s rule twice: the maximum size, whether it names pixels, which formats it accepts and whether there is a minimum.
- Start from the original, not from a copy that a messaging app has already compressed.
- Open the 100KB compressor, or the page for your limit, and drop the photo in.
- Pick the output: Auto for the smallest file, JPEG if the portal insists on JPG.
- If the portal counts 100KB as 100,000 bytes, or you cannot tell, type 97 in the Custom (KB) box.
- Look for Target met, open the picture to check that it is still good enough, and press Save.
- If it looks too rough, go back to the original and shrink the pixels first, with the Max width buttons on the main compressor or the image resizer.
Try it on your own file
- Compress or Resize an Image to Under 100KB Meet 100KB upload limits without sending your photo to a server
- Compress Image to Under 20KB Meet the tightest upload caps without installing anything
- Compress Image to Under 50KB The common cap for exam forms, job portals, and email
- Compress Image to Under 200KB A practical cap that still looks sharp on screen
Common questions
Why is my photo still over 100KB after I lowered the quality?
Quality changes how each pixel is stored, but not how many pixels there are. In our tests a 12-megapixel photo was still six to nine times over the limit at JPEG quality 40. Reduce the pixel dimensions as well, or use a KB page that does both for you.
Is WebP or JPEG better for staying under 100KB?
At the same quality setting WebP files were 15 to 32% smaller than JPEG in our tests, and on the KB pages WebP also looked cleaner at the same file size. Use JPEG only when the portal rejects WebP, which many forms still do.
How many pixels fit into 100KB?
It depends on the picture. At quality 80 an 800 × 600 photo weighed 91 to 126 KB in our tests. The 100KB page kept far more pixels than that by lowering quality: about 4.5 million for the smooth photo and 1.7 million for the detailed one, against 480,000 at 800 × 600.
Will a 100KB copy ruin my photo for printing?
It can. A 100KB file holds far less detail than your original, so print from the original and use the small copy only for the upload. Compression cannot bring lost detail back, so never overwrite the original file.
Can I get a PNG under 100KB without changing its format?
Only by reducing its pixels, because PNG in XImage is lossless and ignores the quality setting. Our photograph PNGs were about ten times larger than JPEG at the same size. For screenshots and flat graphics, shrink the width first, or switch to WebP if the portal allows it.
Sources
Checked on 12 November 2026. Official pages change, so confirm on the source before you pay or submit.
- NIST: Prefixes for binary multiples (kibi, mebi and the 1,024 convention)
- US Department of State: Digital image requirements for visas (240 kB limit)
- Passport Seva (India): Photo and signature upload instructions, May 2026 edition (PDF)
- GOV.UK: Get a passport photo, digital photos (50 KB to 10 MB)
- YouTube Help: Add custom thumbnails (sizes, formats and file limits)