Resize Image to KB

Make a photo land inside the KB range a form asks for, at the pixel size it asks for.

Updated

Upgrade to Pro for unlimited use, larger files, and saved templates.
Drop an image here, or click to browse
One image at a time on Free. Pro and Pro+ do batches.

KB here: the file is kept above your smallest value counted as 1 KB = 1,024 bytes and below your largest counted as 1 KB = 1,000 bytes, so it passes a form whichever way it counts.

How the size is reached

A JPEG gets smaller as its quality number drops. The server encodes your picture at different qualities and homes in on the highest one that still fits under your largest size, so you keep as much detail as the limit allows.

If you did not ask for exact pixels and even a low quality is too big, the picture is scaled down a little and the quality search runs again. If you asked for exact pixels, they are never changed: when the limit cannot be met at that size you get a plain error telling you to raise the limit or use fewer pixels.

If your picture is already smaller than the minimum a form wants, the file is padded with JPEG comment data until it reaches the minimum. The pixels are not touched and the file stays a normal baseline JPEG; the result card says how many bytes were added.

A KB is counted two ways on the web, 1,000 or 1,024 bytes. To pass either way the file is kept above your smallest value times 1,024 and below your largest value times 1,000. Images are processed in memory and not stored.

How to resize an image to a target size in KB

  1. 1
    Pick the size rangeTap a quick range (10 to 20 KB, 20 to 50 KB, 50 to 100 KB, under 100 KB or under 200 KB) or type your own smallest and largest KB.
  2. 2
    Add pixel size if the form asksTick Exact pixel size and enter width and height. The pixels are then kept exactly and only the JPEG quality moves.
  3. 3
    Drop the image and downloadThe tool tries qualities until the file fits, shrinks the picture only if it has to, and downloads a JPG with the final KB, pixels and quality shown.

Frequently asked questions

Why is my file not exactly 20 KB?
It is somewhere inside the range you set, and as close to the top as the quality search can get, because forms ask for a range or a maximum, not an exact byte count. For a narrow target, set the smallest and largest KB a few KB apart.
Can I keep my pixel dimensions and still hit a KB limit?
Yes: tick Exact pixel size. Only the JPEG quality changes. If the limit is too small for that many pixels even at the lowest quality, the tool says so instead of returning a file that fails the form.
What if my image is smaller than the minimum KB?
The file is padded with JPEG comment data until it reaches the minimum. The picture itself is unchanged and decoders ignore the padding. The result card tells you how much was added.
Does it output PNG or only JPG?
Only baseline JPG, because KB limits on forms are almost always for JPEG and baseline files are the safest for upload scripts. Use the Image Format Converter for other formats.
How many images can I do for free?
Free is 3 images a day, one at a time, up to 5 MB each. Pro is 300 a day in batches of up to 50 as a ZIP with a CSV report, 15 MB each. Pro+ is 2,000 a day, 200 per batch, 30 MB each, and API access.
Is the image I shrink to a KB size stored anywhere?
No. It is processed in memory and discarded when the file is returned. Only a usage count for your daily limit is recorded.

Related tools

See all 135 free tools

Starting a brand or refreshing one?

We design identities, marks, and visual systems that carry across product and marketing.

Built by CountryDevs · No signup · No ads · We count visits, never what you enter