KB Kit
Runs 100% in your browser

Compress Image to a KB Limit

Need your photo or signature under 20 KB, 50 KB or 100 KB for an online form? Pick a size limit, drop your image, and download a JPG at or under that size – without uploading anything.

KB
Drop images here or click to choose JPG, PNG or WebP. You can add up to 20 at once.

Output is always a JPG, and transparent areas turn white. The result is at or under your KB limit, but it is not guaranteed to meet a minimum size. If the form needs a minimum too, check the result before you upload. Need PNG or a transparent background? This tool is not the right fit.

The form also asks for pixel dimensions
px

Nothing is uploaded. Your images are compressed on this device.

How to use

  1. Set the size limit. Type the maximum file size the form allows, or tap a preset such as 20 KB or 50 KB.
  2. (Optional) set a maximum width and height. If the form lists pixel dimensions, such as 200 × 230 px, enter them. The tool keeps the original proportions and fits the image inside that box, so the result can be smaller than the numbers you typed. It never enlarges a small image and does not crop. If the form needs exact pixel dimensions, check the size shown in the result and adjust the image elsewhere if needed.
  3. Add your images. Drop them on the box or click to choose. You can add up to 20 at once.
  4. Download. Each result shows the new file size and dimensions. Click the thumbnail to check the result at full size, then click Download to save the JPG.

How it works

The tool first tries to keep your image at its original size (very large photos are first reduced to about 16 megapixels) or at the maximum size you set, and looks for the highest JPEG quality that still fits under your limit. If the file is still too large at a reasonable quality, it gradually scales the image down and tries again. This keeps the result as sharp as possible for the size you need.

Everything happens inside your browser using the built-in canvas feature. Your photos are not sent to a server, which matters when you are handling ID photos, signatures or documents.

Tips for the best result

  • Crop first. Removing empty background before compressing leaves more of the size budget for the part that matters.
  • Very small limits need small images. A 20 KB file cannot hold a full-resolution phone photo. If the form lists maximum pixel dimensions, enter them – a smaller image usually looks better than a large one squeezed to low quality. Always check the result.
  • Signatures: sign in dark ink on plain white paper and photograph it in good light. High contrast images compress much better. More in the signature guide.
  • Transparent PNGs are placed on a white background, because JPG does not support transparency.
  • Minimum sizes: the tool only enforces an upper limit. If a form also requires a minimum (for example 20–50 KB), check the file size shown in the result before you upload.

Frequently asked questions

Is 1 KB 1000 bytes or 1024 bytes?

Both definitions are in use, and forms rarely say which one they mean. This tool counts 1 KB as 1000 bytes, so a “50 KB” result is at most 50,000 bytes. That keeps you under the limit under either definition.

Why is the output always JPG?

The output is always JPG, which is accepted by most upload forms. Transparent areas become white. If a form specifically requires PNG or a transparent background, this tool is not the right fit.

Are my images uploaded or stored?

No. Compression runs entirely on your device. Closing the page discards everything.

Does it remove photo metadata?

Yes. Re-encoding the image drops EXIF data such as camera details and GPS location, so the downloaded file does not carry that information.

Which image formats can I use?

JPG, PNG and WebP work in all modern browsers. Other formats, such as HEIC from iPhones, depend on your browser. If a file cannot be opened, convert it to JPG first or change your iPhone camera setting to “Most Compatible”.

Common sizes

Pages preset to common limits:

Pick the page that matches your form:

For any other size, type it into the limit box above.