regula.tools
100% Client-SideMedia & Graphics

US Visa DS-160 & Diversity Visa Photo Maker (2×2 in / <= 240 KB)

Generate official square portraits for U.S. visa applications (DS-160, DS-260) and the Diversity Visa (DV) Green Card Lottery. Conforms to the U.S. Department of State 2×2 inch (600×600 to 1200×1200 px) standard with head height between 50% and 69%, eye-line height between 56% and 69%, plain white background, and strict binary-search compression under the 240 KB upload limit.

Loading workspace...

#How to Use This Tool

1Your target standard (US Visa DS-160 Photo Maker & Requirements 2026) is pre-selected at 50.8 × 50.8 mm.
2Upload, drag-and-drop, or paste a well-lit frontal portrait taken in natural indoor lighting.
3The on-device WebAssembly vision engine aligns your facial landmarks against official tolerances (with Original Background enabled automatically on portals that prohibit digital background replacement).
4Review the Advisory Biometric Audit scorecard for the 50%–69% head ratio window and eye-line balance.
5Download the single digital photo (aiming for <= 240 KB with 300 DPI metadata) or export a 4×6" printable sheet.

#Mathematical Formula & Standards

Mathematical Dimension & Scaling Specifications (Derived from Preset Engine): • Physical Output: 50.8 × 50.8 mm @ 300 DPI • Digital Dimensions: 600 × 600 pixels (100% Client-Side Canvas Render) • Head Ratio Target: 50% to 69% of vertical height • Eye Elevation: 56% to 69% from bottom edge • Background Color: #FFFFFF (Solid Opaque Backdrop) • File Size Bounds: <= 240 KB Target • Permitted Formats: JPEG • Official Authority: U.S. Department of State — Bureau of Consular Affairs (https://travel.state.gov/content/travel/en/us-visas/visa-information-resources/photos.html) • Verification Date: 2026-11-12 Special Portal Requirements: • Photo must be square (1:1 aspect ratio), 2 × 2 inches (51 × 51 mm / 50.8 × 50.8 mm). • Digital dimensions must be between 600 × 600 px and 1200 × 1200 px. • File format must strictly be JPEG (sRGB) with file size <= 240 KB. • Head height (top of hair to bottom of chin) must be between 50% and 69% of image height. • Eye height must be between 56% and 69% from the bottom edge. • Eyeglasses are strictly prohibited (ban effective since November 2016). • Background must be plain white or off-white physically during capture; digitally removing or altering backgrounds is prohibited.

#Edge Cases & Technical Considerations

Prohibition on Digital Background Replacement

U.S. Department of State guidelines prohibit digitally removing, replacing, or cleaning up a background using editing software or AI. Always capture against a real plain white wall and keep Original Background enabled.

The 240 KB Upload Limit on CEAC Portal

The Consular Electronic Application Center (CEAC) specifies a 240 KB maximum file size limit for DS-160 photo uploads. Our engine aims to optimize JPEG quality to keep file size comfortably below 240 KB.

Complete Eyeglasses Ban (Since 2016)

Eyeglasses of any kind—prescription, anti-reflective, or reading—are prohibited by the U.S. Department of State. Only rare medical exemptions accompanied by a doctor’s letter are accepted.

Exact Eye Elevation and Head Ratio Windows

CEAC photo validators measure the vertical distance from bottom to eye line (56%–69%) and chin-to-crown ratio (50%–69%). Our auto-aligner locks your facial landmarks into these exact target brackets.

Interview Appointment 2×2" Printed Copies

Even when uploading digitally, embassy interview appointments require bringing two printed 2×2" copies. Export a 4×6" print sheet with 2 square cut-marked copies ready for photo paper.

#Frequently Asked Questions

Q:What are the digital image requirements for Form DS-160?

The digital photo must be a square JPEG file between 600×600 and 1200×1200 pixels, weighing 240 KB or less, on a plain white or off-white background with eyes positioned 56%–69% from the bottom edge.

Q:Can I wear glasses in a US visa photo?

No. The U.S. Department of State enacted a complete ban on eyeglasses in visa and passport photos in November 2016 to eliminate glare and frame occlusions.

Q:How does this tool keep the file under 240 KB?

We use an automated binary-search JPEG quantization algorithm that aims to keep the file under the 240 KB limit while maintaining resolution and clarity.

Q:Can I use this photo for the Green Card DV Lottery?

Yes. The Electronic Diversity Visa (E-DV) Lottery uses the exact same 2×2 inch / 600×600 px <= 240 KB JPEG specification as the DS-160 visa form.

Q:Does this tool upload my face to U.S. or foreign servers?

No. The tool executes 100% locally in your browser memory using WebAssembly. No image data is ever uploaded or retained.

Have feedback or feature requests?

Help us improve this utility. Share suggestions, report edge cases, or request new features directly.

Send Feedback