Skip to main content
Runs in Your Browser · Files Are Not Uploaded

How to Compress an Image to a Specific Size in KB

Last reviewed 2026-11-17 · 6 min read

Application forms often cap a photo or signature at a number such as 20 KB or 100 KB. Hitting that number by hand means trial and error with quality sliders. One tool does the search for you and reports the real size it reached.

Quick Summary

Open Resize Photo or Signature to KB, choose Photo or Signature, tap the size your form allows (or type any size from 5 to 5,000 KB) and drop the picture in. It reports the exact size it reached, counted at 1,000 bytes per KB.

1Before you start

  • One counting rule. The tool treats 1 KB as 1,000 bytes and shows the exact byte count beside the size. A file within 100 KB at 1,000 bytes per KB is also within 100 KB at 1,024, so a result that passes here passes sites that count either way. If a site rejects a file by a hair, set the target a few KB lower.
  • Size is not dimensions. The tool controls bytes. If your form states a width and height, set them first with Resize Image Dimensions and compress afterwards.
  • Output is always JPEG. PNG and WebP pictures are accepted as input; check that the form accepts JPEG.
  • HEIC photos need converting first. Use the HEIC to JPG guide.

2Step by step

  1. Open Resize Photo or Signature to KB. Under What are you resizing? pick Photo or Signature. Signature adds a Convert to grayscale checkbox.
  2. Under Make it this size or smaller tap 10, 20, 30, 50, 100, 200 or 500 KB, or type a number from 5 to 5,000 in Custom (KB). A banner repeats the target in bytes.
  3. Optionally fill in Longest side limit in pixels if your form gives one, then press Apply pixel limit if pictures are already loaded.
  4. Drop one or more pictures, or choose them from your files. Work starts at once, and each card shows the Result in KB and bytes, the pixel size and the JPEG quality chosen.
  5. Not the size you wanted? Tap another size and the result is recalculated without loading the picture again.
  6. When a card says Within 20 KB (or your target), click Download JPEG. The file name gains the target, such as -20kb. If the target was not met, the button reads Download smallest JPEG.
Resize Photo or Signature to KB
Every size from 5 to 5,000 KB in one tool
Launch Tool

3Common problems and fixes

  • The result is well under my target. The search keeps the highest quality that still fits, so landing a little under is normal.
  • "Could not reach" appears. Crop away empty space, start from a simpler or smaller source picture, or ask whether a larger limit is allowed.
  • The picture looks soft. Very low targets force the tool to cut pixels as well as quality. Compare the dimensions shown with your original, and check faces and text on screen.
  • A thin signature breaks up. Crop to the ink, scan or photograph it straight on in even light, and use dark, solid ink.
  • Sizes do not match what the portal shows. The tool shows KB at 1,000 bytes beside the exact byte count. Some portals divide by 1,024, which shows a smaller number for the same file, so a file that passes here also passes there.

4Is it private?

The tool decodes your picture in the browser, redraws it on a canvas and encodes it again on your device. The picture is not uploaded to our servers, which matters for ID photos and signatures. Closing the tab releases it from memory.

The page loads its own code and Cloudflare Web Analytics. You can confirm in the Network tab that no request carries your image. The Privacy Policy lists them.

Frequently Asked Questions

Can I compress several photos at once?

Yes. Drop or choose several pictures together and each one gets its own result card with its own download button.

What happens to a transparent background?

It turns white in the JPEG output, because JPEG cannot store transparency.

Does the tool keep my original dimensions?

It lowers quality first and cuts dimensions only when needed. The final pixel size is displayed on each result card.

Do I need a separate page for each size?

No. One tool covers 10, 20, 30, 50, 100, 200 and 500 KB, plus any custom size from 5 to 5,000 KB. Tap another size and the result is recalculated.

Related tools