Go to example tasks

Extract tables from PDF files

Pull tables out of PDF reports, price lists and invoices as structured rows plus Markdown, so you can load them into a spreadsheet or database without copy-paste.

Try for free
PDF & Image to Text (OCR, Tables, Markdown)
PDF & Image to Text (OCR, Tables, Markdown)cellwright/pdf-image-to-text
Source
Ok
Type
Page count
+3 fields
Text
Number
Boolean
List
Object

Input

Files (URLs)(required)
url:https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf
Extract tables:true

Output fields

Source
Ok
Type
Page count
Ocr pages
Chars
Error

How it works

Sign up on Apify or log in

The PDF & Image to Text (OCR, Tables, Markdown) Actor is ready to run with the inputs already set for "Extract tables from PDF files". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Extract tables from PDF files" task

The PDF & Image to Text (OCR, Tables, Markdown) Actor will start running based on the input automatically. You can also change all the input fields, like files (urls) and extract tables, to match your specific use case.

Receive the "Extract tables from PDF files" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as source, ok, type, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Extract tables from PDF files" task via API.

Image

Integrate "Extract tables from PDF files" into your workflow

Connect "Extract tables from PDF files" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

Text is read directly from the PDF where possible; scanned pages fall back to OCR. Table detection works best on digital PDFs.