ID AnalyzerID Analyzer
ID Analyzer
  • ID Verification API

    證件掃描與驗證 REST API

    DocuPass

    可嵌入的 KYC 流程

    Biometric API

    人臉比對與活體檢測

    ID Fort

    企業內部部署 KYC

    Transaction Vault

    身份雲端儲存與稽核

    Prime ID Scanner

    桌面證件掃描軟體

  • 證件 OCR 掃描器

    擷取證件資料

    身份驗證

    驗證遠端用戶

    生物特徵驗證

    人臉辨識

    證件真偽驗證

    偽造證件檢測

    AML 與 PEP 篩查

    制裁與監控名單

    文件自動化

    產生與簽署文件

    法規合規

    GDPR、HIPAA、ISO、IAL2

    支援證件

    涵蓋 190 多個國家

  • KYC駕駛驗證用戶註冊開戶用戶驗證身份驗證詐欺偵測金融服務交易平台與社群遊戲運輸零售與電子商務門禁管理醫療保健教育旅遊與飯店業電信
  • 開發者
  • 價格
  • 聯絡我們
登入立即開始
Home
ID AnalyzerID Analyzer

選單

    • ID Verification API
    • DocuPass
    • ID Fort
    • Biometric API
    • Transaction Vault
    • Prime ID Scanner
    • 證件 OCR 掃描器
    • 身份驗證
    • 生物特徵驗證
    • 證件真偽驗證
    • AML 與 PEP 篩查
    • 文件自動化
    • 法規合規
    • 支援證件
    • KYC
    • 駕駛驗證
    • 用戶註冊開戶
    • 用戶驗證
    • 身份驗證
    • 詐欺偵測
    • 金融服務
    • 交易平台與社群
    • 遊戲
    • 運輸
    • 零售與電子商務
    • 門禁管理
    • 醫療保健
    • 教育
    • 旅遊與飯店業
    • 電信
    • 開發者
    • 價格
    • 聯絡我們
    • 安全性與 ISO 27001
← 返回部落格
MRZDocument OCRPassports

How to Read the Machine-Readable Zone on a Passport

ID Analyzer Team·May 22, 2026·閱讀時間 2 分鐘
How to Read the Machine-Readable Zone on a Passport

If you have ever looked at the bottom of a passport's photo page, you have seen two lines of evenly-spaced capital letters, numbers, and chevrons (<). That block is the Machine-Readable Zone (MRZ) — a standardized, machine-friendly copy of the holder's key details, defined by ICAO Document 9303.

It exists so that any reader — a border kiosk, a hotel scanner, or an API — can extract identity data reliably, without depending on fonts or layout.

What the two lines encode

A standard passport (TD3 format) MRZ has two lines of 44 characters:

  • Line 1 — document type, issuing country, and the holder's name (surname, then given names, separated and padded with <).
  • Line 2 — passport number, nationality, date of birth, sex, expiry date, an optional personal number, and a set of check digits.
P<UTOERIKSSON<<ANNA<MARIA<<<<<<<<<<<<<<<<<<<
L898902C36UTO7408122F1204159ZE184226B<<<<<10

Tip

Dates are written YYMMDD. So 740812 is 12 August 1974, and 120415 is 15 April 2012. The single letter after the date (F/M/X) is the sex field.

Check digits: the MRZ's built-in error detection

The MRZ is not just data — it is self-verifying. Several fields are followed by a check digit computed from the characters before it, using a weighting pattern of 7, 3, 1 repeated across the field. A final composite check digit covers the whole second line.

This is why MRZ extraction can reach near-perfect accuracy: even if OCR misreads a character, the check digits usually catch it. A document where the check digits do not validate is an immediate red flag — it often signals a tampered or fabricated passport.

Why it matters for verification

Two reasons:

  1. Accuracy. The MRZ gives a clean, structured source of truth for name, number, nationality, date of birth, and expiry — independent of the visual zone, which can be harder to read on a worn or low-light capture.
  2. Authenticity. Cross-checking the MRZ against the visual zone (and validating the check digits) is one of the strongest, cheapest fraud signals available. If the printed name says one thing and the MRZ says another, something is wrong.

ID Analyzer decodes the MRZ automatically wherever one is present — and falls back to full visual-zone OCR when it is not (for example, on many driver's licenses, which use barcodes instead).

See how document OCR works

So the next time you see those two cryptic lines, you will know: they are a compact, checksum-protected snapshot of an identity — built to be read by machines, and to make forgery harder.

繼續閱讀

GDPR and Identity Data: What You Can and Cannot Store
GDPRData Protection

GDPR and Identity Data: What You Can and Cannot Store

A practical guide for developers and compliance teams on storing identity-verification data under GDPR.

Jun 1, 2026·閱讀時間 5 分鐘
What Is AML Screening, and How Does It Work?
AMLCompliance

What Is AML Screening, and How Does It Work?

A practical breakdown of AML screening, what it checks, and how to build it into your onboarding flow.

May 31, 2026·閱讀時間 5 分鐘
What Is KYC, and Why Does It Matter?
KYCCompliance

What Is KYC, and Why Does It Matter?

A plain-English guide to Know Your Customer — what it is, why regulators require it, and how modern teams automate it without slowing onboarding.

May 28, 2026·閱讀時間 3 分鐘
開始驗證

準備好驗證你的第一張證件了嗎?

註冊即享免費測試額度——無需信用卡。

  • 免費試用
  • 聯絡銷售
  • 無需信用卡

  • 註冊即送免費試用額度

ID Analyzer

雲端身份驗證服務。透過 OCR、生物特徵人臉比對與 AML 篩查,掃描並驗證來自 190 多個國家的駕照、護照與身分證。

FacebookFacebook
Twitter@idanalyzer

ISO 27001 認證 · 查看認證

產品

  • Identity Verification API
  • DocuPass Web KYC
  • AML/PEP 檢查
  • Face Verification API
  • Transaction Vault
  • Prime ID Scanner

解決方案

  • 證件 OCR 掃描器
  • 身份驗證
  • 生物特徵驗證
  • 偽造證件檢測
  • 支援證件

公司

  • 關於我們
  • 價格
  • 開發者
  • 部落格
  • 服務狀態
  • 聯絡我們

© 2026 Evith Technology Ltd. · 隱私權政策 · 服務協議 · 資料保護政策

English简体中文繁體中文DeutschFrançaisEspañolPortuguêsItaliano日本語한국어العربيةहिन्दी