# doc2json > Document data entry in seconds. Send a PDF, PNG, JPEG, or plain text, pick the fields you want in a layout, and get typed data back with optional citations. Use the Playground in the browser, or integrate through the REST API and MCP (see Developers). One credit parses one page. An image is one page. Uploaded documents are not stored. Results come back as JSON. Send export xlsx or csv with a parse to also get the result as an Excel or CSV file, or use Download in the Playground. Citations: send citations true with a parse to see where each value came from. Each value gets the page, the printed text, a box on the page, and a status (verified, fuzzy, mismatch, other_page, ambiguous, or unverified). Works for PDFs and images, at no extra credits. The Playground always shows citations: click a value to see its box on the page. ## Docs - [Quick start](https://doc2json.manoonlabs.com/developers): curl, SDK, Python, and MCP snippets - [API docs](https://doc2json.manoonlabs.com/developers#api-docs): REST endpoints, authentication, citations, Excel and CSV export, layout format (`schema` JSON field), status codes - [MCP server](https://doc2json.manoonlabs.com/docs/mcp): endpoint, Cursor and Claude Code setup, tool list - [Playground](https://doc2json.manoonlabs.com/playground): try a parse in the browser ## REST - Parse: POST https://doc2json.manoonlabs.com/api/v1/parse with Authorization: Bearer . JSON keys, in order: file / file_base64 / text (required, exactly one: file is a multipart/form-data upload such as file=@invoice.pdf; file_base64 is the file as a base64 string in a JSON body; text is plain text of the document, in JSON or as a multipart part name, 1 credit per started 3,000 characters. Files can be PDF, PNG, JPEG, or UTF-8 text), filename (optional, defaults to the uploaded file's name, or "text" for text), schema (optional, saved name or layout object), export (optional, xlsx or csv), citations (optional, true or false, default false) - export=xlsx or export=csv keeps the JSON and adds export: {format, filename, contentType, content}, where content is the file as base64. Leave export out for JSON only. Same credits as a plain parse - citations=true keeps the JSON and adds citations: {"": {page, text, bbox, status, source}}, keyed by each value's path such as lineItems[0].amount. page counts from 1. bbox is [x0, y0, x1, y1] as fractions of the page from the top left. status is verified, fuzzy, mismatch, other_page, ambiguous, or unverified. source is text_layer (measured from the PDF's text), model (read from a scan or image), or null. Text documents get no page or box. Same credits as a plain parse ## MCP - Endpoint: POST https://doc2json.manoonlabs.com/mcp (Streamable HTTP, JSON-RPC 2.0) - initialize and tools/list work without a key. tools/call needs an API key as Authorization: Bearer or x-api-key: - Tools: whoami, parse_document, list_schemas, get_schema, create_schema, update_schema - parse_document arguments: file_base64 (the PDF, PNG, JPEG, or text file as base64) or text (plain text), exactly one, schema (optional layout: saved name or object), and citations (optional, true to also get the page and box for each value) ## Templates - [All templates](https://doc2json.manoonlabs.com/convert): ready-made layouts - [Extract invoice data from PDFs and photos](https://doc2json.manoonlabs.com/convert/invoice): Pull vendor, totals, tax and every line item from invoice PDFs, scans and photos into typed fields. Try the invoice template free in the Playground. - [Extract receipt data from photos and PDFs](https://doc2json.manoonlabs.com/convert/receipt): Turn receipt photos and PDFs into typed fields for merchant, date, items, tax, tip and payment method. Try the receipt template free in the Playground. - [Extract bank statement transactions](https://doc2json.manoonlabs.com/convert/bank-statement): Pull transactions, balances and account details from bank statement PDFs into typed fields. Export to Excel or CSV in the Playground. - [Extract purchase order data from PDFs](https://doc2json.manoonlabs.com/convert/purchase-order): Extract PO number, buyer, supplier, delivery date and every ordered line from purchase order PDFs into typed fields. Try the purchase order template free. ## Excel and CSV - [Convert bank statement PDF to Excel](https://doc2json.manoonlabs.com/convert/bank-statement-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. - [Convert bank statement PDF to CSV](https://doc2json.manoonlabs.com/convert/bank-statement-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. - [Convert invoice PDF to Excel](https://doc2json.manoonlabs.com/convert/invoice-to-excel): Extract invoice PDFs, scans and photos into Excel: header keys on one sheet, every line item as a row on another. Free for 50 pages a month. - [Convert invoice PDF to CSV](https://doc2json.manoonlabs.com/convert/invoice-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. - [Turn receipts into an Excel sheet](https://doc2json.manoonlabs.com/convert/receipt-to-excel): 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. - [Extract tables from PDF to Excel](https://doc2json.manoonlabs.com/convert/pdf-table-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. ## Alternatives - [All comparisons](https://doc2json.manoonlabs.com/alternatives): doc2json compared with other document extraction tools, prices checked 31 Oct 2026 - [Sensible alternatives](https://doc2json.manoonlabs.com/alternatives/sensible-alternatives): Sensible alternatives compared: doc2json, LlamaParse, Parseur and Docparser. Prices, free plans, layouts, API and MCP side by side. - [Docparser alternatives](https://doc2json.manoonlabs.com/alternatives/docparser-alternatives): Docparser alternatives compared: doc2json, Parseur, Sensible and Nanonets. Prices, free plans, rules vs layouts, API and MCP side by side. - [Parseur alternatives](https://doc2json.manoonlabs.com/alternatives/parseur-alternatives): Parseur alternatives compared: doc2json, Docparser, Nanonets and LlamaParse. Prices, free plans, layouts, API and MCP side by side. - [Nanonets alternatives](https://doc2json.manoonlabs.com/alternatives/nanonets-alternatives): Nanonets alternatives compared: doc2json, Parseur, Docparser and Sensible. Prices, free plans, layouts, API and MCP side by side. - [LlamaParse alternatives](https://doc2json.manoonlabs.com/alternatives/llamaparse-alternatives): LlamaParse alternatives compared: doc2json, Sensible, Parseur and Nanonets. Prices, free plans, layouts, API and MCP side by side. ## Benchmark - [Benchmark: doc2json on messy real-world documents](https://doc2json.manoonlabs.com/benchmark): On phone photos, rotated pages and scanned receipts, a plain LLM prompt gets 39% to 73% of fields right. doc2json gets 96% to 100%. Method and caveats. ## Account - [Pricing](https://doc2json.manoonlabs.com/pricing): plans and credits - [Get an API key](https://doc2json.manoonlabs.com/settings/api-keys)