Select a photo of yourself taken against a plain wall, or take one with your camera.
Pick your country and document. The photo is framed to its size and head height. Move or zoom it if you like, and choose a background.
Choose a print sheet or a single photo, click Make photo, then download the JPG or PDF.
A printed UK passport photo is 35 × 45 mm, with the face 29 to 34 mm from the bottom of the chin to the crown of the head. This page opens on that size and frames your photo to it. For an online application, the digital photo is saved at 700 × 900 pixels, above the 600 × 750 pixel minimum.
HM Passport Office asks for a plain, light background such as cream or light grey, and an unedited photo, so the background is kept as taken here. Take the photo against a plain wall, with a neutral face and your eyes open.
The digital photo is saved as a 700 × 900 pixel JPG, kept under 10 MB, the online service's upper limit. The service also asks for at least 50 KB, which a photo of this size saved at high quality is well above. Before you download, the photo check measures your head against the 29 to 34 mm rule.
Cream or light grey give a pale face more contrast than bright white. Stand a little away from the wall so no shadow falls behind you, and ask someone else to take the photo at eye level: a selfie held at arm's length makes the face look wider and tilts the head.
If you'd rather not take it yourself, many photo booths and shops can give you a digital photo code for the online application. For a paper form, print the sheet: eight 35 × 45 mm photos fit on one 4 × 6 in print, or 32 on A4. Cut along the marks.