Skip to content

Compress Image to Target Size (KB)

Compress any image to an exact target file size in KB — set your limit and download.

About Compress Image to Target Size (KB)

This tool compresses any image to an exact target file size in kilobytes. Type the maximum KB you're allowed (for example 50 KB or 200 KB), and it automatically lowers the JPEG quality — and resizes the image when needed — to land at or under your limit while keeping the best possible quality. It's ideal for job portals, exam applications and government forms that reject images above a certain size. All processing happens locally in your browser, so your photo is never uploaded.

How to use Compress Image to Target Size (KB)

  1. 1

    Upload your image by clicking the box or dragging a file in.

  2. 2

    Enter your target file size in KB.

  3. 3

    Click Compress — the tool finds the best quality that fits your target.

  4. 4

    Download the compressed JPEG.

Frequently Asked Questions

Can I compress to any size?

Yes. Enter any target in KB. Very small targets on large photos may require the tool to also reduce the dimensions to fit.

What format is the output?

The output is a JPEG, which gives the most reliable control over file size.

Are my images uploaded?

No. Compression runs entirely in your browser using the Canvas API — nothing leaves your device.