Photo file rules for online applications: pixels, KB and age

Last updated: 2026-10-22 · Checked and published by Leo, who runs Hanji

What US passport renewal, the Diversity Visa, the UK passport and exam portals ask of an uploaded photo, with file formats, KB limits and how recent it must be.

When an online application asks for a photo file, three things can reject it before a person ever looks at your face: the file is the wrong type, it is too big or too small in kilobytes, or the picture is the wrong shape in pixels. Each of these is set by the body running the application, so the same portrait can pass one form and fail the next. This guide collects what the official pages say for the applications people most often search for, and shows how to make a file that meets them.

The general size table for printed and passport photos is in ID and passport photo sizes in mm and pixels. This guide is about the upload itself: file type, KB range, pixel rules and how old the photo may be.

All figures were checked on 22 October 2026. Rules change between application rounds, so treat the table as a checklist of things to look for, and read the page your form links to before you upload. Where an official page gave no number, the table says so instead of guessing.

The rules side by side

Application File type, size and pixels How recent, and other rules
US passport, online renewal JPG, JPEG, PNG, HEIC or HEIF; 54 KB to 10 MB; no pixel size on the upload page Colour, taken in the last 6 months. You can crop while uploading; the page advises saving at the highest quality
US visa and Diversity Visa entry JPEG; 240 KB or less; square, 600 × 600 px minimum, 1200 × 1200 px maximum DV-2026 instructions: not older than six months. A photo reused from a previous year’s DV entry makes you ineligible
UK passport, online Type not stated; 50 KB to 10 MB; at least 600 px wide and 750 px tall Taken in the last month. Colour, in focus, plain light-coloured background, unaltered by software, nobody else in the picture

Four details that catch people:

  • US passport renewal and US visas are different. Passport renewal takes a large range of types and sizes (54 KB to 10 MB). Visa and DV uploads are strict: JPEG only, square, 240 KB at most. A file made for one is not automatically valid for the other.
  • The UK has a minimum, not just a maximum. A 50 KB lower bound is unusual. A tiny file is rejected for the same reason a huge one is.
  • “Square” is a pixel rule, not a head-size rule. A 600 × 600 file is valid for the visa upload, but the head must still fill the right share of the frame. The DV instructions give the head height as 50 to 69 percent of the image height.
  • A scanned print has its own rule. The DV instructions say a scanned photo must be a 2 × 2 inch print scanned at 300 ppi, so that the scan is 600 × 600 px.

How exam and job portals usually state their limits

Outside government forms, photo rules follow a pattern. Looking at the official pages for several exams and portals, the same items come up each time:

  1. File type, usually JPG or JPEG. Some add PNG or GIF.
  2. A KB or MB ceiling, which varies enormously. In the pages we checked it was 240 KB for the US visa, 350 KB for Korea’s national civil-service exam, 500 KB for the Korean CSAT (national college entrance exam), and 20 MB for one Japanese prefecture’s recruitment form.
  3. Pixels, as either an exact size, a recommended size with a wider accepted range, or a “no more than” figure. The 2027 Korean CSAT asks for 413 × 531 px at 300 dpi and accepts 395 to 431 px wide and 507 to 550 px tall.
  4. How recent the photo is. Six months is the most common limit in the pages above (the CSAT, the US passport and the Diversity Visa, the Aomori prefecture form), but the UK asks for one month. The TOEIC test in Japan also asks for a photo taken within six months, but that one is a paper photo brought on test day, not a file.
  5. Whether you upload at all. Some exams only want a print on the day. For Japan’s TOEIC Listening & Reading test, IIBC’s FAQ says no photo is needed when you apply.

If the page you are reading gives no number, do not guess one. Use the file the form’s own upload dialog accepts, and keep the original so you can try again with a different size.

Making the file with Hanji

Everything below happens in your browser. Nothing is uploaded.

  1. Make the portrait at the right shape. Open the ID photo maker, or use US passport and visa or UK passport directly. Their guide lines show where the crown and chin go.
  2. For any other size, use “Custom size (enter mm)”. In the ID photo maker, choose it in the format list and type the width and height in millimetres. At 300 dpi, 50.8 × 50.8 mm gives exactly 600 × 600 px, and 50.8 × 63.5 mm gives 600 × 750 px.
  3. Type the form’s KB limit into “File size limit (KB)”. The photo keeps its pixel size and is saved at the highest JPEG quality that fits the limit. Hanji counts 1 KB as 1,000 bytes, which is the safer reading, so the file passes whichever way the form counts.
  4. Set an exact pixel size in Resize Image if the form wants one and you did not use the custom size.
  5. Shrink a photo you already have in Compress Image, for example to 500 KB or 100 KB. It lowers quality first and reduces the pixels only if it must, so use it when the pixel size does not have to match exactly. For a fixed-size portrait, use steps 2 and 3 instead.
  6. Fix the shape in Crop Image if you have a photo that is nearly right but the wrong proportions.

What we measured

We made a portrait with the ID photo maker’s custom size at 300 dpi, once as 600 × 600 px (the visa shape) and once as 600 × 750 px (the UK minimum), using the NASA test portrait that our own tests use (public domain, about 62 KB). The sizes below are the downloaded files, measured on 22 October 2026 with the same build that is live on hanji.page.

KB limit entered 600 × 600 px 600 × 750 px
None 70 KB 83 KB
240 KB 70 KB 83 KB
100 KB 70 KB 83 KB
50 KB 50 KB 50 KB

Two things to read from this. First, a plain studio-style portrait at these pixel sizes is already far below 240 KB, so for the US visa and DV the limit is easy to meet when you start from the right size. The usual cause of a “file too large” message is uploading the phone original. Second, typing 50 KB made both files smaller than 50,000 bytes (49,351 and 49,409 bytes). That is exactly right for a 50 KB ceiling, but it would be too small for the UK’s “at least 50 KB” rule. For the UK, leave the limit empty; our 600 × 750 file without a limit was 83 KB, inside the 50 KB to 10 MB range. A different photo will give different numbers, and busy hair or clothing makes a file bigger. The pixel size alone does not decide the KB. For the principle behind this, see Photo too large to upload?.

Last checks before you upload

  • Open the file’s properties and read the pixel size and the file size. Compare them with the form, not with what you remember.
  • Do not rename a .heic file to .jpg. Convert it with HEIC to JPG. The US passport renewal page accepts HEIC, but the visa upload accepts JPEG only.
  • Do not retouch. The UK asks for a photo unaltered by software, and the Korean CSAT forbids editing the original image in a program.
  • Check the date of the photo against the rule above. A photo that is a few months old can fail a one-month rule.

Sources

Checked on 22 October 2026. Pages change; the date on the page you open is the one that counts.

Guides