Back to blog

How to Compress an Image to a Target File Size (KB)

Illustration of a large photo being compressed to a small file size

Sometimes a website, form, or job application demands an image under a specific size — like "photo must be under 200 KB". Guessing quality settings is frustrating. A target-size compressor does the math for you: it keeps lowering quality (and, if needed, the dimensions) until your image fits.

Squeeze any photo under an exact KB limit — free and online.

Open the compress-to-size tool

Why compress to a target size?

  • Upload limits: government portals and job sites often cap photos at 100–500 KB.
  • Email attachments: stay under mailbox limits without zipping.
  • Faster pages: lighter images improve load time and SEO.

How to compress an image to a target size

  1. Open the tool. Go to compress image to target size.
  2. Upload your image (JPG, PNG, WebP, and more).
  3. Set the target size in KB and choose JPEG or WebP output.
  4. Download. The tool lowers quality — and downscales if needed — until the file is at or under your target.

JPEG or WebP?

JPEG is universally supported and great for photos. WebP is usually 25–35% smaller at the same quality and works in every modern browser. If the image is only for the web, WebP wins; if you need maximum compatibility, choose JPEG.

Tips

  • Very small targets (under ~20 KB) can look soft — pick the smallest size that still looks acceptable.
  • Start from the original image for the best quality-to-size ratio.
  • Need a different format first? Convert with our PNG to JPG tool.

Hit your exact size limit in one click.

Compress an image now

See it in action, step by step

  1. 1Open the tool and upload your file

    Open the tool and upload your file — How to Compress an Image to a Target File Size (KB)
  2. 2Check your file and adjust the options

    Check your file and adjust the options — How to Compress an Image to a Target File Size (KB)
  3. 3Run it, then download your result

    Run it, then download your result — How to Compress an Image to a Target File Size (KB)