Extract exactly what you need,
every single time.

Define a schema once — field names, types, and required flags. DocPeel's AI maps every incoming document to your template and returns clean JSON that matches your shape exactly, across thousands of documents.

  • 5 built-in templates
  • Custom fields & types
  • Required field validation
What is template-based extraction?

Define once. Extract forever.

Instead of letting the AI decide what to return, a template gives it an explicit schema — the exact field names, data types, and which fields are required. DocPeel's AI-powered extraction reads your document, finds the matching values, and returns a JSON object that exactly matches your template's shape.

Every result has the same keys in the same structure, making downstream automation — spreadsheets, databases, APIs — completely predictable and easy to maintain.

Consistent output shapeRequired field validationType-aware extractionConfidence scores per field
How it works

From template to structured data in three steps.

Define your schema once, then let DocPeel handle every document automatically.

1

Define your template

Add fields with names, types (text, date, currency…), and required flags. Use a built-in template or build from scratch — takes under a minute.

2

Upload your document

Drop any PDF, image, or scan. DocPeel's AI reads the document and maps each value to the matching field in your template.

3

Receive structured JSON

Get clean, typed JSON that matches your template shape — every time. Missing required fields are flagged automatically with a confidence score of 0.

Built-in templates

Start immediately. Customise later.

Five ready-to-use templates cover the most common document types. Duplicate and extend any of them, or build your own schema from scratch.

Invoice
Vendor info, line items, totals, payment terms.
  • Invoice Number
  • Vendor Name
  • Total Amount
  • Due Date
  • Line Items
Use template →
Receipt
Merchant, items purchased, totals, payment method.
  • Merchant Name
  • Transaction Date
  • Total Amount
  • Payment Method
  • Items
Use template →
Contract
Parties, dates, governing law, contract value.
  • Contract Title
  • Party Names
  • Effective Date
  • Expiry Date
  • Contract Value
Use template →
ID Document
Full name, DOB, ID number, expiry, nationality.
  • Full Name
  • Date of Birth
  • ID Number
  • Expiry Date
  • Nationality
Use template →
Bank Statement
Account holder, period, balances, transactions.
  • Account Holder
  • Account Number
  • Period
  • Opening Balance
  • Transactions
Use template →
Template vs. free-form extraction

Two modes. One platform.

DocPeel can run in free-form mode — where the AI decides what to return — or in template mode, where you control the output schema. Choose based on your use case.

Template mode
  • Consistent output shape on every run
  • Required field enforcement
  • Type-safe values (dates, currencies, numbers)
  • Easy downstream automation
  • Confidence scores + missing field flags
  • Works with the REST API & SDKs
Free-form mode
  • No schema needed — start immediately
  • AI finds all relevant fields automatically
  • Great for exploring unknown document types
  • Handles variable layouts & new vendors
  • Output keys vary between documents
  • Best for one-off extractions
Use cases

Works for every team, every document type.

Finance & accounting

Extract invoice data directly into your ERP or accounting software with consistent field names and types — no post-processing required.

Healthcare

Parse patient intake forms, lab reports, and insurance documents into structured records ready for your EHR system.

Legal & compliance

Pull key clauses, party names, and critical dates from contracts for review pipelines and compliance workflows.

Logistics & shipping

Read bills of lading, customs declarations, and delivery notes into your warehouse management system automatically.

Real estate

Extract lease terms, tenant details, and key dates from rental agreements and property documents at scale.

HR & onboarding

Parse resumes, ID documents, and onboarding forms to populate your HRIS system without manual data entry.

FAQ

Common questions.

Start extracting structured data today.

Free plan includes 25 extractions per month. No credit card required.