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

Driver's license OCR extracting name, license number, expiry and categories from an Irish licence to JSON

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.

RESULT

[X] minutes to check each license by hand, and [X]% of bookings delayed at the counter.

See how Mindee fixes it

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

response.json

{

"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.

Driver's licenses from the US, Ireland, Germany, Japan and Brazil flowing through Mindee into one JSON schema

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.

License category table with category B highlighted and a car rental allowed by the extracted category

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.

Worn, glossy driving licence photo with confidence scores and one field flagged for review

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.

Driving licence expiry date placed on a validity timeline, from issue date to expiry, marked valid

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

Set your own threshold. Fields above it flow straight to your systems; anything below lands in a review queue, with the exact spot on the driver's license highlighted. Définissez votre propre seuil. Les champs au-dessus partent directement dans vos systèmes ; les autres rejoignent une file de vérification, avec leur emplacement exact mis en évidence sur votre driver's license. Define tu propio umbral. Los campos que lo superan pasan directamente a tus sistemas; los que quedan por debajo van a una cola de revisión, con la ubicación exacta resaltada en driver's license.

Auto-approve the driver's licenses you can trust Aprueba automáticamente driver's licenses de confianza Validez automatiquement les driver's licenses fiables

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.

Prototype in minutes, go live with the API

Start with a no-code workflow to prove the value on your own driver's licenses, then move the same model into your product. Commencez par un workflow no-code pour prouver sa valeur sur vos propres driver's licenses, puis intégrez le même modèle dans votre produit.

What teams build with driver's license OCR

The same API powers very different products. Here is where it usually starts.

Rated 4.8/5 by developers and operations teams

4.8

on G2

4.9

on Capterra

quote

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.

on G2

quote

Mindee works reliably and delivers good performance. The OCR data is accurate, and the API is stable. It works like a charm.

on Capterra

quote

I like the easiness and how to use it. Also the price model is very fair. Good with space for improvement

on Capterra

FAQ about Mindee's Driver's License OCR API

Can't find what you're looking for? Our team answers within one business day.

About driver's license OCR À propos de l’OCR pour les driver's license

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