Skip to main content
100% Local AI · 2x2 & 35x45mm

Free Local Passport & ID Photo Maker

Turn any well-lit portrait into an exact 2x2 inch US passport photo, 35x45mm Schengen or UK visa photo, or 1-inch/2-inch ID photo right inside your browser tab using local MODNet FP16 matting, Guided Filter hair refinement, and zero server uploads.

100% Local Browser Processing · Never Uploaded

ID & Passport Photo

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

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 Global Passport & ID Photo Size Reference (300 DPI)

Built-in 300 DPI pixel dimensions and physical measurements verified for government, visa, and resume portals.

Preset StandardPhysical Size300 DPI PixelsCommon Uses
US Passport & Visa2x2 in (51x51 mm)600x600 pxUS passport, DS-160, DV Lottery, India OCI
Schengen / UK / AU / JP / KR35x45 mm413x531 pxEU Schengen visa, UK/AU/JP/KR passports, My Number
JP & KR Resume ID30x40 mm354x472 pxJapanese rirekisho, Korean half-card resume & IDs
China 1-Inch25x35 mm295x413 pxDriver license, student ID, exam & HR onboarding
China 2-Inch35x49 mm413x579 pxMarriage registration, qualifications, pension cards

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 a front-facing portrait

    Load a clear JPG, PNG, WebP, or HEIC headshot taken against any wall. The photo stays strictly in browser RAM and never uploads to a remote server.

  2. 02

    Pick official size, backdrop, and framing

    Choose US 2x2 in (600x600px), Schengen/UK/JP/KR 35x45mm, 30x40mm, 1-inch, 2-inch, or custom mm/px, verify head height with the live guide overlay, and pick White, Blue, Red, or Gray.

  3. 03

    Export single JPG/PNG, Trio ZIP, or print sheet

    Download a crisp 300 DPI digital file, lock an exact exam upload size (<=30KB/50KB/100KB/200KB), or switch to a 4x6 inch (4R) / A4 print sheet with zero watermarks.

Built for real workflows

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

01

Zero Hair Halo with Guided Filter & Color Decontamination

Local MODNet FP16 matting pairs with Guided Filter alpha refinement and foreground color decontamination so fine hair strands stay natural without colored fringe.

02

Exact Official Pixel & Millimeter Presets + Exam KB Caps

Built-in 300 DPI dimensions for US 2x2 in, 35x45mm visa/passport, 30x40mm resume, and 1-inch/2-inch IDs, plus deterministic binary-search JPG compression for strict portal KB limits.

03

100% Private & Official-Compliance First

All ONNX WASM inference runs locally on your device. Moklu preserves your real facial geometry and real clothing without AI face reshaping or fake suit overlays that trigger rejections.

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.

Are my face and passport photos ever uploaded to a cloud server?
Never. Moklu runs the 12.4 MB MODNet FP16 ONNX model directly inside your browser via WebAssembly and caches the model locally. Your portrait pixels stay strictly in device RAM and work offline once cached.
Which passport, visa, and ID photo dimensions are supported?
Presets cover US Passport & Visa (2x2 in / 600x600px), Schengen/UK/Australia/Japan/Korea Passport (35x45mm / 413x531px), Resume (30x40mm), China 1-inch (25x35mm / 295x413px) and 2-inch (35x49mm / 413x579px), plus custom mm or px dimensions at 300 DPI.
How does Moklu avoid jagged edges or white halos around hair?
After MODNet predicts the portrait alpha matte, Moklu runs an edge-preserving Guided Filter and foreground color decontamination pass that removes old background color spill from semi-transparent hair strands before compositing onto the new backdrop.
Can I compress my digital passport photo below 50KB or 200KB for online portals?
Yes. Turn on the Target-KB cap (30KB, 50KB, 100KB, 200KB, or custom) and Moklu runs a deterministic binary search on JPEG quality so the exported file fits strict government or exam portal byte limits while keeping maximum facial clarity.
Why does Moklu not include AI beauty filters or synthetic suit swapping?
Government passport agencies, visa centers, and biometric exam systems reject altered facial geometry, smoothed skin texture, and pasted AI clothing. Keeping your real face and real attire ensures your photo passes automated and human compliance checks.