New 58+ tools are now available — built to keep your workflow moving.

Compress Image to Exact KB

Compress a JPG or PNG to an exact size such as 20KB, 50KB or 100KB for forms and uploads.

Preview

Selected file

—

Enter e.g. 20, 50, 100, 200

Choose a file first — Run stays disabled until the file is selected.

File ready — press Run to start.

Optimizing your file…

Your result is ready — download it below:

Re-encoded without size gain Download links expire within 30 minutes.

This image appears to be already optimized — try a lower quality setting for a smaller file.
No logo or watermark was detected in the marked corners — your images were delivered unchanged.

No result to display for the current input.

Compress Image to Exact KB Online

Compress a JPG or PNG to an exact size such as 20KB, 50KB or 100KB for forms and uploads.

Compress an Image to an Exact File Size

Most compressors let you pick a quality level and hope the result lands under a limit. This tool works the other way around: you enter the exact target size in kilobytes, and it reduces the image until it fits that budget while keeping as much detail as possible.

How target-size compression works

The tool re-encodes the image and adjusts the quality until the output is at or just below your requested size. That is different from a fixed-quality export, which may still be too large for a form. You get a file that satisfies the limit instead of a file you have to keep shrinking by trial and error.

Common upload limits and what to pick

Government and job portals often ask for 20KB, 50KB or 100KB photos. Application forms frequently cap uploads at 200KB or 500KB. Pick the limit the form states, not a round number that feels safe; an unnecessarily tiny image looks worse and is harder to verify.

Quality versus file size

At very small targets, such as 20KB, the compressor has to throw away a lot of detail, and the result will look soft when zoomed in. For a passport photo or a form thumbnail that is usually acceptable. For a portfolio image or a print, choose the largest target the form allows.

Supported input formats

JPG and PNG images are supported. JPG compresses far more efficiently for photographs, so converting a large PNG photo to JPG first often gives a much better result at the same KB limit. Screenshots with flat colours can stay PNG without much loss.

Privacy and temporary files

The image is processed to generate your compressed download and is not published or reused. Results expire after a short window, and temporary files are removed by a scheduled cleanup, so nothing is kept indefinitely.

Frequently asked questions

How do I compress an image to exactly 50KB?

Upload the image, enter 50 in the target size field, and compress. The output is adjusted until it fits the 50KB limit.

Will the image still be usable at 20KB?

For a small form photo or ID picture, usually yes. At very low targets detail is reduced, so avoid it for large prints or portfolio images.

Does this work for PNG files?

Yes, but PNG is less efficient for photographs. Converting a photo to JPG first usually produces a sharper result at the same file size.

What target size should I enter?

Use the exact limit stated by the form. If the form says 200KB, enter 200 rather than an arbitrary smaller number.

Is there a file size limit for uploads?

There is an upload cap to keep processing reliable. Very large source images may need to be resized before compressing.

Are my images stored?

No permanent copy is kept. Downloads expire and temporary files are cleaned up automatically.

About this tool

Many online forms reject photos above a set size, such as 50KB or 200KB. Enter the size you need and this tool shrinks your image to fit, while keeping it as sharp as the limit allows.

How to use: upload an image, enter the target size in kilobytes, then compress and download.

  • Hit a specific KB limit instead of guessing
  • Works with JPG and PNG uploads
  • Keeps the image usable at the smallest possible size

Related tools