Document type

National ID OCR

Read national identity cards from many countries using the universal reader.

Can Mahad OCR read a National ID?

Available now. Read national identity cards from many countries using the universal reader. It returns full_name; document_number; date_of_birth and more as JSON. Input: PNG, JPG, PDF. Limitation: Layouts differ enormously between countries; unusual cards may return partial fields.

Available now

Fields normally extracted

  • full_name
  • document_number
  • date_of_birth
  • nationality
  • expiry_date (where printed)

Validation available

Each field is marked ✓ confirmed or ⚠ check it, with the evidence behind it; disputed, unreadable or missing fields go to human review. Cross-document comparison where a candidate has several documents.

Example response

Synthetic example — not a real document.

{ "type": "Id Card", "values": { "full_name": "…", "document_number": "…" }, "status": "verified" }

Supported formats

PNG, JPG, PDF

Common business uses

  • Cross-border recruitment
  • KYC onboarding
  • HR record building

Integration

POST https://api.mahadocr.com/v1/documents/upload

Integration guide →Aadhaar and PAN card OCR API: fields, API example, limits →

Limitations

Layouts differ enormously between countries; unusual cards may return partial fields. Validate on your own document mix before relying on it.

Try it on your own document

Upload a national id in the live demo — the file is processed in memory and not stored.