Extract Table from PDF
Extract → Extract Table from PDF
The Extract Table from PDF API extracts table structures and data from a PDF. You send the PDF as Base64 (docContent), docName, and optionally async. The API returns JSON with rows, columns, and cell values. Use the tester below to try it; more details are in the sections that follow.
Try the Extract Table from PDF API
Endpoint: POST /api/v2/ExtractTableFromPdf · Required: api-key, docContent, docName
Use the form below to send your API key and PDF (Base64) that contains tables. The response is JSON with extracted table data (rows, columns, cell values). No code required—fill the fields and click Send request.
Overview, parameters, and use cases
- Overview
- Parameters
- Use cases
What is Extract Table from PDF?
This endpoint extracts table structures and data from a PDF. You provide the PDF (Base64) and optionally enable async; the API returns JSON with rows, columns, and cell values. Use it when you need tabular data from PDFs (invoices, reports, data sheets) for spreadsheets, databases, or analysis.
Key features
- Table detection – Detects table layout and extracts rows, columns, and cell values.
- JSON response – Structured table data ready for Excel, CSV, or databases.
- Async – Use async for PDFs with many or complex tables.
Use when you need tabular data from PDFs (invoices, reports, data sheets). Combine with Convert PDF to Excel if you need full conversion; use Extract Table for structured extraction only.
When to use Extract Table from PDF
- Invoices and reports – Extract table data from invoices, financial reports, or data sheets.
- Data migration – Pull tabular data from PDFs into Excel, CSV, or databases.
- Analysis – Get structured table data for analytics or downstream processing.
For request/response schemas and code samples, see Extract Table from PDF in the PDF4me API docs.
Prerequisites
Before using this endpoint, make sure you have:
- A valid PDF4me API key (Get your API Key)
- A PDF document in Base64 format or a public URL to a PDF file
- The PDF document should contain tables
Response Format
The API returns a JSON response with extracted table data including rows, columns, and cell values.