Home / Image Tools / Resize Image by KB

Resize Image by KB

Hit an exact file size - 20 KB, 50 KB, 100 KB - for forms and portal uploads.

How to use

  1. Drop in your photo or document scan.
  2. Type the target size in KB (or tap a preset like 20, 50 or 100 KB).
  3. Click resize - we find the best quality that fits under your target, then download.

Frequently asked questions

How does it hit the exact size?

It searches quality levels (and shrinks dimensions if needed) until the file lands just under your target - maximizing quality within the limit.

Why do forms demand sizes like 20 KB?

Portals limit upload size for storage and speed. This tool gets your photo under the limit while keeping it as clear as possible.

Is my document photo private?

Yes - everything runs in your browser. Sensitive documents never leave your device.

Hit an exact file size, automatically

Government portals, exam applications, job boards and visa forms are full of requirements like 'photo must be between 20 KB and 50 KB' - a maddening spec to hit by hand, because file size depends on the image content, not just its dimensions. This tool automates the guesswork: tell it your target size in KB, and it searches quality and dimension combinations until the output lands at or just under your number.

It runs entirely in your browser, which matters twice here: your ID photos and documents stay on your device, and the iterative search is instant because there's no server round-trip per attempt.

How the tool finds your target

Behind the scenes it performs a binary search over JPG quality: encode, measure, adjust, repeat - usually converging in under ten passes. If even the lowest reasonable quality can't reach your target (common when a huge camera photo must become 20 KB), it steps the dimensions down and searches again, keeping the image as large and sharp as your byte budget allows.

The result reports both the final size and dimensions, so you can confirm it meets the form's full spec before uploading.

Tips for strict upload forms

Read the whole requirement first - many forms constrain size and dimensions ('200×230 px, max 50 KB'). Resize to the required pixels first with Resize Image, then run the result through this tool for the KB limit. Aim slightly under the cap (45 KB for a 50 KB limit) since some portals measure size differently. And keep your original safe: compress a copy, not the only version of your passport photo.

Related tools

  • Image Converter — Convert images between JPG, PNG and WebP - one or many at a time.
  • Crop Image — Drag to select exactly the part of the image you want to keep.
  • Rotate Image — Rotate photos 90°, 180° or 270° without quality loss.
  • Flip Image — Mirror an image horizontally or vertically.
  • SVG to PNG — Render SVG vector files as PNG images at any resolution.
  • SVG to JPG — Convert SVG vectors to JPG photos with a white background.

See all image tools