Just pick the file size your application allows, and the quality is adjusted for you. If a size like 2×2 in or 35×45 mm is required, the photo is resized to fit in the same step.
This tool is for when you upload an ID photo to an application or certification site and get a "file size is too large" message. Files from photo studios are made for printing, so they're high resolution and often several MB, while application sites often accept only much smaller files. Just choose the size limit and the photo size, and the rest is handled here.
KB is how much space the file takes up, pixels are the number of dots that make up the photo, and millimeters are its printed size. At 300 dpi, 2×2 inches works out to 600×600 pixels, and 35×45 mm to 413×531 pixels. If your application gives only a printed size, matching these pixel sizes is a safe choice.
Use the original file rather than a screenshot. Screenshots lose quality and can easily throw off the proportions. If a photo taken on your phone shows up sideways when uploaded, saving it here fixes the orientation.
These values were checked directly against each official page. Outdated figures still circulate online, and requirements can change, so always check the application page before you submit.
| Organization | File size | Dimensions | Format |
|---|---|---|---|
| US passport (online renewal) | Between 54 KB and 10 MB | No pixel size is listed, and you can crop in the application. We save a square 1200×1200 (the 2×2 in shape). | JPEG |
| US passport (paper form) 2×2 in | No file limit (printed photo) | 2 × 2 in (51 × 51 mm); head 1 to 1 3/8 in (25–35 mm) from chin to top of head. 600×600 px at 300 dpi. | JPEG |
| UK passport (online) | At least 50 KB and no more than 10 MB | At least 600 px wide and 750 px tall. We save 1200×1500 (same 4:5 shape, more detail). | JPEG |
| US visa (DS-160) | 240 kB or less | Square, from 600×600 up to 1200×1200 px. We save 600×600. | JPEG |
| US DV lottery (green card) | 240 kB or less | Exactly 600×600 px (square) | JPEG |
| India e-Visa | Minimum 10 KB, maximum 1 MB | Height and width must be equal; no pixel size is given. We save 600×600. | JPEG |
| Schengen visa 35×45 mm | No file limit (printed photo) | 35 × 45 mm print. 413×531 px at 300 dpi. | JPEG |
Q. Does reducing the file size hurt the quality much?
At ID photo sizes like 413×531, it's hard to see any difference even at 100–200KB. Squeezing a full-size original into 100KB can lower the quality, so we recommend choosing a standard photo size as well.
Q. Where do I find the file size my application requires?
The photo upload instructions on the application page will say something like "up to ___KB." We've collected common ones in the table on this page, but requirements can change, so check the application page first.
Q. What is the difference between 2×2 in and 35×45 mm?
2×2 in (51×51 mm) is the square size for printed US passport and US visa photos; the DS-160 and DV lottery digital images are square too. 35×45 mm is the portrait size used in the UK (printed passport photos are 45 mm high by 35 mm wide) and for Schengen visa photos. At 300 dpi, 2×2 in is 600×600 px and 35×45 mm is about 413×531 px. Print at 100% scale, not "fit to page", so the size stays exact.
Q. My photo gets cropped. Can I change the position?
If the required ratio differs from your photo's, it's cropped from the center. Use the Horizontal position and Vertical position sliders next to the result to move the cropped area.
Q. Can I change the background color?
The tool can replace the background with white, light blue or light gray using an AI model; the first time, your browser downloads the model (about 42–84 MB). Do not use it for US or UK passport photos or US visa photos: the State Department says not to change your photo using computer software, phone apps or filters and that visa photos must not be digitally enhanced or altered, and GOV.UK requires photos "unaltered by computer software". The US also rejects blue backgrounds (white or off-white only). For those, retake the photo against a plain background instead. For presets with these rules, skip the background option.
Q. Can I use PNG or WEBP photos?
Yes. Most application sites accept JPG, so the photo is saved as a JPG, and any transparent background is filled with white.
Q. Is my photo uploaded to a server?
No. Your photo is processed only in the browser you're using right now and is never sent anywhere.
Q. The rules I found online are different from this table.
This table uses values checked on the official pages (travel.state.gov, GOV.UK, indianvisaonline.gov.in and Schengen embassy pages) in November 2026. Rules change and many websites are out of date, so open the official link under each preset and check it right before you submit.
Q. I get an error because of the photo's metadata (EXIF).
Photos saved here don't keep information such as the camera model or location (EXIF). If EXIF was the problem, save the photo again here and upload it.
Q. My DS-160 photo upload failed. What should I do?
The DS-160 image must be a square JPEG, 600×600 to 1200×1200 px, 240 kB or less, in sRGB color, with a compression ratio of 20:1 or lower. If your DS-160 confirmation page shows an "X" instead of your photo, the upload failed: the State Department says to bring one printed photo that meets the requirements, together with the DS-160 confirmation page, to the US embassy or consulate, and to contact them for exact instructions. If the confirmation page shows your photo, the upload worked and no separate photo is needed.
Q. Why was my UK online passport photo rejected?
GOV.UK requires a digital photo that is clear and in focus, in color, unaltered by computer software, at least 600 px wide and 750 px tall, and between 50 KB and 10 MB. It must be taken in the last month against a plain light-colored background, with no shadows, no red eye and nothing covering your face. If you take it on your own device, include your head, shoulders and upper body and do not crop it yourself. GOV.UK notes that photos from a photo booth or shop are more likely to be approved.