/// EXTRACT
2 credits

PDF to Table API — extract tables from any PDF

Ruled and borderless. A confidence score per table. Optional multi-page merge.

Try PDF to Table API — free →Read the docs

Free account. No card required.

How does the PDF to Table API work?

One HTTP request from any language. Every ASHDOCS endpoint uses the same X-API-Key header.

curl -X POST https://www.ashdocs.com/api/v1/tools/pdf-to-table \
  -H "X-API-Key: ash_live_..." \
  -F "files=@invoice.pdf" \
  -F 'options={"output_format":"csv"}'

Common use cases

Frequently asked questions

How do I get CSV from the PDF to Table API?+

Set output_format in options, for example {"output_format":"csv"}.

Does it read tables without ruling lines?+

Yes. It reads ruled and borderless tables. Set merge_tables: true to join a table that continues across pages, and each table comes back with a confidence score.

How much does a PDF to Table call cost?+

2 credits per document with a live key. Test keys never use credits.

Guide: Extracting Data from PDFs: OCR, Parsing, or AI?

Guide: PDF to CSV: 4 Ways to Extract Clean Tables

RELATED TOOLS