Spanish DNI photo requirements
Royal Decree 255/2025 (article 6.2.d) requires a recent colour photograph measuring 32 by 26 millimetres, with a plain white background, taken from the front with the head fully uncovered. Dark glasses and clothing that makes identification difficult are not allowed.
The Ministry of the Interior accepts head coverings for religious or medical reasons as long as the oval of the face, from the hairline to the chin, is fully visible.
Many police stations that issue the DNI can take the photo on site. If you bring your own, it should be recent and printed on photo paper.
How to take the photo at home so it gets accepted
- Background: stand about a metre in front of a plain white wall, with no pictures, doors or shadows. This tool does not change the background: if the wall is coloured, find another one.
- Light: from the front, from a window in daylight. Avoid direct flash and light from above, which casts shadows under the eyes.
- Camera: at eye level, at arm's length or more. It is better if someone else takes it: a close-up selfie distorts the nose.
- Pose: head straight, looking at the camera, mouth closed, eyes open and no hair covering your face.
- Glasses: sunglasses are not accepted. If you wear prescription glasses, avoid reflections and make sure your eyes are clearly visible.
- Adjust: if the background looks grey, raise the brightness a little in “Brightness and contrast” until it looks white.
Private by design
Most online tools upload your files to their servers. Not here: everything is processed in your own browser and nothing is ever sent anywhere. That's why you can safely use it with your ID, passport, payslips, medical reports or contracts.
Step by step
- Upload your photo or take it with your phone from the box above.
- Keep “DNI” selected.
- Move the guide: top of the head on the upper line, chin on the lower line, nose in the centre of the oval.
- Download the 4×6 sheet to print or the JPG if an online form asks for it.
Sizes by document
- Spanish DNI: 32×26 mm (32 high, 26 wide), in colour, plain white background, facing forward with the head uncovered. Source: Royal Decree 255/2025 (article 6.2.d).
- Spanish passport: 32×26 mm with a plain white background, taken from the front. Source: Royal Decree 896/2003 (article 4.1.c).
- TIE (the NIE card): “passport size” (tamaño carné), in colour with a white background. The Spanish Ministry of the Interior gives no millimetres: here we use 32×26 mm, the ID photo size of Spanish documents.
- Custom size: choose “Custom size” and type the width and height you have been given, in millimetres.
These presets follow Spanish rules only. For another country's passport or visa, check that country's official requirements and enter the size with “Custom size”: this tool only crops to the size you set, it does not check the photo against other countries' rules.
No Spanish rule sets how much of the photo the head should fill. The guide uses 70 to 80% of the photo's height, the proportion ICAO recommends for travel documents.
Frequently asked questions
Are my files uploaded to a server?
No. Everything is processed inside your browser. Your files never leave your device.
Is it free?
Yes. No sign-up, no watermark and no usage limits.
What size is the Spanish DNI photo?
32 millimetres high by 26 wide, in colour, with a plain white background, according to Royal Decree 255/2025.
Can I bring a photo I printed at home?
Yes, as long as it meets the requirements and is good quality. Print it on photo paper at 100%, without fitting it to the page.
Does the tool remove or change the background?
No. Automatic background replacement often leaves odd edges around the hair and can get the photo rejected. Take it in front of a plain white wall and, if it looks grey, raise the brightness a little.
What is the maximum file size option for?
Some online forms limit the file size. Tick “Maximum file size”, enter the limit in KB and the photo is adjusted to stay under it, first by lowering the quality and, if that's not enough, the pixels.
More tools
- Compress PDFShrink a PDF to the exact size you need: 100 KB, 200 KB, 1 MB…
- Resize ImageShrink your photos to 20, 50, 100 KB… and set their pixel size.
- Merge PDFCombine several PDFs and photos into one PDF, in any order.
- Convert ImageTurn iPhone HEIC, WEBP or PNG photos into JPG, PNG or WEBP, several at once.
- PDF to JPGTurn every page of a PDF into a JPG or PNG image.
- Split PDFExtract pages, separate them one by one or split a PDF by maximum size.
- Organize PDFRotate, reorder and delete PDF pages without losing quality.
- Sign PDFDraw, type or upload your signature and place it on your PDF, with date and initials.