Add to Chrome

Compress an image to 5 KB

Updated 2026-12-06

Choose a photo below and Docmend makes it 5 KB or smaller. It lowers the JPG quality first and only makes the picture smaller in pixels if it still doesn’t fit. In our test, a 16-megapixel camera photo (4.94 MB) came out at 5,037 bytes and 294 × 221 px.

Free, no limits, no watermark. Your photos never leave your device.
Loading the tools…

Compress an image to another size

How to compress an image to 5 KB

  1. Choose the photo: JPG, PNG, WebP, GIF or an iPhone HEIC photo. You can pick several at once.
  2. “Other…” is already picked with 5 filled in as the size in KB. Change it if your form asks for another size.
  3. Leave “Save as” on JPG: it is the format that gets photos smallest.
  4. Click Resize. The new file downloads, and the result line shows its size and pixel size.

What 5 KB gets you: our test

Test pictureOriginalResultPixelsJPG quality
a 16-megapixel public-domain camera photo (4608 × 3456 px, 4.94 MB)4.94 MB5,037 bytes294 × 22137%
a 1920 × 1080 PNG screenshot (714 KB)714 KB5,039 bytes246 × 13944%

To fit, the photo was made smaller in pixels; at 10 KB it was 496 × 372 px. If your form shows the photo small (most do), the difference is hard to see.

Our own test in Chrome on 2026-12-06 with the same code this page runs. Results depend on the picture: busy, detailed photos need more bytes than plain ones.

When a form asks for 5 KB

A 5 KB limit is very tight. It usually belongs to a small icon, an avatar on an older system, or a thumbnail field. A full photo has to shrink to roughly the size of a postage stamp on screen to fit.

Is it 5 KB or 5,000 bytes?

Docmend counts 1 KB as 1,024 bytes here, the way Windows, macOS Finder in “KB” and most phones show sizes. So “5 KB” means up to 5,120 bytes. Our photo came out at 5,037 bytes, which is over 5,000 bytes.

If your form counts 1 KB as 1,000 bytes and rejects the file, pick “Other…” and type 4. The result is then always under 5,000 bytes, so it passes either way.

If the picture looks too soft

Common questions

How does Docmend get a photo under 5 KB?

It tries JPG quality levels from high to low and keeps the best one under 5 KB. Only if the lowest quality is still too big does it make the picture smaller in pixels, step by step. In our test the result was 294 × 221 px at 37% quality.

Is 5 KB the same as 5,000 bytes?

Not always. Docmend counts 1 KB as 1,024 bytes, so 5 KB means up to 5,120 bytes. If your form counts 1 KB as 1,000 bytes, choose “Other…” and type 4 to stay under 5,000 bytes.

Can a signature fit in 5 KB?

Usually yes. A signature scanned on white paper is mostly blank, and blank areas take almost no space in a JPG, so a signature fits far more easily than a photo. Crop close to the ink first.

Are my photos uploaded?

No. Docmend works on the picture inside your browser, so it never leaves your phone or computer. Nothing is stored after you close the tab.