Car & vehicle rental
Verify a renter’s license and entitled vehicle class at pickup, and capture the data for the rental agreement in one scan.
Driver's License OCR API
Turn a driver's license into structured JSON in seconds. Our driver's license OCR API reads all 50 US state designs and licenses worldwide, returning the holder's details and a parsed address (street, city, state, ZIP) — built for KYC and identity verification.

POST a license image with a country-specific documentType and get clean JSON back. The documentType (e.g. us_drivers_license, gb_drivers_license) selects the format — see every value in the supported-countries grid below.
curl -X POST "https://pictotext.io/api/v1/ocr" \ -H "Authorization: Bearer sk_live_YOUR_API_KEY" \ -F "image=@drivers_license.jpg" \ -F "documentType=us_drivers_license"{ "documentType": "us_drivers_license", "firstName": "JOHN", "lastName": "DOE", "licenseNumber": "D123456789012", "dateOfBirth": "1990-01-01", "issueDate": "2020-01-01", "expiryDate": "2025-01-01", "address": "123 MAIN STREET", "city": "LOS ANGELES", "state": "CA", "zipCode": "90001", "vehicleClass": "C"}A representative US response with the address split into street, city, state and ZIP. Exact fields follow each country’s license; open the relevant country in the grid below for its precise schema.
These data categories are returned across driver’s licenses. Exact field names — and any country-specific extras — follow each document, so a US license and a UK licence return different keys.
firstName / lastNameThe holder’s name as printed on the license.
licenseNumberThe driver/license number — US state formats, the UK DVLA driver number, and more — returned as printed.
dateOfBirthNormalized to ISO 8601 (YYYY-MM-DD).
issueDate / expiryDateThe validity window, normalized to ISO 8601 — key for expiry checks in onboarding and fleet compliance.
address (structured)For US licenses the address is returned as separate street, city, state and ZIP fields; elsewhere the full printed address is returned as one string.
vehicleClass / categoriesLicense class (US) or vehicle categories (UK/EU) the holder is entitled to drive, where the document carries them.
restrictionsDriving restrictions when present on the license.
country-specific fieldsHeight and eye color (US), place of birth (UK), issuing state (Australia), issuing authority and more — see each country’s reference for the full list.
Need the exact fields for one country? Open that country’s reference from the supported-countries grid below.
Three stages turn a real-world photo of a license into structured data.
The engine detects the license and its country/state format, then deskews, de-glares and corrects rotation — built for mobile photos, not just flatbed scans.
Printed fields are read across all 50 US state designs and international layouts, including horizontal, vertical (under-21) and Real ID variants as well as older formats still in circulation.
Fields are normalized — dates to ISO 8601, and US addresses split into street, city, state and ZIP — and returned as clean JSON ready for your database.
Anywhere a license has to become structured data for verification or compliance.
Verify a renter’s license and entitled vehicle class at pickup, and capture the data for the rental agreement in one scan.
Onboard gig drivers across states and countries by reading whatever license they hold, with expiry and class ready for your checks.
Track driver license validity and expiry across a fleet, pulling structured fields straight from the license image.
Extract date of birth and identity fields for age-gated services — alcohol, gaming, tobacco — without manual entry.
Use the driver’s license as an accepted identity document for account opening, with structured fields ready for your checks.
Speed up quote and claim intake by reading the license fields your underwriting and policy systems need.
Each country links to its field reference — the exact JSON fields for that license.
Don't see your country? Request a new document type — we add most in 1–2 days.
Practical answers on coverage, fields, addresses and formats for developers integrating the driver’s license OCR API.
Start free, scale as you grow
$0
100 API calls on signup, plus unlimited web OCR. No card required.
$29.90/month
10,000 API calls included. Best value for growing teams.
$249/month
100,000 API calls included. Lowest cost per call.
Pay-as-you-go from $3.33/1,000 calls · credits never expire
Start with a free trial — 100 API calls included. Run your real licenses through the API and see the JSON.