FacePlugin Logo

© 2025 FacePlugin

MRZ Recognition

Machine Readable Zone detection and parsing

Key Features

  • MRZ code detection and extraction
  • Automatic parsing of MRZ data
  • Checksum validation
  • Support for TD1, TD2, TD3 formats
  • Multi-language support

Supported Documents

  • International passports (TD3)
  • ID cards (TD1, TD2)
  • Travel documents
  • Visa documents
  • Residence permits

MRZ Format Types

TD1 Format

ID cards (85.6 × 53.98 mm)

  • • 3 lines of text
  • • 30 characters per line
  • • National ID cards
  • • Some visas

TD2 Format

Official travel documents

  • • 2 lines of text
  • • 36 characters per line
  • • Some passports
  • • Travel documents

TD3 Format

Standard passports

  • • 2 lines of text
  • • 44 characters per line
  • • International passports
  • • Most common format

Extracted Information

Document Type

Country Code

Full Name

Document Number

Nationality

Date of Birth

Sex

Expiry Date

Try MRZ Recognition

or drag and drop

PNG, JPG, GIF up to 10MB

API Response

Upload and analyze an image to see the response