Passport OCR ScannerInactive
Position your passport within the frame for MCZ scanning

Click "Start Camera" to begin passport scanning

Make sure to allow camera permissions

Machine Readable Zone (MRZ)
1
Scanning...
Surname
2
Scanning...
Given Names
3
Scanning...
Passport Number
4
Scanning...
Nationality
5
Scanning...
Date of Birth
6
Scanning...
Sex
7
Scanning...
Date of Expiry
8
Scanning...
P<
P<
CC
CC
CC
SN
SN
SN
SN
SN
SN
SN
SN
SN
SN
SN
SN
SN
SN
SN
GN
GN
GN
GN
GN
GN
GN
GN
GN
GN
GN
GN
GN
GN
GN
GN
GN
GN
GN
GN
GN
GN
GN
GN
PN
PN
PN
PN
PN
PN
PN
PN
PN
C1
NAT
NAT
NAT
DOB
DOB
DOB
DOB
DOB
DOB
C2
S
EXP
EXP
EXP
EXP
EXP
EXP
C3
PER
PER
PER
PER
PER
PER
PER
PER
PER
PER
PER
PER
PER
PER
C4
CC
Line 1: P<COUNTRY<SURNAME<<GIVEN_NAMES<<<
Line 2: PASSPORT#<C<NAT<DOB<C<S<EXP<C<PERSONAL#<C<CC
📋 MRZ TEMPLATE
Line 1 (44 chars):
P<CCC<SURNAME<<GIVEN_NAMES<<<<<<<<<<<<<<<
Line 2 (44 chars):
PASSPORT_NOCNATYYMMDDCSYYMMDDCPERSONAL_NOCC
P = Passport
CCC = Country Code
C = Check Digit
S = Sex (M/F)
< = Filler
Position Passport Here
Zone Detection Status:
Machine Readable Zone (MRZ)
Surname
Given Names
Passport Number
Nationality
Date of Birth
Sex
Date of Expiry
Align passport within the frame
Focus on the MRZ area (red zone) for best results
MRZ: 44 chars × 2 lines | Priority zones: 1-8
📋 MRZ Template
Standard passport MRZ structure (44 chars × 2 lines)
Line 1 Structure:
P<CCC<SURNAME<<GIVEN_NAMES<<<<<<<<<<<<<<<
Line 2 Structure:
PASSPORT_NOCNATYYMMDDCSYYMMDDCPERSONAL_NOCC
P = Passport
CCC = Country
C = Check Digit
S = Sex (M/F)
YYMMDD = Date
< = Filler
Processing Statusidle
Zone-based passport OCR processing
Show Zone Arrays:
Start camera or upload an image to begin passport recognition
Scanning Tips

• Position passport flat and well-lit

• Focus on the MRZ (red zone) for best results

• Hold steady for 2-3 seconds

• Ensure all text is within the frame

• MRZ contains 44 characters per line × 2 lines