The DS-160 online visa form asks for a digital photo, and the upload is checked automatically. If the file is the wrong shape, too big, or squeezed too hard, the form refuses it, and if it gets through but looks wrong, the embassy can ask you for a new photo at your interview.
Here are the technical rules from the U.S. Department of State, and how to prepare a photo that meets all of them without installing anything. The steps below run in your browser, so your photo is not uploaded anywhere until you upload it to the DS-160 yourself.
Make your US files
Pick the file, drop your photo, drag and zoom it into the frame, and download a JPG that is checked against the official limits.
Drop your photo here
JPG, PNG, WebP or iPhone HEIC. It never leaves your device.
Choose fileWhat you will get
- Size
- 600 x 600 px
- File size
- between 54 and 240 KB
- Format
- JPG
- Drag and zoom so the frame holds just what the form wants, with your head between the ovals.
- We draw it at 600 x 600 px and fit it between 54 and 240 KB.
- We check the finished file, then you download it.
The tool fixes size and framing. The photo itself still has to follow the rules below: a plain light background, even light with no shadows, facing the camera, taken recently, and not edited.
Rules from travel.state.gov, digital image requirements, checked 10 October 2026. Full rules below. iPhone HEIC photos work too. Only need a JPG? HEIC to JPG.
Runs in your browser · nothing is uploaded · free, no signup
At a glance
Photo
600 x 600 to 1200 x 1200 px, square
240 KB or less · JPEG
Comparing exams? See every exam and form in one size chart
The official digital image rules
These are the requirements published on travel.state.gov for the digital image (checked on 10 October 2026). Read the current page before you apply, since the State Department decides what is acceptable.
- Shape: square. The height must equal the width.
- Dimensions: at least 600 x 600 pixels and at most 1200 x 1200 pixels.
- Format: JPEG, in color (24 bits per pixel, sRGB).
- File size: 240 KB or less.
- Compression: a compression ratio of 20:1 or less, so the file cannot be squeezed too hard either.
- Head size: from the top of the hair to the bottom of the chin, the head must fill 50 to 69 percent of the image height.
- Background: plain white or off-white. Taken within the last 6 months, eyes open, neutral expression, no glasses.
The rule most people miss: not too small
Everyone knows about the 240 KB maximum, but the 20:1 compression limit sets a minimum too. An uncompressed 600 x 600 color image is about 1,080,000 bytes, and one twentieth of that is about 54 KB. So a 600 x 600 photo should end up roughly between 54 KB and 240 KB. Squeezing it down to 20 KB because a general guide said smaller is better can get it rejected.
At 1200 x 1200 the window is much narrower (the 20:1 limit works out to about 216 KB, against a 240 KB maximum), which is why 600 x 600 is the easiest size to hit.
Step by step
Start with a good photo
Stand in front of a plain white wall in even daylight, with the camera at eye level about one to two meters away. iPhone photos are often HEIC; convert them with HEIC to JPG first.
Crop to a square
Open Crop Image and choose the 1:1 preset. Place the frame so your head fills about two thirds of the height, with a little space above your hair and your shoulders at the bottom.
Resize to 600 x 600
Open Resize Image and set both width and height to 600 pixels. Because the crop is already square, the proportions will not change.
Check the file size
Open Compress Image, keep JPG output and watch the size shown under the result. Around 85 to 90 percent quality usually lands well inside the 54 to 240 KB window for a 600 x 600 photo. Do not go lower than you need.
Common reasons the upload is refused
- The photo is not square (for example a 4:3 phone photo resized without cropping).
- The file is a PNG or HEIC instead of JPEG.
- The head is too small because the photo was cropped too wide.
- The file was compressed so hard that it falls below the compression limit, or is blurry.
- The background is grey, patterned or has shadows behind the head.
Editing rules
The State Department allows cropping and resizing, but photos must not be digitally enhanced or altered to change your appearance. Do not use filters, beauty modes or background replacement. Cropping, resizing and saving as JPEG, as described above, do not change how you look.
Not every country is this relaxed. Canada's online passport renewal does not allow any cropping or resizing, and the photo must come from a commercial photographer; our Canada passport renewal photo guide explains those rules.
Frequently asked questions
What size should a DS-160 photo be in KB?
At most 240 KB. Because the compression ratio must be 20:1 or less, a 600 x 600 photo should also be at least about 54 KB. Aim for roughly 60 to 200 KB.
What pixel size does the DS-160 accept?
Square images from 600 x 600 up to 1200 x 1200 pixels. 600 x 600 is the simplest to get right.
Is my photo uploaded when I use these tools?
No. Crop Image, Resize Image, Compress Image and HEIC to JPG run in your browser, so the photo stays on your device until you upload it to the DS-160 yourself.
Can I take the photo with my phone?
The State Department warns that many phone photos are not good enough and recommends a professional service. A recent phone with good light can work, but the embassy has the final say, so use a sharp, evenly lit photo.
More guides
GATE Photo and Signature Size, Pixels and Ratio
GATE photo: 200 x 260 to 530 x 690 px, 5 to 600 KB, aspect ratio 0.66 to 0.89. Signature: 250 x 80 to 580 x 180 px. Crop and resize both free in your browser.
CTET Photo and Signature Size: KB, cm and Format
CTET wants a JPG photo of 10 to 100 KB at 3.5 x 4.5 cm and a signature of 3 to 30 KB at 3.5 x 1.5 cm. Make both files free in your browser, no signup.
Indian Passport Abroad: GPSP 2.0 Photo and Uploads
GPSP 2.0 asks for a 630 x 810 px white background photo, a signature and PDF documents of 1 MB in total. Make each file free in your browser, no signup.
UAE Visa Photo Requirements: ICP Size and Pixels
UAE ICP visa and residency photos: square JPG of 600 x 600 to 1200 x 1200 px, at least 96 DPI, white background. Make and check yours free, no signup.