Turn any document into structured JSON in 2 seconds
Invoices, receipts, contracts, purchase orders, bills, NDAs, packing lists — one API endpoint. Paste a document below and get clean JSON. No signup for the demo.
// Click "Extract →" to run
One endpoint. Every document.
Trained on real invoices, receipts, contracts and logistics paperwork — not toy examples.
Invoices & receipts
Line items, taxes, totals, vendor, customer, dates, currency. Clean fields, no regex.
Contracts & NDAs
Parties, effective dates, obligations, termination clauses, governing law.
Bills of lading
Shipper, consignee, ports, containers, HS codes, gross weight, incoterms.
Purchase orders
PO number, buyer, supplier, SKUs, quantities, unit prices, delivery terms.
Offer letters
Candidate, role, salary, start date, benefits, reporting line.
Lab reports
Patient ref, test name, result, units, reference range, collected date.
API in 10 seconds
POST raw text, get JSON. Works from any language, any stack.
curl -X POST https://document-to-json.boring-saas-infra.workers.dev/extract \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_KEY" \
-d '{"document_type":"invoice","text":"INVOICE #INV-2043 ..."}'
# → 200 OK
{
"document_type": "invoice",
"fields": {
"invoice_number": "INV-2043",
"date": "2026-03-14",
"vendor": "Acme Supplies Ltd.",
"customer": "Brightline Imports Inc.",
"subtotal": 925.00,
"tax": 92.50,
"total": 1017.50,
"currency": "USD",
"line_items": [
{"description": "Copper wire, 2mm", "qty": 120, "unit": "m", "unit_price": 4.50},
{"description": "Steel fittings, 3/4\"", "qty": 40, "unit": "pcs", "unit_price": 7.25},
{"description": "Shipping", "qty": 1, "unit": "job", "unit_price": 85.00}
]
}
}
Simple pricing
Start free. Upgrade when you need volume.
- 50 extractions / day
- All 100+ document types
- REST API access
- Community support
- 5,000 extractions / month
- Priority queue (faster responses)
- Higher rate limits
- Email support
- License key
doc_…
Cancel anytime. Instant activation.
FAQ
What document types are supported?
100+ types including invoices, receipts, credit memos, purchase orders, statements, contracts, NDAs, MSAs, SOWs, LOIs, bills of lading, packing lists, customs declarations, offer letters, termination letters, performance reviews, prescriptions, lab reports, insurance claims and more.
Do I need to OCR the document first?
No. Send the raw text. If you have PDFs or images, use any OCR you already have and send us the text — or use our MCP server which handles PDFs directly.
Is my data stored?
No. Documents are processed in memory and discarded. We don't log document content. Only aggregate counts for rate limiting.
Can I self-host?
Pro subscribers get a Docker image. Contact us after subscribing.
What happens after 50 free extractions?
You get a 429 with a link to upgrade. Free quota resets daily at 00:00 UTC.