About this tool
The US State Department requires a square image between 600×600 and 1200×1200 pixels, JPEG, 240 KB or less, with a white or off-white background, facing the camera, eyes open and no glasses. This page opens with a white background, 600×600 pixels and a 240 KB ceiling. After uploading, use the zoom slider so the head (chin to top of hair) fills about 50–69% of the image height.
Change an ID photo background online: the AI finds the person and puts the photo on white, blue, red or any color. Export at 1-inch, 2-inch or custom pixel sizes and keep the JPG within a KB range required by an upload system. Photos are processed in your browser and never uploaded.
How to use
Upload, drop or paste one front-facing portrait and click Change background. The first use downloads an AI model of about 86 MB, which is then kept in your browser.
Pick white, blue, red or a custom color. For a fixed size choose 1-inch, 2-inch or custom pixels and use the sliders to set the portrait size and position. For JPG you can set a minimum and maximum KB, then download.
Supports JPG, PNG and WebP up to 25 MB and 40 MP; photos above 16 MP are scaled down first. Output is 64–2400 px per side; blue is RGB(67,142,219) and red RGB(255,0,0). The KB range is met by adjusting JPG quality without changing the pixel size. Submission rules vary, so follow the system you upload to; fine hair and edges close to the old background color may be less clean.
Frequently asked questions
How big should the head be?
From chin to the top of the head should be about 50–69% of the image height. If the head is too small, move the zoom slider right, then use the vertical position so the eyes sit a little above the middle.
Can I wear glasses?
No. Glasses have not been allowed in US visa photos since 2016, except for medical reasons with a signed statement.
What about a printed photo?
Printed photos are 2×2 inches (51×51 mm). Use the US visa 2×2 page of the ID photo print layout tool to print them.
What colors are the blue and red backgrounds?
Blue is the common ID photo blue RGB(67,142,219), red is RGB(255,0,0) and white is pure white. For any other value choose Custom and pick a color.