Passport Photo Maker

Crop to an exact passport, visa, or ID size, remove the background with on-device AI, and export a 300 DPI photo or print sheet. Nothing is ever uploaded.

1

Choose a size

35 x 45 mm

Final export size:413 x 531 px @ 300 DPI

2

Upload or capture a photo

3

Crop & position your face

Upload a photo in step 2 first.

Your photo will appear here
4

Remove background

Upload a photo in step 2 first.

5

Background color

Remove the background in step 4 first.

6

Adjust & preview

Finish steps 2-5 above to see the live preview here.

Your preview will appear here
7

Download

Finish steps 2-6 above to enable downloading.

For online forms with a strict upload size

What is the Passport Photo Maker?

A passport photo maker crops any photo to the exact pixel dimensions a passport, visa, or ID application requires, and swaps in a plain, approved-color background โ€” all without a studio visit or a phone app that uploads your face to a server.

This tool covers the sizes most people actually need: 35x45mm for India, UK, and Schengen passports; 2x2 inch (51x51mm) for US passports and India visa/exam forms; and the commonly used dimensions for PAN card and Aadhaar enrollment photos. A Custom option lets you type any size in millimeters, inches, or pixels directly if a form asks for something else entirely.

Everything โ€” the crop, the AI background removal, the brightness/contrast/straighten adjustments, and the final export โ€” happens on-device in your browser. Nothing you upload here is ever sent to a server.

How to use it

  1. Pick the country or document size you need from the preset list, or choose Custom and enter your own width and height.
  2. Upload a photo or capture one with your webcam, then open the crop tool โ€” it locks to the exact ratio for your chosen size so you can position and resize the selection freely.
  3. Click Remove Background to let an on-device AI isolate you from your surroundings, then pick a white, off-white, or light blue replacement background (or a custom color).
  4. Fine-tune brightness, contrast, and straighten the shot with the sliders, watching the live preview update instantly as a canvas re-render.
  5. Choose a single 300 DPI photo โ€” optionally capped to a file size like "under 20 KB" for a strict online form โ€” or a ready-to-print sheet of 4, 6, 8, or 12 copies on 4x6" or A4 paper, then download.

How it works, and why it's private

Every size preset is converted to exact pixels at 300 DPI โ€” the resolution printers and most government portals expect โ€” so a 35x45mm photo exports at precisely 413x531 pixels, not an approximation. The crop tool (shared with this site's other image tools) locks its selection to that exact ratio, so whatever you frame in the box is exactly the ratio your document or portal expects.

Background removal runs Google's MediaPipe image segmentation model entirely on your device via WebAssembly, after a one-time model download on first use; your photo is never sent anywhere. The isolated subject is then composited onto a solid color canvas. Brightness, contrast, and straighten are applied as a canvas filter and rotation directly on that composited image โ€” a small scale-up keeps the straighten rotation from leaving empty corners โ€” and the preview re-renders live as you move each slider.

The file-size-limit option runs a binary search over JPEG quality: it repeatedly re-encodes the final photo at different quality levels and checks the resulting file size, narrowing in over about seven steps until it finds the highest quality that still fits under your chosen limit (20, 50, or 100 KB) โ€” exactly what most online government and exam-form uploaders ask for. The print sheet is rendered the same way, tiled onto a paper-sized canvas at 300 DPI with thin cut lines between copies.

Example

A 35x45mm India passport photo, from a phone snapshot:

Preset: India Passport (35x45mm) -> crop tool locks to that ratio and exports at 413x531 px
Remove Background -> AI isolates the subject; background set to white
Brightness +5%, Straighten +2 degrees -> face lit evenly and level
Output: Single photo, Under 50 KB -> ready to upload to an online passport application form

Frequently asked questions

What exact pixel size is a 35x45mm passport photo?

At the standard 300 DPI print resolution, 35x45mm works out to 413x531 pixels (35/25.4*300 by 45/25.4*300). This tool computes and exports that exact size โ€” and the equivalent exact size for every other preset โ€” rather than an approximation.

Does this work for India, US, UK, and Schengen passport photos?

Yes. India, UK, and Schengen passports all use 35x45mm; US passports and India visa/exam forms use 2x2 inch (51x51mm). PAN card, Aadhaar, and exam-form presets use their commonly used sizes, and a Custom option covers anything else in mm, inches, or pixels.

Is my photo uploaded anywhere?

No. The crop, the AI background removal (MediaPipe's on-device model, run via WebAssembly), the brightness/contrast/straighten adjustments, and the final JPG export all happen locally in your browser. Only the AI model file itself is fetched from a public CDN the first time you use background removal โ€” your photo never leaves your device.

Can I print multiple copies on one sheet?

Yes โ€” switch to "Print sheet", pick 4x6 inch or A4 paper and a copy count (4, 6, 8, or 12), and download one JPG with your photo tiled into a grid with thin cut lines between copies, sized to fit as many as cleanly fit that paper at your chosen photo size.

How do I get my photo under a specific file size for an online form?

In the Single photo output section, set "File size limit" to Under 20 KB, 50 KB, or 100 KB. The tool re-encodes the JPG at different quality levels and picks the highest quality that still fits under that limit, which is exactly what most government/exam portals require.