Turn any document into structured data
Document to JSON
One way to turn any document — invoice, form, report or letter — into structured JSON your systems accept.
What goes in
Any business or personal document, as a PDF, photo or scan.
- Define your own fields once and reuse them as a template.
- Or let Formalini propose a structure from a single example.
- Totals and dates are checked against the page before you accept them.
What comes out
{
"document_type": "custom",
"schema_source": "proposed_from_example",
"reference": "AGR-2026-118",
"issued_on": "2026-09-08",
"parties": [
{
"role": "provider",
"name": "Formalini"
},
{
"role": "customer",
"name": "Bergen Marine AS"
}
],
"terms": {
"notice_days": 30,
"renewal": "annual"
},
"fields_confirmed_by_user": [
"reference",
"issued_on",
"terms.notice_days"
],
"confidence": {
"reference": 0.99,
"issued_on": 0.97,
"terms.notice_days": 0.88
}
}How it works
01
Upload a file or take a photo. PDFs, photos and scans all work, up to 100 MB on paid plans.
02
Formalini reads it and fills your template, or proposes a structure from the document itself.
03
Check the values against the page, then export the JSON or send it onwards by API or webhook.
Common questions
What if my document type is unusual?
Describe the fields you need, or upload one example and edit the proposed structure before saving it.
Is the JSON shape fixed?
No. You choose the field names and types, so the output drops straight into your existing system.