Skip to main content
600x600px · <=240KB · Pure White JPEG

Free US Visa DS-160 Photo Tool

Automatically crop to 600x600px, replace background with pure white, and compress under 240KB. 100% local in your browser: your face never leaves your device.

100% Local Browser Processing · Never Uploaded

ID & Passport Photo

Local AI portrait cutout, background swap & 300 DPI print sheets

DS-160 Spec600×600px<=240KBPure White (#FFFFFF)JPEG

Drop a front-facing portrait, click to upload, or paste (Cmd/Ctrl+V)

100% browser-local AI portrait cutout · Zero uploads · PNG, JPEG, WebP, HEIC

Select Image

100% Browser-Local. Zero server uploads. Turn off your Wi-Fi to test.

600 × 600 px · 300 DPI
ID & Passport Size Standard
Official Spec & Audit Guide51 × 51 mm · 600×600px

Pure white background, head 50%-69% of height, JPG <= 240KB.

Head height ratio: 50%-69%. Keep ears & eyebrows visible, neutral expression, avoid matching shirt and backdrop color.

Authentic features preserved: zero AI face warping or synthetic suit overlays.

Background Color
Matting Engine
Framing & Anti-Halo Edge Refinement
0
0px
1x
File Format
Portal File Size Cap
100% Browser-Local · Zero Server Uploads

Private by architecture: your pixels never leave this device

Every frame render, stitch, crop, compression pass, and ID watermark runs directly on HTML5 Canvas inside your browser tab. Disconnect Wi-Fi and every tool still works.

  • Zero file uploads or remote queues
  • Instant PNG, WebP, JPEG, and ZIP export
  • 1-click handoff to Moklu Studio layers

Official US Visa (DS-160) Photo Requirements

US Department of State CEAC digital photo standards matched automatically by Moklu presets.

RequirementOfficial SpecificationMoklu Auto-Preset
DimensionsSquare, 600x600px to 1200x1200pxLocked to 600x600px
File SizeEqual to or less than 240 KBAuto-compressed <= 240 KB
File FormatJPEG (.jpg) in sRGB color spaceExported as standard JPEG
BackgroundPlain white or off-white, no shadowsLocal AI background removal (#FFFFFF)
Head Size50% to 69% of total image heightBuilt-in alignment guide

Quick facts & capability boundaries

Exact formats, limits, and processing scope for this browser tool.

Processing
100% browser-local MODNet FP16 portrait matting + Guided Filter & foreground color decontamination (zero server uploads)
Sizes
1-inch (25×35mm / 295×413px), 2-inch (35×49mm / 413×579px), US 2×2 in (600×600px), Schengen/JP/KR 35×45mm & 30×40mm + custom mm/px
Backgrounds
White, Civil Blue, Red, Gray, subtle resume gradient + 1-click White/Blue/Red Trio ZIP
Exam KB cap & Print
Binary-search <=30KB/50KB/100KB/200KB JPG + 300 DPI 6-inch (4R) & A4 print sheets (PNG/PDF)
Pricing & Privacy
Free core exports, zero watermarks, works offline after first local model cache
Compliance
Preserves authentic facial geometry, skin texture, and real clothing for official review

Scope & boundaries

  • Preserves authentic facial features and clothing for official government, visa, passport, and exam compliance; does NOT apply AI face reshaping or synthetic suit swapping.
  • First AI portrait cutout caches the local 12.4 MB MODNet FP16 model in your browser with zero image uploads; pure-backdrop mode also runs immediately with zero model download.

How it works in 3 steps

Built for instant browser execution with zero account signup or cloud wait times.

  1. 01

    Drop or paste your front-facing visa portrait

    Load a clear JPG, PNG, WebP, or iPhone HEIC portrait taken in even lighting. Processing runs strictly inside browser memory with zero server uploads.

  2. 02

    Verify 600x600px framing and pure white background

    Check head height (50% to 69% of frame) with the live alignment overlay while local MODNet FP16 matting replaces uneven walls with pure #FFFFFF white.

  3. 03

    Download compliant <=240KB sRGB JPEG

    Confirm every live compliance badge is green and export a crisp 600x600px JPEG ready for the CEAC DS-160 upload portal, or tile 6 copies on a 4x6 print sheet.

Built for real workflows

Purpose-built defaults tailored to the exact output format you need.

01

Built-In 240KB CEAC Compression Guard

Deterministic binary-search JPEG tuning keeps file size strictly at or below 240KB while avoiding aggressive over-compression beyond the 20:1 portal rejection threshold.

02

Clean Pure White (#FFFFFF) Without Hair Halos

Local MODNet FP16 matting pairs with Guided Filter refinement and foreground color decontamination so fine hair strands look natural against pure white.

03

100% Offline Browser Privacy for Biometric Photos

Turn off your Wi-Fi after loading this page and every crop, white backdrop swap, and JPEG export still works locally with zero cloud retention.

Need custom typography, callouts, or multi-slide campaigns?

Send your current composition straight into Moklu Studio, our full Konva multi-layer canvas editor with shadows, gradients, annotations, and batch localization.

Chain local workflows or jump straight into Moklu Studio for full multi-layer control.

All Moklu local image tools

Every tool below runs 100% client-side with zero watermarks on standard exports.

Frequently asked questions

Answers about local privacy, output quality, supported formats, and Studio editing.

Why does the DS-160 portal keep rejecting my photo for "compression ratio" or "file size"?
The US Department of State portal rejects images larger than 240KB or images over-compressed beyond a 20:1 ratio. Moklu automatically balances JPEG quality so your photo stays crisp while strictly staying under 240KB.
Is it safe to upload my visa photo here?
Yes, because you are not actually uploading it anywhere. All AI background removal, cropping, and compression happen locally inside your browser using WebAssembly and Canvas. You can disconnect from Wi-Fi after loading this page and it will still work.
Can I wear glasses in my DS-160 photo?
No. Eyeglasses are not allowed in US visa photos (except in rare medical circumstances with a signed doctor statement). Make sure your face is evenly lit with a neutral expression.
Can I also print this photo for my embassy interview?
Yes. After generating your digital DS-160 photo, open our 4x6 Passport Photo Print Sheet tool (/id-photo-print-sheet/) to tile 6 copies onto a single 4x6 inch 300 DPI sheet for affordable printing.