Browser-based image tool · JPG or PNG → exact millimetre size

Passport and ID Photo Maker

Crop a photo to 35 × 45 mm, 35 × 35 mm, 2 × 2 inch or your own size at 300 or 600 DPI, then save the single photo or a 4 × 6 inch sheet of copies ready for a print shop. The photo is cropped and saved inside this browser tab.

Photo and size

One JPG or PNG, up to 25.00 MB and 50 megapixels.

Drop a photo here or click to choose

.jpg, .jpeg, .png

Output: 413 × 531 px at 300 DPI.

Zoom in until the head fills the frame as the rules you follow require.
0% is the top of the photo, 100% the bottom.
Line the face up with the dashed centre line.

This tool sets the size and crop only. It does not check head size, background colour, lighting, expression or any other rule of the office, embassy or website that will accept the photo. Check their current requirements before you print or submit.

Preview

35 × 45 mm crop, and the whole photo with the crop outlined

Add a photo to see the crop.

Download

The saved file carries its DPI, so it prints at 35 × 45 mm when printed at 100% scale.

8 copies fit (4 × 2) on a landscape sheet of 1800 × 1200 px at 300 DPI, with thin grey cutting lines.

Passport and ID Photo Maker

Operator: Abdulla Al Fahad. How tools are built and checked

An ID photo form rarely asks for pixels. It asks for millimetres: 35 by 45, 35 by 35, or two inches square. A phone camera, on the other hand, only knows pixels, and its pictures are a different shape from any of those sizes. Getting from one to the other means choosing a crop with the right proportions and then deciding how many pixels should stand for each millimetre. That second number is the DPI, and it is the part most people never see.

The Passport and ID Photo Maker does both steps. You pick a size, pick 300 or 600 DPI, slide a crop window over your photo until the face sits where you want it, and save either the single photo or a sheet of copies sized for 4 × 6 inch photo paper or A4. The saved file records its DPI, so a print dialog set to 100% scale prints it at the millimetre size you chose rather than whatever size fits the page.

Key features

  • Presets for 35 × 45 mm, 35 × 35 mm and 2 × 2 inch, plus a custom size from 10 to 100 mm per side.
  • 300 or 600 DPI, with the exact output size in pixels shown before you save.
  • Zoom from 100% to 400% and separate sliders for moving the crop up, down, left and right; the crop never leaves the photo, so there are no padded edges.
  • A live preview of the cropped photo with a centre guide, next to the full photo with the crop area outlined.
  • A warning when the crop would have to be enlarged, with the effective DPI it would really have.
  • Single photo as JPG at quality 95 or as PNG, with the DPI written into the file.
  • A print sheet for 4 × 6 inch paper or A4, with a gap and edge margin from 0 to 10 mm and thin grey cutting lines.

What it produces

The pixel size is the millimetre size divided by 25.4 and multiplied by the DPI, rounded to the nearest whole pixel. At 300 DPI, 35 × 45 mm becomes 413 × 531 px and 35 × 35 mm becomes 413 × 413 px. The 2 × 2 inch preset is stored as 50.8 mm on each side, which gives exactly 600 × 600 px at 300 DPI and 1200 × 1200 px at 600 DPI. A custom size can be anything from 10 to 100 mm on each side, in half-millimetre steps.

A JPG is saved at quality 95 with its JFIF header set to the chosen DPI. A PNG gets a pHYs chunk holding the same density as pixels per metre, which is how PNG stores it. The print sheet is always made at 300 DPI as a JPG: 1200 × 1800 px for 4 × 6 inch paper and 2480 × 3508 px for A4. When more copies fit with the paper turned sideways, the sheet is saved in landscape, so a 4 × 6 sheet may come out as 1800 × 1200 px.

How it works

The photo is checked by its first bytes, so a renamed file of another type is refused, and its pixel count is read from the header before anything is decoded; files over 25 MB or 50 megapixels are rejected. The browser then decodes it with its EXIF orientation applied, so a portrait taken with the phone turned sideways appears upright.

The crop starts as the largest rectangle with your chosen proportions that fits inside the photo. Zoom divides its width and height, and the two sliders place it within the space left over: 0% is the top or left edge, 100% the bottom or right. Because the window can only move inside the photo, it never shows blank margins.

When you save, the crop is copied at full resolution and then scaled to the target size in halving steps, which keeps fine detail such as hair and eyelashes from turning jagged. The sheet layout tries the paper in both orientations, fits as many whole copies as the gap and margin allow, centres the grid, and keeps whichever orientation holds more copies.

Typical uses

  • Someone renewing a document online needs a digital file of an exact pixel size and does not want to book a studio visit just to get one.
  • A student applying for a visa needs four printed copies of the same picture and wants them all on one 4 × 6 inch print, cut apart along the grey lines.
  • An office manager making staff ID cards needs every portrait cropped to the same custom 30 × 40 mm box so the card template lines up.
  • A parent prepares a square photo for a school or club membership card that asks for 35 × 35 mm.

Building one

  1. Drop a JPG or PNG photo onto the box, or click it to choose one.
  2. Choose a photo size, or Custom and type the width and height in millimetres.
  3. Choose 300 or 600 DPI.
  4. Use Zoom until the head fills the frame as required, then move the crop so the face is centred.
  5. Pick JPG or PNG and click Download photo for a single file.
  6. Choose the print sheet paper and gap, check the number of copies, and click Download print sheet.

Example

Phone photo and settings

A 3024 × 4032 px portrait from a phone camera
Size: 35 × 45 mm, 600 DPI
Zoom: 200%, crop centred
Print sheet: 4 × 6 inch, 2 mm gap

What the tool produces

Crop taken from the photo: 1512 × 1944 px, starting 756 px from the left and 1044 px from the top
Single photo: 827 × 1063 px, saved with 600 DPI in the file
No enlargement warning: the crop holds about 1097 DPI at 35 mm wide
Print sheet: 1800 × 1200 px landscape at 300 DPI with 8 copies (4 × 2) of 413 × 531 px
At 400% zoom the crop shrinks to 756 px wide, below the 827 px needed, and the warning appears

Tips for best results

  • Leave space around the head when you take the picture. The zoom slider can only crop inwards, so a photo framed tightly at the shoulders leaves no room to move the crop up or down.
  • Use the zoom slider first and the position sliders second. Zoom sets how much of the frame the head fills; the sliders only move the window.
  • Line up the nose with the dashed centre line in the preview. A face that is a little off-centre is easy to miss at thumbnail size and obvious on a print.
  • Pick 600 DPI only if the place that accepts the photo asks for it or your crop has plenty of pixels. A sharp 300 DPI file prints better than an enlarged 600 DPI one.
  • Print the sheet with scaling switched off, often labelled Actual size or 100%. Fit to page will shrink or stretch the copies.

Things to check before you rely on it

Zooming in too far on a small photo forces the tool to enlarge it, and enlarged pixels print soft. The warning under the sliders shows the real resolution of your crop; if it reads well below the DPI you picked, zoom out or start from a larger original.

Screenshots of a photo, or a photo saved from a messaging app, often have far fewer pixels than the camera original. Use the file straight from the camera roll.

The tool cannot make a background whiter or remove shadows. If the wall behind you is grey or patterned, that is what the photo will show.

A 2 × 2 inch photo is exactly half the width of 4 × 6 inch paper, so two copies side by side only fit with no gap and no margin. With a gap of even 1 mm, only two copies fit on the sheet instead of six.

Some print kiosks crop the edge of a 4 × 6 print. Keeping a 2 mm margin protects the outer copies, at the cost of the 2 × 2 inch layout described above.

Common errors and how to fix them

The photo is refused as "not an image this tool recognises".
The file is not a JPG or PNG inside, whatever its name says. Open it in your photo app and export or save it as JPG.
A HEIC portrait is refused before the crop window appears.
The crop and DPI fields need a JPG or PNG to work on. Export the portrait as JPG from your photo app, then drop it in again; zoom and position start fresh at 100% and centred.
The amber warning says the photo will be enlarged.
Your crop has fewer pixels across than the output needs. Lower the zoom, switch from 600 to 300 DPI, or use the original photo instead of a resized copy.
The printed photo is the wrong size.
The print dialog scaled it. Set the scale to 100% or Actual size and turn off Fit to page or borderless expansion.
The sheet says no copy fits.
The custom size plus twice the margin is wider or taller than the paper in both orientations. Reduce the gap or switch from 4 × 6 inch paper to A4.

Best practices

  • Look up the current photo requirements of the office, embassy or website that will accept the picture before you start, and check them against the preview, especially head height and the space above the head.
  • Keep the original photo. If the photo is rejected for its crop, you can make a new one without taking the picture again.
  • For an online form with a file size limit, save both formats once and compare: the size of each file is shown after it is saved, and a lossless PNG of a photo can be noticeably larger than the JPG.
  • Print a test sheet on plain paper and measure one copy with a ruler before paying for photo paper.

Why DPI matters only once the photo is printed

On a screen, a 413 × 531 px image and an 827 × 1063 px image of the same face look the same once they are scaled to fit the window. The difference appears on paper. At 300 DPI, 413 px covers 35 mm; at 600 DPI, it takes 827 px to cover the same 35 mm, so the print has twice as many dots in each direction.

An upload form that states a pixel size is asking about the pixel count, which is fixed once the file is saved. A print dialog set to 100% scale is different: it can use the DPI stored in the file to decide how large to print. That is why this tool writes the DPI into every file it saves. The print sheet is made at 300 DPI, so each 35 mm of photo is 413 px on the sheet whichever DPI you chose for the single photo.

Why the head position is set by hand

It does not find your face, measure your head or judge whether the photo meets anyone's rules. The crop is placed only where you put it with the sliders. It also does not replace or lighten the background, retouch the skin or remove red-eye.

Those limits are deliberate: rules for head size, eye level, background colour, glasses and expression differ between the bodies that issue documents and change over time, and a tool that claimed to check them could give false confidence. Read the requirements published by whoever will accept your photo and compare them with the preview yourself.

  • No automatic face detection or centring.
  • No background removal, colour correction or retouching.
  • No check against any official size, head height or composition rule.
  • The print sheet is a JPG at 300 DPI; a PDF sheet is not offered.

Frequently asked questions

Which size should I choose?

Use the size printed on the form or published by the office that accepts the photo. The presets cover three sizes that are often requested; if yours is different, pick Custom and type it in millimetres.

Why is the 2 × 2 inch preset 600 px and not 602 px?

Two inches is exactly 50.8 mm. Rounding it to 51 mm would give 602 px at 300 DPI, so the preset keeps the exact value and produces 600 × 600 px.

Can I fit more copies on the sheet?

Lower the gap and margin, or choose A4. A 35 × 45 mm photo gives 8 copies on 4 × 6 inch paper with a 2 mm gap and 30 copies on A4 with the same gap.

Does the photo keep its EXIF data, such as location?

No. The saved file is written fresh from the cropped pixels, so camera details and GPS coordinates from the original are not copied into it. Only the DPI value is added.

Will the photo be accepted?

The tool cannot tell you that. It produces the size and crop you set, and acceptance depends on rules this tool does not check, so compare the result with the official requirements before printing or submitting it.