Passlens User Guide

Passlens is a free, browser-based passport and ID photo maker online. Local processing is the default, and optional server processing is available when you choose it for heavier tasks. No signup required. This guide walks you through every step of the workflow, from choosing a preset to exporting a print-ready layout.

1
Document Type
Pick a preset
2
Upload
Add your photos
3
Edit & Crop
Adjust and comply
4
Print Layout
Export for print
Passlens overview — wizard layout
Desktop: sidebar navigation with the Edit step active
Passlens overview — wizard layout
Mobile: header with step indicator and navigation arrows

Step 1 — Choose Document Type

Start by selecting a document preset. Presets lock in the correct photo dimensions (in millimeters), DPI, and head-positioning guidance for your target document.

Search for a preset

Type a country name, document type, or size in the search box. Results update instantly as you type. Click a result to select it and move to the next step.

Searching for presets by country
Type a country name to filter presets — here searching for 'US'

Create a custom preset

If your document isn't in the list, scroll down past the search results and expand the "Create Custom Preset" card. Enter a name, width, and height in millimeters. You can also specify custom head-height ranges if your document has specific requirements.

Custom preset form
The custom preset form lets you enter exact dimensions

Tip

You can change your preset at any time by clicking "Document Type" in the sidebar (desktop) or navigating back to Step 1 using the arrow buttons (mobile).

Step 2 — Upload Photos

Add one or more photos to work with. You can upload photos using drag & drop, the file picker, or your device camera (on mobile).

Drag & drop or browse

Drag photos onto the drop zone, or click "Choose files" / "Add more" to open the file picker. Accepted formats: JPEG, PNG, WebP.

Upload drop zone
The drop zone accepts drag & drop or click-to-browse

Manage uploaded photos

After uploading, each photo appears as a thumbnail. Photos with the green "Edited" badge have been processed in the Edit step. Click the X button on a thumbnail to remove it, or click "Add more" to upload additional photos.

Uploaded photo thumbnails
Thumbnails show editing status — click X to remove or 'Add more' to add

Mobile upload

On mobile, the upload controls appear in the bottom bar. Tap "Add more" to open the file picker or use your device camera.

Mobile upload view
Mobile: thumbnail grid with bottom action bar

Tip

For best results, use a well-lit, front-facing photo with a plain background. Passlens can remove backgrounds, but starting with a clean photo yields better results.

Step 3 — Edit & Crop

This is where you fine-tune each photo. The editor provides tools for automatic compliance, rotation, zoom, background removal, borders, outlines, and guidance overlays. On desktop, the editing panels appear in the sidebar. On mobile, they live in an expandable bottom sheet with tab navigation.

Mobile editing interface

On mobile, the bottom bar shows quick actions (Back, Auto Comply, Continue). Tap the "Edit controls" header or the arrow button to expand the full sheet. Tab chips let you switch between editing panels.

Mobile edit bottom bar
Collapsed bar: quick actions like Auto Comply and Continue
Mobile edit expanded sheet
Expanded: tab chips for each editing panel

Auto Create Compliant Photo

Click "Auto Create Compliant Photo" (desktop) or "Auto Comply" (mobile) to automatically detect your face, straighten any tilt, crop to the preset's required dimensions, and optionally remove the background — all in one click.

By default this uses local ONNX Runtime models in your browser: YuNet for face detection and MODNet for head-top/background removal. If your device is slow or setup is taking too long, you can choose the optional server path for the heavier work.

Auto Enhance panel
The Auto Enhance panel with the one-click button and model status

Tip

If the auto result isn't perfect, you can manually adjust rotation, zoom, and background afterward using the other editing panels.

Resolution (DPI)

Toggle between 300 DPI and 600 DPI. This controls the actual pixel dimensions of your exported photo. 300 DPI is standard for most passport and ID photos. Use 600 DPI when you need extra sharpness or when the application specifically requires it.

DPI toggle chips
Toggle between 300 and 600 DPI — this changes the actual export resolution

Rotation & Zoom

Use the Rotation slider to straighten a tilted photo. The quick buttons rotate by -15°, reset to 0°, or rotate by +15°. The Zoom slider lets you adjust the crop framing. Enable "Auto-fit zoom on rotate" to keep the canvas filled when you rotate.

Transform controls — rotation and zoom
Rotation slider with quick buttons, and zoom with auto-fit option

Background Removal & Color

Passlens offers two background removal modes:

  • Fast removal (uniform) — lightweight model, works well with plain backgrounds.
  • High-quality (advanced) — uses MODNet for detailed edge-aware removal. Handles hair, complex backgrounds, and shadows better.

After removing the background, pick a replacement color from the swatches (white, soft white, light blue, light gray) or use the custom color picker.

Background removal modes and color swatches
Choose a removal mode, then pick a background color

Tip

Many countries require a white or light-colored background. Check your document's requirements before selecting a color.

Border

Toggle "Add border" to add a visible border around your photo. Adjust the border width and color. Some passport agencies accept or prefer photos with a thin border for easier cutting.

Border toggle and settings
Toggle border on/off and adjust width

Outline

Enable "1px hairline outline" to add a subtle cutting guide around the photo. This thin line helps when cutting printed photos to exact dimensions. It does not appear inside the photo area itself.

Outline toggle
A 1px outline helps with precise cutting

Compliance Overlay

Enable "Compliance overlay" to display head-height guidance lines on your photo. These lines show the acceptable range for head positioning based on your selected preset. The overlay is for reference only — it does not appear in your exported photos.

Compliance overlay on the canvas
Blue guide lines show acceptable head-height range

Keyboard Shortcuts

On desktop, you can use keyboard shortcuts to speed up editing:

KeyAction
QRotate left (-1°)
ERotate right (+1°)
Shift + QRotate left (-5°)
Shift + ERotate right (+5°)
0Reset rotation to 0°
+ / =Zoom in
-Zoom out
Ctrl + ZUndo
Ctrl + Shift + ZRedo

Step 4 — Print Layout

The Print Layout step arranges your edited photos onto printable sheets. Configure the paper size, layout, margins, and spacing, then export as PNG, ZIP (all pages), or PDF.

Photos & copies

Select which photos to include and set the number of copies. The layout engine automatically calculates how many copies fit per page and paginates across multiple pages when needed.

Paper size

Choose from standard paper sizes: 4x6 inch, 5x7 inch, A4, A5, or Letter. If your printer or lab needs a different sheet, enter the width and height in millimetres. The preview updates instantly to show the actual proportions.

Layout controls

Adjust margins (space from paper edge) and spacing (gap between photos). Use the "Total copies" spinner to control how many copies to place. The layout preset dropdown offers pre-configured arrangements.

Print layout controls
Desktop: paper size, layout, margins, and spacing controls
Print layout controls
Mobile: print controls in bottom sheet

Preview & navigate pages

The preview shows your pages at actual proportions with a zoom slider. Use the page navigation arrows or page number buttons to switch between pages. You can also drag photos within the preview to reposition them.

Print preview with photos arranged
Preview shows the print layout with photos arranged on the sheet

Export

Three export options are available:

  • PNG — exports the current page as a single PNG at your selected DPI.
  • ZIP — exports all pages as individual PNGs in a ZIP archive.
  • PDF — generates a multi-page PDF ready for printing.
Export buttons
PNG exports one page; ZIP and PDF export all pages

Printing tip

When printing, always set your printer to 100% scale (actual size). Disable "Fit to page" or "Scale to fit" in your printer dialog so the millimeter dimensions stay accurate.