Resize an image to a file size limit

Exam portals, job applications and government forms ask for a photo under a specific number of kilobytes — 20 KB, 50 KB, 100 KB. Most tools hand you a quality slider and let you guess. This one searches instead: it tries the sensible sizes and quality settings together, keeps every version that fits under your limit, and puts the best-looking one in front of you with the others one click away.

  1. Your image

    Drop an image here

    JPEGPNGWebP

    Your files are never uploaded.

  2. The limit

  3. Your file

How to resize an image to a size limit

  1. Add your image

    Drag in a JPEG, PNG or WebP, or click to choose one. It is read by your browser and never uploaded.

  2. Set the limit

    Type the ceiling your form asks for — 20 KB, 50 KB, whatever it says. If the form demands a JPEG, say so and the search will only produce JPEGs.

  3. Take the file, or pick a different one

    You get the version that fits and looks best. Every other version that fits is listed underneath with its size and dimensions, so you can choose differently if you disagree.

What you get

It hits the number, instead of asking you to find it

A quality slider is a guessing game: you drag it, export, check the size, and drag again. Here you state the limit once and the tool searches for the setting that lands just under it. There is no model and nothing to download — the work is your browser's own image encoder, driven properly.

It weighs pixels against quality, because a limit buys one or the other

At 20 KB you can have a small sharp image or a larger blurry one, and which is better depends on the picture. The search tries both — several sizes, each at the best quality that still fits — and compares the results against your original before recommending one.

The alternatives stay visible

The recommendation is a starting point, not a verdict. Every other version that fits your limit is listed with its own size and dimensions, and choosing one swaps it into the result. On a signature or a line drawing especially, your eyes are the better judge.

It tells you when the limit is impossible

Some ceilings cannot be met without destroying the image. Rather than handing you mush under a green tick, the tool says how close it got — so you know to ask for a different limit rather than uploading something unreadable.

Frequently asked questions

Is my photo uploaded anywhere?
No. The image is read, resized and encoded by your own browser, and never leaves your device. You can watch the network tab while you use it.
Which model does this use?
None — and that is the stronger claim here, not a weaker one. Resizing and encoding are built into every browser; this tool drives them well rather than adding a neural network that would need downloading and would not do the job better.
Why does it offer WebP as well as JPEG?
WebP usually reaches the same visual quality in noticeably fewer bytes, so under a fixed ceiling it buys you a larger, cleaner image. But many upload forms only accept JPEG. If yours does, choose JPEG only and the search will stay inside that.
My form wants exact pixel dimensions as well as a size limit.
Set the size limit here first. Dimension requirements vary by form and are worth reading off the form's own instructions rather than trusting any tool's preset, since a wrong preset looks authoritative and gets your upload rejected.
How does it decide which version looks best?
It compares each version against your original using a structural similarity measure, at the size the image will be seen at. That measure is good but not perfect — it is a little too forgiving of blur — which is exactly why every alternative stays listed instead of being hidden behind the recommendation.
Does resizing lose quality?
Yes, necessarily: fitting an image under a byte limit means throwing information away. The question is only which information, and that is what the search is choosing between. Keep your original — this tool never modifies it.