Templates
Turn common documents into JSON, Excel or CSV.
Each template is a ready-made schema. Every new workspace and guest browser starts with all of them, and you can use, edit or delete each one like any other schema. Results come back as JSON, and you can download any of them as Excel or CSV.
JSON
Document to JSON
- invoice26 fields
Convert invoice PDF to JSON
Extract vendor, totals, tax and every line item from invoice PDFs, scans and photos into typed JSON. Try the invoice template free, no sign-up needed.
vendor_namevendor_addressvendor_tax_idcustomer_namecustomer_addressinvoice_number
See the invoice template - receipt20 fields
Convert receipts to JSON
Turn receipt photos and PDFs into JSON with merchant, date, items, tax, tip and payment method. Try the receipt template free in the Playground.
merchant_namemerchant_addressmerchant_phonemerchant_tax_idreceipt_numbertransaction_date
See the receipt template - bank-statement19 fields
Extract bank statement transactions to JSON
Pull every transaction, balance and account detail out of bank statement PDFs into JSON you can turn into CSV. Try the bank statement template free.
bank_nameaccount_holderaccount_numberaccount_typeibancurrency
See the bank statement template - purchase-order22 fields
Convert purchase order PDF to JSON
Extract PO number, buyer, supplier, delivery date and every ordered line from purchase order PDFs into JSON. Try the purchase order template free.
po_numberorder_datedelivery_datebuyer_namebuyer_addresssupplier_name
See the purchase order template
Excel and CSV
Need a spreadsheet instead?
Same extraction, different output. Line items become rows, numbers stay numbers, and there's not a merged cell in sight.
- .xlsx
Convert bank statement PDF to Excel
Turn bank statement PDFs and scans into a clean Excel file: one row per transaction, real dates and numbers, no merged cells. 50 free pages a month.
See bank statement to Excel - .csv
Convert bank statement PDF to CSV
Convert bank statement PDFs and scans to CSV with one row per transaction, ready to import into your accounting tool. Try 50 pages free every month.
See bank statement to CSV - .xlsx
Convert invoice PDF to Excel
Extract invoice PDFs, scans and photos into Excel: header fields on one sheet, every line item as a row on another. Free for 50 pages a month.
See invoice to Excel - .csv
Convert invoice PDF to CSV
Turn invoice PDFs and scans into CSV with one row per line item and the invoice details on every row. Pick your own columns. 50 pages free a month.
See invoice to CSV - .xlsx
Turn receipts into an Excel sheet
Snap a receipt, get an Excel row: merchant, date, items, tax, tip, total and payment method. Works with phone photos too. 50 free pages a month.
See receipt to Excel - .xlsx
Extract tables from PDF to Excel
Pull tables out of PDFs and scans into Excel without the page clutter. Name the columns you want and get clean rows back. 50 free pages a month.
See PDF table to Excel
FAQ
Questions, answered.
What kinds of documents can I send?
PDF, PNG, and JPEG. Free allows 10 MB and 10 pages per file; paid plans allow 25 MB and 50 pages. Invoices, receipts, statements, forms, résumés, scans, and phone photos all work. If a person can read it, doc2json can structure it.
Do I have to write a schema?
No. Without a schema, the model returns the fields it finds. A schema makes the output predictable: you get exactly your keys, in your types, every time.
What happens when a value is not in the document?
It comes back as null. doc2json is built to return null instead of guessing, so you can tell missing data from real data.
Do you store my documents?
No. The file is read for the parse and then dropped. The activity log keeps metadata only: status, duration, the API key, and the schema name. Never the document or the extracted text.
Can I get the results as Excel or CSV?
Yes. In the Playground, use Download after a parse. Over the API, send export=xlsx or export=csv with the parse and the response adds the file next to the JSON, for the same credits.
How do I use it with AI agents?
doc2json is an MCP server. Add it to your agent, and it gets a parse_document tool that uses your saved schemas.
Can I try it without an account?
Yes. The Playground, the schema editor, and the API docs are open to everyone. Sign in when you want an API key or want to parse your own files.