Go to example tasks

Extract tables from PDF to CSV

Find the tables in PDF files and export each one as structured rows, a Markdown table and a CSV file in the key-value store. Works with ruled and borderless tables.

Try for free
PDF Text Extractor & PDF to Markdown: Tables, OCR, RAG
PDF Text Extractor & PDF to Markdown: Tables, OCR, RAGbigkerm/document-to-markdown-tables-ocr
URL
Status
File type
Pages in file
+4 fields
Text
Number
Boolean
List
Object

Input

Document links:https://www.irs.gov/pub/irs-pdf/p15.pdf
Page range:16-59
What to return:tables+1

Output fields

URL
Status
File type
Pages in file
OCR pages
Tables
Words
Error or reason

How it works

Sign up on Apify or log in

The PDF Text Extractor & PDF to Markdown: Tables, OCR, RAG Actor is ready to run with the inputs already set for "Extract tables from PDF to CSV". 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 to CSV" task

The PDF Text Extractor & PDF to Markdown: Tables, OCR, RAG Actor will start running based on the input automatically. You can also change all the input fields, like document links, page range, and more, to match your specific use case.

Receive the "Extract tables from PDF to CSV" 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 URL, status, file 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 to CSV" task via API.

Image

Integrate "Extract tables from PDF to CSV" into your workflow

Connect "Extract tables from PDF to CSV" 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

In the run's key-value store, one TABLE--p-.csv per table, plus rows in the dataset item.

Yes, use pageRange such as 1-5, 8, 12-.