How to prepare a photo for an upload form

Exam portals, job applications and government forms rarely set just one rule. A typical requirement reads something like "JPG, 200 × 230 pixels, under 50 KB": an exact pixel size, a file-size limit and a format, all at once. Fixing them one at a time in separate tools is where photos get rejected, because a size tool can quietly shrink the pixels you were told to keep. This guide shows how to meet every rule in one pass and check the file before you upload it.

The fastest way

Open Prepare Image for Upload, choose your photo, type in the rules from the form, adjust the crop and press Prepare image. It keeps the pixel size you set, lowers only the quality to fit under the KB limit, and then checks the finished file against each rule. You can only download a file that passed every check. Everything runs in your browser; the photo is never uploaded.

Read the form's rules first

Before you touch the photo, write down exactly what the form asks for:

Step by step

  1. Open Prepare Image for Upload and choose your photo (JPG, PNG or WebP).
  2. Under The form's rules, type the width, height and maximum file size. Leave a box empty if the form does not set that rule.
  3. Set 1 KB means. If the form doesn't say, choose 1,000 bytes: it is the stricter limit, so the file passes either way.
  4. Pick the Format the form accepts. For photos, JPEG is the safe choice. If you choose JPEG and the photo has transparent areas, pick the background colour to fill them with.
  5. Drag the crop box over the part of the photo you want. For an ID photo that is usually the head and shoulders. If you set both a width and a height, the crop box is locked to that shape so the photo is not stretched; otherwise choose a Crop shape first.
  6. Press Prepare image. The tool finds the highest quality that still fits under your limit.
  7. Read the checks. Each rule shows Pass, Fail or Not confirmed, with the real format, the exact byte count and the decoded width and height. When everything passes, press Download.

When the rules can't all be met

A tiny KB limit on a large pixel size can be impossible at a quality that still looks like a photo. When that happens the tool tells you which rule fails and offers the changes that could fix it:

Why one pass beats three tools

The usual approach is to crop in one tool, resize in a second and compress in a third. Each step downloads a new file, and each new file is recompressed, which costs quality. Worse, a "compress to KB" tool often shrinks the pixel size to reach a small limit, so a photo that was exactly 200 × 230 comes out at 160 × 184 and the form rejects it. Preparing the photo in one place, from the original, avoids both problems. If the form only sets a KB limit and nothing else, Resize Image to KB is the simpler tool; the compress to a KB size guide covers that case.

A note on privacy

Upload-form photos are often ID, passport or signature photos. Prepare Image for Upload reads, crops, compresses and checks the photo on your own device. It is never uploaded or saved, and it is gone when you close the tab or press Clear.

Open Prepare Image for Upload →

Common questions

The form says 200 × 230 pixels and under 50 KB. Which rule matters more?

Both have to pass, or the form rejects the file. The safe order is to keep the pixel size exact and lower the compression quality until the file fits under the KB limit. Shrinking the pixels to save bytes would break the pixel rule.

Does the form mean 1,000 or 1,024 bytes per KB?

Forms rarely say. If you are not sure, treat 1 KB as 1,000 bytes. That is the smaller limit, so a file that passes it also passes a form that counts 1,024 bytes per KB.

Why is my file smaller than the limit, not exactly the limit?

Compression cannot land on an exact byte count. The best you can do is the highest quality that still fits, which is usually a little under the limit. Forms check that the file is at or below the limit, so that is what you want.

What if the rules can't all be met?

A very small KB limit on a large pixel size can be impossible at a quality that still looks like a photo. Then you have to change something: allow a lower quality, save as JPEG instead of PNG, crop out busy background, or check whether the form really requires that pixel size. A good tool tells you which rule fails instead of handing you a file that will be rejected.

Will this make my photo valid for a passport or visa?

It only covers the technical rules: format, file size and pixel size. Agencies also set rules about the photo itself, such as background colour, lighting, expression and head position. Check those on the agency's own website.