What is a passport photo code and how to use it
By PassportMonkey · Last reviewed
A photo code lets you add a digital photo to your online UK passport application without uploading a file. Here's what it looks like and how to use it.
What a photo code is
A photo code is a short web link to a digital photo. GOV.UK describes the format as something like photo.co/yh8Y6K2s. You enter it in your online passport application and the photo is added for you.
Where to get one
Some photo booths and shops can provide a photo code. Online services like ours can too: once your photo passes our checks and you've paid, your order page shows your code with a copy button. You can also take or upload a photo free of charge during your GOV.UK application.
The photo behind the code
The photo the code points to must be a JPEG between 50 KB and 10 MB, and it must meet the digital photo rules — including being at least 600 pixels wide and 750 pixels tall.
How to use it
- Start your online passport application on GOV.UK.
- When it asks for your photo, choose the option to use a photo code.
- Enter the code exactly as shown, including the full link.
- Check the photo that appears is yours before you continue.
Common questions
Is a photo code the same as a file? No — it's a link to your photo, so you don't need to upload anything.
Can I use it on a paper form? No. Paper forms need printed photos.
Get a checked photo and code for an online application on our UK online passport photo page, or read more on our photo code page.