Resize Image to KB

Get a photo or signature under the KB limit an online form sets, at the pixel size it asks for. Everything happens in your browser.

Choose a photo or signature, or drop it here

JPG, PNG or WEBP. It stays on your device.

MinKB
MaxKB
Wpx
Hpx
Resized image preview

Your data stays in your browser

This tool runs on JavaScript inside your browser. Nothing you add here is uploaded to our server, so it works for confidential data too. How we handle data

  • No upload
  • Processed on your device
  • No account

Getting a photo or signature form-ready

  1. Choose the size range the form asks for, for example "Between 20 and 50 KB", or set your own minimum and maximum.
  2. If the form gives pixel or mm dimensions, pick them under Dimensions, or enter a custom width and height.
  3. For a scanned signature, tick Clean up a signature to turn the paper pure white.
  4. Choose your photo or signature. It's resized straight away and the final size in KB is shown.
  5. Check the preview and press Download JPG.

How does it hit an exact KB size?

It saves the picture as a JPG over and over at different quality levels, closing in on the highest quality that still fits under your limit. If you've fixed the pixel size, that's all it changes. If you haven't, it also shrinks the picture when that looks better than heavy compression: a smaller photo at 70% quality looks cleaner than a large one at 20%. Most images take under a second.

In our tests, a 7.5 MB, 12-megapixel photo came out at 47.7 KB for a "20 to 50 KB" form, and a 593 KB portrait cropped to 413 by 531 pixels came out at 46.8 KB at 90% quality.

Is 20 KB 20,000 or 20,480 bytes?

It depends on who built the form, and you can't tell from the outside. So the tool aims for both: it keeps the file under 20,000 bytes for a 20 KB maximum, and over 10,240 bytes for a 10 KB minimum. The file then passes whichever way the website counts.

What size is a 35 × 45 mm photo in pixels?

At 300 dpi, 35 by 45 mm is 413 by 531 pixels, and a 3.5 by 1.5 cm signature is 413 by 177. Those presets are built in. If the shape of your photo doesn't match, the tool crops the edges evenly, or adds white edges if you'd rather keep the whole picture. These are common sizes, not any one form's rules: always check the advertisement or portal for the exact pixels, KB range and background color it wants.

Does DPI matter for an online form?

Not for how the picture looks. On a screen only the pixels count. DPI is a number stored inside the file, and a few portals check it, so the tool writes 300 dpi by default. You can change it or leave it unset.

Why is my signature too small to reach 10 KB?

A clean signature is mostly plain white, which compresses extremely well. Our cleaned-up test signature at 413 by 177 pixels was only 10,001 bytes even at 100% quality, just short of a 10 KB minimum. Untick the clean-up option, or choose larger dimensions, and it will reach the range.

Only need a smaller file, with no exact size? The Image Compressor lets you pick the quality yourself, and the Image Resizer sets exact pixels. Need a white background behind your photo? Try Remove Background first. Our guide to resizing photos and signatures for online forms walks through a full application.

Questions people ask

How do I compress an image to 20 KB?

Choose "Between 10 and 20 KB" or a custom range with 20 as the maximum, then pick your image. The tool finds the best quality under 20 KB and shows the final size.

How do I resize a signature to between 10 and 20 KB?

Choose the 10 to 20 KB range and the 3.5 by 1.5 cm signature size, or your form's size. If the result is under 10 KB, untick the clean-up option or use larger dimensions.

Will my photo lose quality?

A little, because the file must get smaller. The tool always uses the highest quality that fits, and with free dimensions it shrinks the picture rather than dropping below 60% quality.

Does the KB size match what Windows shows?

Yes. Sizes are shown the way Windows shows them, with 1 KB as 1,024 bytes. The tool also keeps the file under the limit counted as 1,000 bytes per KB, so it passes on any website.

Can I resize a PNG with a transparent background?

Yes. Transparent areas become white, since the result is a JPG, which is what almost every form asks for.

Can I use it for iPhone HEIC photos?

Not directly. Most browsers can't open HEIC, so set your iPhone camera to "Most Compatible" or convert the photo to JPG first.

Related tools