Go to example tasks

Extract Tables from a PDF to Excel, CSV or JSON

Paste the link of a PDF with tables (here the IRS Publication 15-T withholding tables) and get every table back as rows of cells you can download as Excel, CSV or JSON. Pick the pages with a page range. No browser and no OCR: it reads digital PDFs directly and flags scanned ones.

Try for free
PDF to Text, Markdown & Tables Extractor
PDF to Text, Markdown & Tables Extractorpennapixel/pdf-tables-extractor
File
Status
Page
Pages
+6 fields
Text
Number
Boolean
List
Object

Input

PDF URLs(required):https://www.irs.gov/pub/irs-pdf/p15t.pdf
Pages to read:5-12
Extract tables:true
One row per:page

Output fields

File
Status
Page
Pages
Words
Tables
Scanned?
Title
Error
URL

How it works

Sign up on Apify or log in

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

Start the "Extract Tables from a PDF to Excel, CSV or JSON" task

The PDF to Text, Markdown & Tables Extractor Actor will start running based on the input automatically. You can also change all the input fields, like PDF URLs, pages to read, and more, to match your specific use case.

Receive the "Extract Tables from a PDF to Excel, CSV or JSON" 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 file, status, page, 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 a PDF to Excel, CSV or JSON" task via API.

Image

Integrate "Extract Tables from a PDF to Excel, CSV or JSON" into your workflow

Connect "Extract Tables from a PDF to Excel, CSV or JSON" 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

Each row has a tables field with every table as rows of cells, and the same tables appear as Markdown tables inside the markdown field. Export the dataset as Excel or CSV to open them in a spreadsheet.

No, it reads the text layer of digital PDFs. Scanned PDFs are detected and flagged with isScanned, so you know which files need OCR.