Resize a photo to passport size
Most countries' passport and visa forms want a 35 × 45 mm photo, which at the standard 300 dpi print resolution works out to exactly 413 × 531 pixels. Get the pixels right and the photo prints at the legal physical size.
This page opens the resizer preset to those dimensions. Cover mode center-crops your photo to fill the frame; since this is usually an ID photo of a face, doing it locally instead of uploading it somewhere is the sensible default.
Processed locallyIn: PNG, JPEG, WebPOut: PNG, JPEG, WebP
This is Resize Image preconfigured for this task — open the full tool for every option.