Image tools

Compress image to KB — hit the exact size a form asks for

Upload forms reject photos that are even one kilobyte over the limit. Choose your image, type the limit and download a JPG that is guaranteed to be at or under it, with the best quality that fits.

  • No upload
  • Exact size limit
  • No watermark
Compress Image to KB Private · runs in your browser
  1. Choose your image
  2. Set the limit
  3. Download the JPG

Compress an image to a target size

How it works

How to use Compress Image to KB

  1. Choose your image

    A JPG, PNG or WebP from your phone or computer.

  2. Set the limit

    Type the maximum size in KB or tap a common one.

  3. Download the JPG

    The file is at or under your limit.

Why forms ask for a size in KB

Government portals, job applications, college admissions, bank KYC and visa forms all limit the size of the photo you can upload, often to 20 KB, 50 KB or 100 KB. A photo straight from a phone camera is usually 2 to 6 MB, which is 2,000 to 6,000 KB. It has to shrink a great deal, and the portal will not do it for you.

How this tool reaches the target

  1. It re-saves your image as a JPG and searches for the highest quality setting whose file is still under your limit.
  2. If even low quality is too big, which is common when a large photo must fit into 20 KB, it reduces the pixel dimensions step by step and tries again.
  3. It stops at the first result that fits, so you get the best-looking image possible for that size.

The result panel shows the final file size and pixel dimensions before you download.

Getting a sharper result

  • Crop first. Background you do not need wastes kilobytes. Use the crop tool, then compress.
  • Plain backgrounds compress better than busy ones, which is one reason forms ask for a white or light background.
  • Do not go lower than required. If the limit is 50 KB, target 50, not 20.
  • Check for a minimum. Some forms also set a minimum size, such as “between 20 KB and 50 KB”, and exact pixel dimensions. For those, use the photo and signature resizer.

What happens to PNG and WebP files

The output is always a JPG, because JPG is what nearly every upload form accepts and it is the format that can be tuned to a size. Transparent areas of a PNG become white.

Your photo stays on your device

The compression runs in your browser. The image is not sent to our servers, which matters for ID photos and documents. To shrink several pictures without a fixed target, use the image compressor. For documents, Compress PDF does the same job for PDF files, and the passport photo maker sizes photos for passports and visas.

Why it’s worth it

Why use this tool

  • Guaranteed under the limitThe tool keeps trying until the file fits, so the upload will not be rejected for size.
  • Best quality that fitsIt searches for the highest quality at your target instead of using one fixed setting.
  • Keeps dimensions when it canPixels are reduced only when quality alone cannot reach the target.
  • PrivateThe image is processed on your device and never uploaded.
Questions

Frequently asked questions

Something else on your mind? Talk to us — we reply within one working day.

Keep going

More free tools you might need

Browse all free tools

Last updated 10 Nov 2026. Tools run in your browser and are provided as-is for general use.

Need a website, tool or calculator for your business?

We design and build fast websites and custom web tools for businesses across India.

See website development