Resize a photo to DNI size (26×32 mm)
307 × 378 pixels = 26 × 32 mm at 300 dpi. The frame is locked to that shape, and your face never leaves your device.
Drop files here
or click to choose from your deviceAccepted: JPG, JPEG, PNG, WEBP, AVIF, GIF, BMP, HEIC, HEIF
Up to 3 files per runUp to 20 MB per file10 runs per dayRemove limits with Pro✓ Works offline
Your files stay on your device
This tool runs entirely in your browser. Nothing is uploaded, nothing is stored, and you can even turn off your internet connection before you start.
How it works
- Drop the portrait onto the box, or pick it from your phone. A plain, light background and a straight look at the camera give the cleanest result.
- Fill and crop is preselected, so a frame locked to the 26:32 shape appears on the photo. Drag it over your face and pull a corner until your head and shoulders sit inside with a little space above your hair.
- Press Resize to 26×32 mm. The file that comes out is exactly 307 × 378 pixels.
- Download it, then print it at 26 × 32 mm or attach it to the form as it is.
Frequently asked questions
- Why 307 × 378 pixels?
- 26 mm ÷ 25.4 × 300 = 307 and 32 mm ÷ 25.4 × 300 = 378. That is the 26 × 32 mm photo of the Spanish DNI and passport at 300 dpi, the resolution print shops work at.
- Can I change the proportions?
- Not on this page: the size is fixed at 307 × 378, so the crop frame keeps the 26:32 shape and the photo cannot come out stretched. You only choose which part of the picture the frame holds. For a free size, use the main Resize image tool.
- Does the file carry a 300 dpi tag?
- No. It simply has 307 × 378 pixels, and printing it at 26 × 32 mm gives 300 dpi. A print shop may display it as 72 dpi; ask for the physical size instead of trusting the tag.
- How do I get several copies on one sheet?
- Use the Passport photo print sheet tool and choose the 26×32 mm size. It repeats one photo across 4×6 inch, L-size, 5×7 inch or A4 paper at 300 dpi with light cut lines.
- Is my photo uploaded?
- No. Cropping and resizing run in your browser, which matters for a document photo. The free plan allows 3 files per run, 20 MB per file and 10 runs a day; Pro removes those limits.
Made for a specific use
- Instagram post size
- Instagram portrait size
- Instagram Story size
- YouTube thumbnail size
- X post image size
- X header size
- Facebook cover size
- LinkedIn banner size
- LINE profile picture size
- TikTok size
- Pinterest pin size
- Facebook link preview size
- YouTube banner size
- Passport photo size
- My Number card photo size
- 30×40 mm ID photo
- 45×60 mm ID photo
- A4 at 300 dpi
- 50×60 mm biometric photo
- Argentine 4x4 photo
- Web résumé photo (450 × 600 px)
- 5×7 cm photo
- US visa photo size
- Bulk resize images
- Resize an image in centimetres
Related tools
• Resize image Scale one or many images to exact dimensions or pick a ready-made social media size. • Crop image Drag a frame over the photo, see exactly what stays, and crop it without sending it anywhere. ⇲ Compress image Make JPG, PNG and WebP files smaller for email, websites and messaging apps, right in your browser. ▥ Passport photo print sheet One photo, framed once, repeated on photo paper at 300 dpi. Several ID photos for the price of one print.