Image editors · Passport and visa photo files

Get a passport photo into the KB limit and the right pixels.

Portals ask for pixels and a file size. Pick a millimetre size, set the largest KB your portal allows, and the photo is cropped, scaled and compressed on your device. It does not judge whether the photo meets the passport rules.

Two numbers every upload portal asks for

A passport or visa portal typically wants a width and height in pixels and a file size in kilobytes, often as a range. The printed photo is specified in millimetres. This page connects them: millimetres at a stated dots per inch give pixels, and a quality search gives the file size.

The arithmetic is simple. Pixels = millimetres divided by 25.4, times dpi. So 50 by 70 mm at 300 dpi is 590.55 by 826.77, which rounds to 591 by 827 pixels. 35 by 45 mm at 300 dpi is 413 by 531. Two inches at 300 dpi is 600. These presets are conversions of physical sizes, not rules published by an agency. Official digital requirements differ by country and change; always follow the instructions on the page that issued your application.

What one official source says

As one verifiable example, the UK government states that an online passport photo must be at least 600 pixels wide and 750 pixels tall and between 50 KB and 10 MB. Note the lower bound: this tool enforces a maximum only, so a very simple image could land under a portal's minimum. Check the result line and use the Image size finder if a minimum matters. Canada.ca specifies a printed photo of 50 by 70 mm with a face height of 31 to 36 mm, which the 50 by 70 preset converts to pixels. Neither figure is a guarantee for another country or for a different application route.

How the file size gets controlled

You choose either an exact pixel size from the menu (or by typing width and height) or "keep my pixels". With an exact size, the photo is centre-cropped to that shape, scaled, and then encoded at the highest JPEG quality that stays at or under your KB limit. The pixels never change, only quality, so the output matches the dimensions a portal demands. If even the lowest quality is over the limit, no file is made and the tool tells you the smallest size it reached. In that case raise the limit or choose smaller pixel dimensions.

Small pixel sizes of a plain-background portrait often fit under a generous limit at high quality, so the limit only pushes quality down when the photo is detailed or noisy. The result line always shows what happened.

What this tool deliberately does not do

A worked example

You photographed yourself against a white wall on an iPhone; the file is HEIC at 3,024 by 4,032 pixels. A portal wants 413 by 531 pixels at no more than 100 KB. Choose the file, pick "35 x 45 mm at 300 dpi (413 x 531 px)", change the limit to 100 KB, and press Resize. The tool decodes the HEIC, crops the centre to the 413 by 531 shape, scales it, and reports the size reached and the JPEG quality used. At those dimensions a plain-background portrait very often fits easily, so quality stays high and the limit never bites; the result line tells you for sure. If you need a minimum size, add detail by choosing larger pixels, not by padding the file.

Common mistakes

Frequently asked questions

Is my image uploaded to shrink it?

No. The photo is decoded, resized and re-encoded in this page on your device, inside a sandboxed frame whose security policy blocks network requests. Only you have the file.

What is the passport photo size in KB?

There is no single answer. File size limits are set by each portal, and some set only a maximum while others set a range. For example, the UK online photo service states 50 KB to 10 MB. Use the limit your own application states.

How do millimetres become pixels?

Divide the millimetres by 25.4 to get inches and multiply by the dots per inch. 50 mm by 70 mm at 300 dpi is 591 by 827 pixels. The presets do this for you.

Does this check that my passport photo is acceptable?

No. It does not detect faces, measure head size or check background, lighting or expression. It only resizes and compresses. Use the official requirements and, for Canada, the passport photo checker for framing.

My portal wants a minimum file size too. What do I do?

This tool enforces a maximum only. If the result is below a required minimum, choose larger pixel dimensions or a lower-compression source and check again.

Can I use an iPhone HEIC photo?

Yes. HEIC is decoded in this page and saved as a JPG, with orientation applied.

Is my photo sent to a server?

No. Cropping, scaling and compression all run inside this page in a sandboxed frame that blocks network requests, which matters for an identity photo.

Can I print the result as a passport photo?

Resizing for upload is different from print. The pixel presets assume 300 dpi, which suits printing, but print shops and authorities have their own rules about paper, framing and unaltered photos.

Sources

Checked

Runs entirely in your browser. Your files are not uploaded, stored or sent anywhere.

Advertisement
Advertisement