Driver's License OCR API
4.8/5
(30+ reviews)
Driver's license OCR API that reads any license, any country
Turn a photo or scan of a driver's license into structured JSON in seconds. Name, license number, dates, categories and address, each with a confidence score. No template per state or country.
No credit card required
SOC 2 Type II & GDPR

Trusted by finance and product teams at




Why driver's licenses slow onboarding down
Every state and country has its own license design, numbering and category codes. Customers send glare-filled photos, and staff end up retyping names, numbers and expiry dates by hand.
License uploaded
Front photo sent from the booking or sign-up flow.
Manual check
Name, number and expiry retyped from the card.
Friction
Each state and country uses its own layout.
Eligibility
Category and expiry checked against your rules.
Friction
Category codes differ from one country to the next.
Cross-check
Name compared with the booking and payment card.
Friction
A middle name or an accent breaks the match.
Driver approved
Finally cleared, long after the license was sent.
Every license field, from the holder to the categories
Hover a group to see where it sits in the JSON response. Dates come back in ISO format, and the address is split into street, city, state and postal code.
See fields list
Holder
last_name, first_name, sex
Birth
date_of_birth, place_of_birth
License
document_id, category, mrz
Validity
issued_date, expiry_date, issuing_authority
Address
street, city, state, postal_code, country
Country
country_code, nationality
{
"last_name": { "value": "MURPHY" }, "first_name": { "value": "SIOBHAN" },
"date_of_birth": { "value": "1991-11-23" }, "place_of_birth": { "value": "Cork" },
"document_id": { "value": "DL4821553" }, "category": { "value": "AM, B" },
"issued_date": { "value": "2023-05-12" }, "expiry_date": { "value": "2033-05-11" },
"address": { "street": "14 Harbour Road", "city": "Dublin", "postal_code": "D04 X2T5", "country": "Ireland" },
"country_code": { "value": "IE" }, "nationality": { "value": "Irish" },
}
Ready to post, not just to read.
Dates come back in ISO 8601, sex as M, F or Other, the address as structured parts and the country as a code. Every field carries a confidence score.
Built for real license photos, not flatbed scans
Glare on the laminate, a thumb on the corner, a card shot on a car seat, a worn license renewed years ago. The model reads the license photos your users actually take.

Any state, any country
A license from Texas, Ireland or Japan comes back in the same JSON shape. No template to add when a new jurisdiction shows up.

Categories you can check
The license category comes back as its own field, so your code can confirm the driver holds the right class before a booking.

Old, worn or glossy, still read
Faded laminate, worn edges and glare from a car window are read too, and low-confidence values are flagged for review.

Expiry caught early
Issue and expiry dates come back in ISO format, so an expired license can be flagged the moment it is uploaded.
PDF / JPEG / PNG / WEBP / TIFF / HEIC, Phone photos & scans, Any state or country, Old and new license designs, Latin and non-Latin scripts
Driver's license OCR accuracy, field by field
Each value carries a confidence score, so clear licenses pass straight through and doubtful fields go to a reviewer. Test it on your own licenses during the free trial.
96.1%
Field-level accuracy on key fields
Name, license number, dates
99.8%
Accuracy on address fields
Street, city, state, postal code
0.9s
Median time per license
Single image, synchronous call
A confidence score on every field
Send only real exceptions to a human

Document AI features, better than OCR
Prepare, classify and extract. Mindee delivers high-accuracy extraction for every document format, so you can automate workflows with speed and high reliability.
Data extractor
Classifier
Splitter
Edge detector
Pull the exact fields you need from any document
Pick a ready-made model or describe your own data schema. Every value comes back typed, normalised, located on the page and scored.
- Prebuilt models or your own custom schema
- Tables and line items, across pages
Know what each document is before you read it
The classifier labels every upload with your own classes, so an ID card goes to onboarding and an invoice goes to accounts payable.
- Your own document classes
- Route each type to the right model
One scanned batch in, separate documents out
Send a long PDF from the office scanner. Mindee finds where each document starts and ends, and returns them one by one.
- Page ranges for every detected document
- Up to 200 pages and 100 MB per file
Several documents on one photo? Each gets its own crop
Users photograph three receipts on a desk, or both sides of an ID. Mindee detects each border, returns its coordinates and reads them separately.
- Coordinates for every detected document
- Built for mobile capture flows
Prototype in minutes, go live with the API
Step 1 : Prototype
Run a proof of concept in Make, Zapier or n8n
No code, no IT ticket. Point a mailbox at Mindee and watch the data arrive in a spreadsheet.
License uploaded
From your booking or sign-up flow
Mindee extracts the license
Name, number, expiry, categories
Driver profile created
Your rental, fleet or insurance system
Low-confidence fields sent for review
Slack or email alert to your team
Step 2 : Production
Integrate the API into your platform
Official SDKs, typed responses and webhooks for async processing. Most teams ship the integration in a day.
mindee docs
$ pip install mindee
Your app
Mindee API
Your ERP/CRM
.webp)
Integrate Mindee into your workflow in minutes with SDKs & no-code tools
Go live in minutes using our verified Zapier & Make.com app with zero coding, or integrate seamlessly via our well-documented REST API built for developers. SDKs available for Python, .NET, Node.JS, Java, Ruby, PHP.
Integrations

Enterprise-grade security
Our API has a SOC 2 Type II certified infrastructure and is GDPR Compliant to ensure your file information remains protected at all times.
EU or US hosting available
GDPR, CCPA Compliant
Security center
What teams build with driver's license OCR
The same API powers very different products. Here is where it usually starts.

Banking & lending
Insurance
Customer onboarding
Read and cross-check every onboarding document, from ID to bank details, in real time.

Insurance
Claim management
Read every claim attachment, settle simple claims and route the rest to the right adjuster.

Real estate
Tenant screening
Check identity, income and tax documents in one rental file, and rank applicants faster.

HR
Candidate application
Turn resumes and hiring documents into structured candidate profiles, from application to first day.
Rated 4.8/5 by developers and operations teams
4.8
4.9
Mindee is a web based tool that help us in scanning and reading different type of documents like identity cards, invoices, proposal plans etc and extract all the information with its AI and then it provides all the information and data associated with these documents a structured way.
Mindee is a web based tool that help us in scanning and reading different type of documents like identity cards, invoices, proposal plans etc and extract all the information with its AI and then it provides all the information and data associated with these documents a structured way.
Mindee works reliably and delivers good performance. The OCR data is accurate, and the API is stable. It works like a charm.
I like the easiness and how to use it. Also the price model is very fair. Good with space for improvement
Documents related that Mindee reads
FAQ about Mindee's Driver's License OCR API
Can't find what you're looking for? Our team answers within one business day.
Does the driver's license OCR API work with US and international licenses?
Yes. The template reads driver's licenses issued by any country, from US state licenses to European photocard licenses, and returns them in the same JSON structure. Some fields only exist in certain jurisdictions, so you can switch off the ones you don't need. Every value has a confidence score, so you decide what goes straight through and what goes to a reviewer.
Does Mindee support driver’s licenses from every US state and other countries?
Driver’s licenses vary widely: each US state has its own designs, which change regularly, and other countries use their own formats, such as the standardized EU license with its numbered fields. Mindee doesn’t rely on templates, so it handles these different layouts and returns the same output structure for each of them. You can build a single integration for users from any state or country, and new card designs don’t break your workflow.
Can Mindee extract license categories, restrictions and expiry dates?
Yes. Besides identity details, Mindee extracts the fields that matter for driving-related use cases: license number, issue and expiry dates, vehicle categories or classes, and endorsements or restrictions when present. Car rental companies, ride-hailing and delivery platforms, fleet managers and insurers can then automatically check that a driver holds a valid license for the right vehicle type, and get alerts before a license expires, instead of reviewing each card manually.
Is it legal to scan and store driver’s license data?
It depends on where you operate and why you collect the data. Some US states restrict how businesses can use or keep information read from driver’s licenses, and in Europe, license data is personal data covered by GDPR. In all cases, best practice is to collect only the fields you need for a clear purpose, such as checking a driver’s eligibility, and to avoid storing full images longer than necessary. Mindee helps by returning structured fields you can keep selectively. It is SOC 2 Type II certified and GDPR compliant, and data is encrypted in transit and at rest.
About Mindee
Is my data secured and protected during the conversion process?
Yes, your data is highly secured and protected during the entire conversion process. As an enterprise-grade OCR solution, Mindee takes data privacy very seriously. Here are the key security measures in place:
- Certified compliance: Mindee's infrastructure is SOC 2 Type II certified and fully GDPR compliant, ensuring strict industry standards for data protection.
- Encryption: All documents and extracted data are fully encrypted both in transit (during the API call) and at rest.
- Data localization: You have control over where your data is processed, with the option to host and process your data on either EU or US servers.
- Strict privacy: Mindee respects data confidentiality. Your processed documents are not shared with third parties, and your private data is not used to train global AI models.
In short, your sensitive documents are processed in a secure, isolated environment and remain completely under your control.
Is Mindee's OCR API free to use?
We provide a 14 days free trial so you can fully test any of our OCR models — no credit card required. After this, we offer different pricing tiers depending of the volume of pages processed and the features you might need. See the pricing page for more information.
What file formats are supported for JSON conversion?
The supported document formats are:
- PDF (
application/pdf) – While technically a document format rather than an image, it is natively supported for all extraction models. - JPEG / JPG (
image/jpeg) - PNG (
image/png) – Must be non-animated. - WebP (
image/webp) - TIFF / TIF (
image/tiff) – Both single-page and multi-page TIFFs are supported and processed similarly to PDFs. - HEIC (
image/heic) – Apple's High-Efficiency Image Container format.
📌 Important technical limitations to keep in mind:
To ensure the OCR pipeline runs smoothly and successfully returns your JSON, make sure your files adhere to the following constraints:
- Maximum file size: 100 MB per file.
- Maximum page count: Up to 200 pages per document.
- File state: The files cannot be encrypted, and PDFs must not be password-protected.
Ready to stop retyping license details?
Plug the driver's license OCR API into your rental, onboarding or claims flow in minutes, with a team of document processing engineers behind it.
14-day free trial
No credit card required