All articles

How to Compress an Image to 20KB, 50KB or 100KB (Free)

Reduce any image to an exact file size — 20KB, 50KB or 100KB — right in your browser. Free, private, and no quality guesswork.

Government forms, job portals and exam applications often demand a photo under a strict size — exactly 20KB, 50KB or 100KB. Hitting that target by hand is frustrating. Here's the quick, free way to do it.

Why file size limits exist

Websites cap upload sizes to save storage and keep pages fast. When a form says "photo must be under 50KB", it will reject anything larger — so you need to shrink the file without making it unreadable.

Compress to an exact size in seconds

The fastest way is a target-size compressor that does the math for you:

  • Open the tool for your target: compress to 20KB, 50KB or 100KB.
  • Drag in your photo.
  • Download the compressed image — it lands right at (or just under) the limit.

Everything runs in your browser, so your photo never leaves your device.

Prefer to control the quality yourself?

Use the general image compressor to dial the quality slider and watch the file size update live. Good for when "smallest possible" matters more than an exact number.

Tips for the best result

  • Resize first if it's huge. A 4000px photo squeezed to 20KB looks rough. Resize it to a sensible width (say 600–800px) first, then compress.
  • Use JPG for photos. JPG compresses photos far smaller than PNG. If yours is a PNG, convert it to JPG before compressing.
  • Check readability. For ID photos, make sure the face is still clear after compression.

Need it under a specific KB right now? Compress your image free →