For the complete documentation index, see llms.txt. This page is also available as Markdown.

Tabular Data Extraction

Requirements

These packages are required to use these features in production. Trial keys have unlimited access to all features

Package: Smart Data ExtractionModule: Data ExtractionLive demo

Apryse's Tabular Data Extraction engine transforms PDFs with tables into clean, structured outputs you can use in spreadsheets, analytics tools, or downstream systems. Whether you're processing invoices, reports, or research data, this engine helps you turn visual tables into machine-readable formats.

How It Works

The engine detects the row and column structure across pages and consolidates all text into a structured table. It's designed to handle both native and scanned PDFs with a strong focus on numerical and tabular data.

You can export the data as:

  • JSON (ideal for programmatic use)

  • Excel (XLSX) (ideal for business workflows)

JSON Output Specification

Refer to the following specifications to learn more about the output JSON format:

Extract tabular data as JSON file

Specify the name of the input PDF file and the name of the output JSON file, then select the Tabular engine:

DataExtractionModule.ExtractData("table.pdf", "table.json", DataExtractionModule.DataExtractionEngine.e_tabular);
DataExtractionModule::ExtractData("table.pdf", "table.json", DataExtractionModule::e_Tabular);
DataExtractionModuleExtractData("table.pdf", "table.json", DataExtractionModuleE_Tabular)
DataExtractionModule.extractData("table.pdf", "table.json", DataExtractionModule.DataExtractionEngine.e_tabular);
await PDFNet.DataExtractionModule.extractData('table.pdf', 'table.json', PDFNet.DataExtractionModule.DataExtractionEngine.e_Tabular);
DataExtractionModule::ExtractData("table.pdf", "table.json", DataExtractionModule::e_Tabular);
DataExtractionModule.ExtractData("table.pdf", "table.json", DataExtractionModule.e_Tabular)
DataExtractionModule.ExtractData("table.pdf", "table.json", DataExtractionModule::E_Tabular)
DataExtractionModule.ExtractData("table.pdf", "table.json", DataExtractionModule.DataExtractionEngine.e_tabular)

Extract tabular data as JSON string

If you are going to parse the JSON right away, you may as well retrieve it as an in-memory string, instead of an external file.

Specify the name of the input PDF file, then select the Tabular engine:

Extract tabular data as Excel file

Specify the name of the input PDF file and the name of the output XLSX file:

Extract tabular data as Excel stream

Specify the name of the input PDF file and an output filter, such as MemoryFilter:

Optional Configuration

Best Use Cases

  • Financial statements

  • Invoices and billing reports

  • Research tables

  • Survey exports

  • Any document where tabular data is the core structure

Last updated

Was this helpful?