PerfectParser Docs
User GuidesParser Setup Guides

ID Card Parser Setup Guide

Automate identity document extraction for KYC onboarding. Extract names, DOB, document numbers, and expiration dates from ID cards and passports.

Before You Start

Before setting up your parser, ensure you have:

  1. A PerfectParser account (sign up at perfectparser.com).
  2. A healthy credit balance (each identity page processed consumes 1 credit).
  3. A sample ID card or passport photo (PDF, PNG, or JPEG) to use during the parser setup.

We suggest configuring the following schema fields for your ID & Passport Parser to capture all essential compliance data.

Field NameTypeDescription
document_typeTextThe type of ID found (e.g. Passport, Driver's License, National ID).
document_numberTextThe unique document identifier or passport number.
full_nameTextThe holder's full legal name as printed.
date_of_birthTextThe holder's date of birth.
nationalityTextThe country of issue or nationality.
issue_dateTextThe date the document was issued.
expiry_dateTextThe date the document expires.
issuing_authorityTextThe government authority that issued the ID.

AI Prompt (Optional)

To help the AI parser extract field values with maximum accuracy, copy and paste the following prompt instructions into the AI Prompt (Optional) field during setup:

Extract the document type, unique document number, holder's full name, date of birth, nationality, issue date, expiration date, and issuing authority.

Next Steps: Build Your Parser

Ready to build this? Follow our Create a Parser guide for step-by-step dashboard instructions to set up your schema, and then learn how to process files in Bulk Extraction.


Developer Integration

If you want to automate identity document parsing programmatically inside your applications:

Looking for product features and use cases?

See the ID Card & Passport Data Extraction solution page.

On this page