Requirements at a glance
| Size | 600 × 750 px (digital) |
|---|---|
| DPI | 600 |
| Background color | little gray (#EEEEEE) |
| File size limit | 50–10240 KB |
| Source | gov.uk |
| Last checked | 2026-11-02 |
| Spec code | uk-digital-passport |
Frequently asked questions
What size is the UK Digital Passport photo?
It is a digital image of 600 × 750 px at 600 DPI. The dataset lists no printed size for this spec.
What background color does the UK Digital Passport photo need?
This spec uses a little gray (#EEEEEE) background.
What file size is allowed for the UK Digital Passport photo?
The file should be between 50 KB and 10240 KB.
Can I use this spec with the IDPhoto.ai API?
Yes. Set specCode to "uk-digital-passport" in a POST /v2/makeIdPhoto request. The Passport Photo API reference describes the full request and response.
Make a photo with this spec
For developers
Send this spec code to the Passport Photo API.
curl -sS -X POST "https://api-us.idphotoapp.com/v2/makeIdPhoto" -H "Content-Type: application/json" -d '{"apiKey":"YOUR_API_KEY","apiSecret":"YOUR_API_SECRET","imageBase64":"BASE64_IMAGE","specCode":"uk-digital-passport","outputFormat":"IMAGE_BASE64"}'
Related specs
IDPhoto.ai is an independent service and is not affiliated with any government agency. Rules change, so always check the issuing authority’s current photo rules before you submit a photo.