Home›Photo sizes›Spain Passport & DNI

Spain Passport & DNI Photo Maker

Crop and resize your photo to 307×378 px (26 × 32 mm). Free, private, works on phone and desktop.

✓ Photo never leaves your device✓ Exact pixel size✓ No watermark
No file selected


Need printed copies for your application?

Download the 4×6 in print sheet above and order prints online or print at local photo kiosks at 100% scale.

Order Photo Prints
Note: this tool crops, resizes and compresses only. It does not remove or change the background. Take the photo against a plain wall in even light, and always check the latest official requirements before applying.

Spain Passport & DNI photo requirements

Physical size26 × 32 mm
Pixel size (this tool outputs)307 × 378 px
File formatJPEG (.jpg)
File sizeNo strict limit (keep under 2 MB)

Official Spanish Ministerio del Interior spec for DNI and Passport: 26×32 mm (307×378 px at 300 DPI), plain uniform white background, bare head, frontal view. Plain light background, face centered and looking straight at the camera, neutral expression, no glasses glare or shadows, recent photo. Exact rules can vary by embassy or issuing office, so double-check the official guidelines.

Last reviewed: October 2026. Always confirm with the official source before applying.

Spain Passport & DNI: what the issuing authority actually checks

Spain is the outlier among European documents: the Ministerio del Interior specifies 26 × 32 mm for DNI and passport photos (307 × 378 px at 300 DPI), on a plain uniform white background, bare head, frontal view, with no shadows. Submitting the standard European 35 × 45 mm size is one of the most common causes of a rejected DNI or passport appointment in Spain, because the photo simply does not fit the printed form.

How to make a Spain Passport & DNI photo

  1. Take a photo facing the camera in even light, against a plain background, with a neutral expression.
  2. Upload it above and drag it so your face sits inside the dashed oval, with eyes roughly on the horizontal line.
  3. Use the zoom slider until your head size matches the requirement.
  4. Click Download JPG. The file is set to 307×378 px.
  5. Need a printed copy? Download the 4×6 in print sheet and print it at any photo lab or on your home printer at 100% scale.
Three-step passport photo workflow: choose a clear photo, adjust and review crop, and download your file
Simple 3-step workflow: Choose a clear front-facing photo, align your head inside the biometric guide, and download either the exact digital JPEG or a 4 × 6 in print sheet.

Tips for a photo that gets accepted

Diagram showing passport photo processing locally inside your browser with no server upload
Private by design: Cropping, resizing, and KB compression run 100% locally in your browser via HTML5 Canvas — your photo never leaves your device.

Why Spain Passport & DNI photos get rejected

Most photo rejections come from a short list of fixable issues. Check yours against it before you apply:

Acceptance criteria vary by country and change over time — always confirm with the official source before submitting your application.

Frequently asked questions

What size is a Spain Passport & DNI photo in pixels?

This tool outputs 307×378 px, which corresponds to 26 × 32 mm.

Is my photo uploaded to a server?

No. Everything runs locally in your browser. Your photo never leaves your device.

Does it remove the background?

No. Use a plain background when taking the photo. The tool only crops, resizes and compresses.

Can I print the result?

Yes. For passport and visa sizes, use the 4×6 in print sheet, which places several copies on one page at 300 DPI.

Will this photo be accepted?

Acceptance depends on the issuing authority's checks (head size, lighting, background). Always verify with the official guidelines.

Related photo sizes