Home / Blog / How-to
How-to

How to Resize a Photo and Signature for an Online Form (KB and Pixels)

Forms ask for an exact pixel size, a file-size limit and a format, and reject anything that misses one. Here is how to meet all three, with tested numbers.

Short answer

Read the numbers on your own form: pixel size, file-size limit and format. Crop the picture, then enter the exact width and height and the KB limit in our compress-to-KB tool and keep JPEG. In our test, a photo cropped to 200 × 230 pixels came out at 17.8 KB, and a signature at 140 × 60 pixels came out at 2.6 KB. Nothing is uploaded: it all runs in your browser.

What do online forms ask for?

A form that takes a photo and a signature usually checks up to four things, and each one can cause a rejection on its own. Your form's instructions are the only authority, because the numbers differ from one form to the next. The table shows what each rule means and what to do about it.

The form saysWhat it meansWhat to do
Dimensions (for example 200 × 230 px)The picture must be exactly that many pixels wide and tallCrop, then enter the width and height
File size (for example "under 50 KB" or "20 to 50 KB")A maximum, and sometimes a minimum tooSet the KB limit; check the minimum afterwards
File type (JPG, JPEG)The format and the file extension must matchSave as JPEG, not WebP, HEIC or PNG
Centimetres or DPIA print size, not an upload sizeConvert to pixels (see the FAQ below)

DPI describes how many pixels are printed per inch, so it only matters on paper. For an upload, the pixel size and the file size decide whether the picture passes. This tool cannot set a DPI value, so if your form insists on one, check whether it is really enforced.

How to resize a photo to exact pixels and KB

  1. Choose the part you want to keep. The tool crops from the centre, so if the face is off to one side, crop the photo in your phone's editor first.
  2. Open the compress to KB tool and add the photo.
  3. Enter the exact size from your form in the Exact pixel size boxes, for example 200 and 230, and leave Crop to fill selected.
  4. Type the KB limit in the Target file size box and keep JPEG as the output format.
  5. Check the result row. It shows the old and new pixel size and the file size. Download the file when it matches your form.

The pixel size stays exactly as you set it, so only the quality is lowered to reach your KB limit. Your picture is processed in your browser and is not uploaded.

What do the numbers look like?

We took a 4305×6458 portrait-orientation photo of 9.3 MB from our own files, cropped it to 200 × 230 pixels with Crop to fill, and set a size limit. SSIM is a score of how similar the result is to the original at the same pixel size, where 1.0 means identical.

Size limit setPixelsFile sizeSimilarity (SSIM)
50 KB200×23017.8 KB0.996
10 KB200×23010.0 KB0.992

A 200 × 230 picture has few pixels, so it fits under a 50 KB limit with room to spare and still looks close to the original. File sizes here are in kilobytes of 1,000 bytes. The result row in the tool shows units of 1,024 bytes, so it reads about 2 percent lower. Your photo will give different numbers.

How do I resize a signature?

Sign with a dark pen on plain white paper, in bright and even light, with the phone held straight above the page so there are no shadows. Then crop tightly around the signature, because empty paper around it wastes pixels. Use the same tool and enter the size your form asks for.

We tested this with a signature-style image we drew ourselves, a 3000×1200 JPEG of 678 KB made to look like a phone photo of ink on paper. It is a test image, not a scan of a real signature.

SettingPixelsFile size
Exact 140 × 60, limit 20 KB140×602.6 KB
Exact 300 × 100, limit 50 KB300×1005.3 KB
No exact size, limit 20 KB1880×75219.7 KB

At 140 × 60 pixels the strokes were still readable but thin, so a thicker pen helps. The tool does not change colours, so a greyish paper tone stays grey. If your form wants a white background, photograph in brighter light or brighten the picture in your phone's editor first.

What if the form needs a minimum file size?

Some forms set a range, for example "between 10 and 20 KB". Our signature at 140 × 60 pixels came out at only 2.6 KB, which is well below a minimum like that. This tool only sets a maximum, and it cannot raise a file to a minimum size. If your form has a minimum, use the largest pixel size the form allows, which gives the file more detail and a larger size, and check the file size before you upload. Do not pad a file with extra data to make it bigger, because the form may reject it.

Why was my upload rejected?

These are typical causes. The exact wording of the message depends on the form.

ProblemLikely causeFix
File size over the limitToo many pixels or too high a qualitySet the KB limit in the tool
Wrong dimensionsThe size is off by even one pixelUse Crop to fill and enter the exact width and height
Invalid file typeHEIC from an iPhone, WebP or PNGChoose JPEG as the output format
Below the minimum sizeThe picture is too small or too simpleUse the largest allowed pixel size
Photo is blurry or cut offOver-compressed, or the crop missed the faceCrop first, then raise the KB limit if allowed

If the file meets every number and is still rejected, read the form's photo rules again. Some forms also check the background colour, the face position or when the photo was taken, and no resizer can fix those.

Is 1 KB 1,000 or 1,024 bytes?

Both are in use. Some systems count a kilobyte as 1,000 bytes and others as 1,024. The tool aims for 1,000 bytes per KB, so a file under your limit is also under it if your form counts 1,024. Leave a little room and do not aim for the exact limit.

Can I put the photo and signature in one image?

Some forms ask for them in a single file, with the photo on top and the signature below. This tool does not join pictures. Combine them in your phone's editor or a simple image program first, then set the size and KB limit here.

Is it safe to use an online tool for ID photos?

A photo and signature are personal, so check where the file goes. Some online resizers upload your picture to a server. This tool runs in your browser, so the picture stays on your device. It also removes hidden data such as Exif location when it re-encodes the picture. You can read how in our privacy policy.

Rule of thumb. use the exact pixel size and file-size limit printed on your own form, crop first, set both in the tool, save as JPEG and check the result row before you upload.

Quick answers

How do I resize a photo to 200×230 pixels and under 50 KB?

Open the compress to KB tool, add the photo, enter 200 and 230 as the exact size with Crop to fill, type 50 as the target and keep JPEG. In our test a cropped 4305×6458 photo came out at 17.8 KB, well under 50 KB.

What size should a signature be for an online form?

Use the size printed on your own form, because it differs between forms. Many forms ask for a small file, and our 140×60 test signature came out at 2.6 KB. Crop tightly around the signature and sign with a dark pen on white paper.

How do I convert centimetres to pixels?

Divide the size in centimetres by 2.54 to get inches, then multiply by the DPI. For example, 3.5 cm × 4.5 cm at 300 DPI is about 413 × 531 pixels. If the form gives a size in pixels as well, use that instead.

Why is my result smaller than the limit I set?

The tool does not add quality beyond a near-maximum level, and a picture with few pixels fits easily. A small file is fine unless your form also has a minimum size, which this tool cannot raise.

Can this tool set a DPI value?

No. It sets pixel size and file size only. DPI matters for printing, and upload checks usually compare pixels and kilobytes, so check whether your form really enforces a DPI value.

Why does my form reject a JPG that meets the size?

It may also check the background colour, the face position, the photo date or the file extension. Read the form rules again, and check that the file ends in .jpg or .jpeg.

Are my photo and signature uploaded?

No. The resizing and compression run in your browser, so the files stay on your device.

Sources and further reading

Resize your photo and signature now

Set the exact size and the KB limit in your browser. Nothing is uploaded, and there is nothing to install.

Open the compress to KB tool