Founder launch50% off for the first 50 customers — code FOUNDING50 is applied automatically at checkout
Photo size · up to 900×900 px

The 900×900 photo — the OCI upload limit, and the window under it.

900×900 pixels is a cap, not an exact requirement. The OCI services portal publishes an upload window: a square JPEG up to 900 × 900 pixels, at most 200 KB. Anything square, JPEG, and under both ceilings passes the ruler — which is also why the smart conversion target is the cap itself, the largest file the portal will take. The full spec is below, then the honest way to get a compliant file out of a phone photo, and where to go when the upload bounces.

Convert my photo for the OCI upload — see it free

The specification

The 900x900 OCI photo spec, in one table

The upload window as the portal publishes it, plus the composition rules from the official OCI photo specification — verifiable at the source linked at the bottom of this page:

OCI portal uploadSquare JPEG up to 900 × 900 px, max 200 KB
Our output900×900 pixels, square — the top of the window
File size8 KB – 200 KB
FormatJPEG
Head height49–69% of the photo's height
Eye height55–69% up from the bottom of the photo
BackgroundPlain, light-coloured background

The full rulebook — expression, glasses, lighting — lives on the OCI photo requirements page.

Up to, not exactly

What “up to 900x900” means

Most portal pixel specs are floors or exact figures — the US DS-160 sets a 600×600 minimum, a DV lottery entry takes exactly 600×600. The OCI upload is the other shape: a ceiling. The portal accepts a square JPEG up to 900 × 900 pixels and up to 200 KB, so a 700×700 file under the byte cap goes through just as a 900×900 one does. What never goes through: a file over either ceiling, a rectangle, or a non-JPEG.

So why does our OCI flow output 900×900 pixels, square? Because the top of a window is the only spot in it with nothing to lose. A file at the cap carries the most detail the portal will accept, and there is no larger size for it to be rejected against — downscaling is always possible, upscaling never adds anything real. That is the one case where treating the cap as the target is correct; treating it as a requirement, and telling you your 800×800 file is “wrong,” would not be.

The conversion

How to convert a photo to 900x900 pixels

A generic image resizer can square a photo and scale it under 900×900. It cannot place the crop, clean the background, or land the byte size in the same pass — and those are what the OCI photo actually gets judged on. Four things have to happen to a phone photo, in order:

  1. The square crop, placed correctly — not centered — so the head lands at 49–69% of the photo's height and the eyes 55–69% up from the bottom of the photo.
  2. The background replaced. Plain, light-coloured background, edge to edge.
  3. The resize to 900×900 pixels, square — the top of the portal's window.
  4. The compression into the byte window: 8 KB – 200 KB, as a JPEG, without visible artifacts.

That is what the OCI flow here does, server-side, from a single upload — JPEG, PNG, WebP, or HEIC straight off the phone, no pre-cropping. To be honest about the limits: this is not a general-purpose resizer. It produces the fixed sizes governments publish — 900×900 among them — not arbitrary dimensions. And the OCI flow is digital-only: the portal takes a file, not paper, so there is no print sheet.

Already have a file you think fits the window? The free OCI photo checker measures it against the spec as-is and alters nothing.

When it bounces

Searching 900x900 because the upload just failed?

Most people meet this number mid-error, not mid-planning. When the OCI portal bounces a photo, the cause is nearly always one of four:

  • Over 200 KB. The most common. Phone camera files run megabytes; the cap is a fraction of one.
  • Not a JPEG. HEIC originals and PNG screenshots fail on format alone.
  • Not square, or over 900 pixels on a side. A portrait photo is never square until you crop it; an uncompressed original can also overshoot the pixel cap.
  • Geometry. The file fits the window, then fails on head height, eye height, or background.

The step-by-step recovery — what each message means and the exact fix for it — is on the OCI photo upload failed page. Start there if you are staring at an error right now; come back here if you just want a file that fits the window the first time.

The equivalence

900x900 pixels vs the 2x2 inch print

The OCI application's print size is 2 × 2 inches (51 × 51 mm) — the same square frame as a US passport photo. The digital file and the print are the same photo at different densities, and the arithmetic is simple: 900 pixels across a 2-inch print is 900 ÷ 2 = 450 pixels per inch. Compare the US DS-160, whose 600×600 file over the same 2 × 2 inch frame works out to 300 pixels per inch — the 600x600 page covers that spec end to end.

Same frame does not mean same photo, though: each spec places the head differently inside it, so a file composed for one should be re-cropped for the other, not just rescaled. Every country's frame and portal window, side by side, is on the passport photo size chart.

Questions

Fair questions, straight answers.

Does my OCI photo have to be exactly 900x900 pixels?

No. 900 × 900 is the ceiling, not the target — the OCI portal publishes an upload window capped at 900 × 900 pixels and 200 KB, so a smaller square JPEG under the byte cap goes through too. Making the file at the cap is still the sensible move: it is the largest, sharpest file the portal will take, and there is no size above it to bounce off.

Why does my OCI photo upload keep failing?

Usually the file, not the face: over the 200 KB cap, not a JPEG, or not square. Phone camera originals fail all three at once — they are portrait-shaped, several megabytes, and often HEIC. If the file measures fine and still bounces, the geometry is next: the OCI spec wants the head at 49–69% of the photo’s height with the eyes 55–69% up from the bottom, on a plain, light-coloured background.

What is the file-size cap for the OCI photo upload?

200 KB, as a JPEG. The window our OCI flow targets is 8 KB – 200 KB — comfortably inside the cap without compressing the photo into visible artifacts. A phone original is typically ten times the cap or more, which is why compression is part of the conversion, not an afterthought.

Is a 900x900 photo the same as a 2x2 inch photo?

Same square frame, higher pixel density. The OCI application’s print size is 2 × 2 inches (51 × 51 mm); a 900 × 900 file printed at 2 × 2 inches works out to 450 pixels per inch (900 ÷ 2 = 450), versus the 600 × 600 file the US DS-160 uses, which is the same print at 300 pixels per inch. The frame matches — the composition rules do not automatically match, so a photo cropped for one spec should be re-cropped, not just resized, for the other.

Does converting to 900x900 mean the photo will be accepted?

No — and nobody honest will tell you otherwise. Dimensions and file size are the gates a portal can measure instantly; the photo itself still has to put the head at 49–69% of the frame, the eyes 55–69% up from the bottom, on a plain, light-coloured background. What can be promised is the measurable spec — which is why the finished photo and its full report are shown to you before you pay anything.

One photo in. The OCI window out.

See your finished photo free. Pay only when it passes.

Convert my photo