Positioning
How the face is aligned
AI detects your face, aligns and crops automatically.
Photo size
Pick a document or enter your own size
Country
Document Type
Output with these settings: 307 × 378 px · 26.0×32.0mm · Background: White · The EU's smallest official passport-photo format (26x32mm) — noticeably different from the 35x45mm used by other EU countries, don't accidentally pick the Schengen template instead.
White only.
Official Spain DNI & Passport photo: 26×32 mm, head height 22.0–26.0 mm, background White. Upload a photo or take one with the guided camera — alignment, cropping and background replacement happen automatically, and your photo never leaves your device.
| Photo size | 26×32 mm |
| Head height (chin to crown) | 22.0–26.0 mm |
| Background | White — White only. |
| Print resolution | 300 DPI |
| Digital size | 307×378 px |
| Official source | No official page found — values follow the international ICAO standard; check with the issuing office before submitting. |
Upload your photo
Pick a sharp, front-facing photo.

Choose the country and document type
Pick one of 21 countries and a document type like passport/ID/visa — or enter your own measurements.

Check the automatic alignment
Face alignment, head ratio, and background are set automatically; fine-tune if needed.

Download
Download your print-ready photo at the official size.

What size is a Spain DNI & Passport photo?
26×32 mm (307×378 pixels at 300 DPI). The head, measured from chin to the top of the hair, should be 22.0–26.0 mm tall.
What background does a Spain DNI & Passport photo need?
White. The tool replaces the background automatically with this color.
Is my photo uploaded anywhere?
No. Face detection, cropping and background replacement all run in your browser; the photo is never uploaded.