To get an image under a set size in KB, lower the JPEG quality first and make the picture smaller only if that isn’t enough. Pixlune’s KB compressor does both steps for you: type the limit, add the image, and it finds the largest version that fits, right in your browser. Your images aren’t sent to a server.
How much the picture has to shrink depends on the photo, not only on the limit. We measured it on four real photos below.
The quick way
- Open Compress an image to a target size in KB.
- Pick 50, 100, 200 or 500 KB, or type your own limit, such as 20.
- Add your images. Each row shows the final size and the JPEG quality used, and tells you if the dimensions had to change.
- Download each image, or all of them as a ZIP.
What fits in 200, 100, 50, 20 and 10 KB
We ran four photos through the tool at each limit. Each one was 1920 pixels on the long side and saved as a JPEG at quality 92, between 0.5 and 1.6 MB.
| Limit | Scenery (1440 × 1920) | Night street (1920 × 1754) | Portrait (1920 × 1339) | Close-up, plain areas (1440 × 1920) |
|---|---|---|---|---|
| 200 KB | 1296 × 1728, q 40 | 1555 × 1421, q 45 | 1920 × 1339, q 67 | 1440 × 1920, q 82 |
| 100 KB | 850 × 1134, q 43 | 1020 × 932, q 49 | 1555 × 1085, q 43 | 1440 × 1920, q 70 |
| 50 KB | 558 × 744, q 51 | 744 × 680, q 43 | 1020 × 712, q 41 | 1440 × 1920, q 45 |
| 20 KB | 366 × 488, q 45 | 439 × 401, q 45 | 542 × 378, q 45 | 850 × 1134, q 45 |
| 10 KB | 240 × 320, q 53 | 320 × 293, q 40 | 356 × 248, q 40 | 502 × 669, q 45 |
Pixel size of the result and the JPEG quality (q) the tool chose. Conditions and photo sources are under How we measured.
What the numbers show:
- At 50 KB the close-up kept its full size, while the scenery photo came down to 558 × 744. Fine detail costs the most bytes: foliage, textures and the noise in dark areas.
- At 20 KB the detailed photos ended up 439–542 pixels on the long side, and at 10 KB 320–356. That’s enough for a small profile picture or a thumbnail, not for reading small text.
- At 50 KB and below, the quality settled between 40 and 53 for every photo. Below quality 40 the tool makes the picture smaller instead of lowering quality further.
Why there’s no fixed KB-to-pixels rule
A JPEG’s size depends on how much detail the picture has, not only on how many pixels it has. Even areas, like a wall or a clear sky, take almost no space; grass, hair, text and the noise in a dark photo take a lot. In our test the same 50 KB held 2.8 million pixels of the close-up and 0.4 million of the scenery photo.
So read any “50 KB = so many pixels” chart as a rough guess. The tool works it out for each image instead.
1 KB: 1000 or 1024 bytes?
Some sites count 1 KB as 1000 bytes, others as 1024 (NIST explains how that happened). The gap is 2.4%: a 50 KB limit means either 50,000 or 51,200 bytes. Pixlune counts 1000, so the file passes either way. Your computer may show the same file as slightly smaller, because some systems count in 1024s.
JPG, WebP or PNG for small limits
- JPG is accepted almost everywhere, and it’s what the table above uses.
- WebP is a newer format that many upload forms don’t accept yet. Use it only if the form lists it.
- PNG is the wrong choice for photos under a small limit. It’s lossless, so the only way to make it smaller is fewer pixels. As PNG, our four photos were 3.9–8.0 MB, and to fit 50 KB they had to shrink to 153–233 pixels on the long side. As JPG, the same limit kept 744–1920. If you have a PNG photo, convert it to JPG first.
When the form also limits the dimensions
Some forms set both a maximum file size and a maximum width and height. Resize first with Resize image, then set the KB limit. Pixlune never enlarges an image, so a photo that’s already smaller than the requested dimensions stays as it is.
How we measured
- When and where: 23 November 2026, in Chromium 158.
- Tool and settings: Pixlune’s KB compressor with its default settings; only the size limit was changed. 1 KB = 1000 bytes.
- How the tool fits a limit: it tries qualities between 95 and 40 and keeps the highest one that fits. If quality 40 is still too big, it makes the picture 10% smaller at a time and tries again.
- Method: at each limit, all four photos were added together. We downloaded every result and read its size and pixel dimensions from the file, and the quality from the result row.
- Photos: four photos from Wikimedia Commons, all CC0, scaled to 1920 pixels on the long side and saved as JPEG at quality 92: scenery, night street, portrait and close-up.
- PNG comparison: the same four photos, saved as lossless PNG in the browser at the same pixel size, with a 50 KB limit and PNG kept as the output format.
Questions
Will the photo look worse?
Somewhat, at small limits. The tool keeps the highest quality that fits and only shrinks the picture when quality 40 isn’t enough. Each row shows the quality it used, so check the result before you send it.
Why is the file a bit under the limit instead of exactly on it?
The next quality step up would go over the limit, so the file lands a little below it. In our test, a 50 KB limit gave files of 47–50 KB.
Can I do several images at once?
Yes. Add them together; each one gets the same limit, and you can download them all as a ZIP.
Are my images sent to a server?
No. Pixlune compresses them in your browser, and the files never leave your device.