Passport photo editor
Edit a passport photo online
Already have a photo? Upload it locally, crop to a passport-size preset, adjust the background canvas, compress if needed, and export a JPG without sending your image to a server.
Kodotools · Last updated: July 1, 2026 · Photos stay on your device
Upload your photo
JPG, PNG, WebP, HEIC, or HEIF. Cropping and export happen locally in your browser.
No photo selected
How it works
Choose a clear portrait.
Choose a size preset.
Align head and shoulders.
Save JPG or a print sheet.
Country and document preset
Selected preset
Correct size and format are only part of the requirement. Lighting, expression, and background quality still matter.
Requirement tips
- Use a white or very light plain background.
- Look straight at the camera with eyes open.
- Avoid glasses, glare, heavy shadows, or covered eyes.
- Keep the full head and shoulders visible before cropping.
Crop and position
Align head and shoulders
Drag the photo inside the frame. Keep the top of head and chin near the guide bands.
Background canvas fill
First use may take time because the AI model loads in your browser. After that, browser cache should make it faster.
When removal is enabled, the selected fill color replaces the transparent background. Drag and zoom the photo above to adjust the subject position.
Output settings
Compliance check
Live preview
Upload a photo to start.
Quick print presets
Paper and layout
Sheet preview
4x6 sheet - 8 copies
Download a print sheet JPG and ask the photo shop for the same paper size.
Digital photo
Print sheet
Related tools
Photo editing workflow
Fix an existing photo without uploading it
Use this editor when your picture is close but the crop, background canvas, output dimensions, or file size need work. Choose a preset, position the face with guide bands, adjust JPG quality, and export locally.
The editor helps with technical preparation only. Passport offices still check the real photo: age of the photo, lighting, expression, face visibility, background, glasses, shadows, and whether the image was altered too much.
How it works
Three steps to edit a passport photo
Upload locally
Choose a photo from your device. JPG, PNG, WebP, and HEIC are handled in the browser.
Crop with guides
Drag and zoom until the top of head and chin sit inside the guide bands.
Download JPG
Export the selected pixel size as JPG, then check the official country or portal rule before submitting.
Requirements
What you can edit
| Preset | Passport photo setting |
|---|---|
| Crop and framing | Drag, zoom, rotate, flip, and align the face with guide bands |
| Size preset | Choose Pakistan, US 2x2, standard 35x45, or custom pixels |
| Background canvas fill | Use white, off-white, light grey, or a custom fill after checking official rules |
| Output quality | Adjust JPG quality and target file size before download |
| Print sheet | Preview a 4x6 or A4 print sheet if you need multiple copies |
Use these settings as a preparation step, then verify the official passport or portal rule before final submission.
Official checks
Passport photo rules vary by country
Use the editor to prepare the crop and file, then compare the result with the rule for the exact passport, visa, or portal you are using.
| Rule source | What to check before submitting |
|---|---|
| Pakistan DGI&P guide | Recent photo, plain white background, 45mm high by 35mm wide for printed photos, face around 70-80% of the photo, sharp focus, no glasses, and neutral expression. View guide |
| US passport photo | Use a 2 x 2 inch style square photo, plain white or off-white background, clear face, no heavy digital changes, and correct head size. View source |
| UK digital/printed photo | Digital photos must meet the UK pixel and file-size rules, while printed photos use the 45mm high by 35mm wide format. UK guidance also says photos should not be altered by computer software. Digital rules · Printed rules |
| Other countries or portals | Choose custom pixels when the form gives a different width, height, format, or file-size limit. Do not rely on one country preset for every document. |
FAQ
Passport photo editor questions
Can I edit my passport photo online?
Yes. You can crop, resize, rotate, adjust canvas fill, compress the JPG, and download the result in your browser.
Will this guarantee passport photo acceptance?
No. The tool prepares size, crop, format, and file size. Acceptance still depends on the official reviewer and the real photo quality, including expression, lighting, background, glasses, shadows, and image editing.
Which passport photo sizes can I prepare?
You can use presets for Pakistan online, Pakistan print, US 2x2, standard 35x45, or enter custom pixel dimensions from your official requirement.
Can I change the passport photo background?
You can set a plain canvas fill and use optional browser-based background removal. Use this carefully because some authorities reject photos altered by software or AI editing.
Is my photo uploaded while editing?
No. The editor runs locally in your browser, so your image stays on your device.
Should I compress the photo after editing?
Only compress if your form has a file-size limit. Keep quality high enough so the face, eyes, and background remain clear.
Guides
Passport photo guides
Country, size, crop, background, and file-format notes for passport-style uploads.
Passport photo size guide
Common country sizes, pixels, millimeters, file limits, and official source links.
Read guide →Passport photo size in pixels
Pakistan, US, 2x2, 35x45, and UK digital pixel sizes explained.
Read guide →DGIP passport photo size
350 x 467 pixels, JPG format, white background, and 3MB limit.
Read guide →Edit your passport photo
Upload locally, crop with guide bands, and export a browser-made JPG.
Open editor →