Go to example tasks

Convert PDF tables to CSV (government statistics report)

Turn the tables in any PDF into clean CSV, JSON rows and Markdown. This example reads a 25-column US government statistics report and returns one ready-to-import table. Paste your own PDF links, pick pages if you like, and pay $0.002 only for pages where a table is found. Scanned pages are handled by OCR automatically.

Try for free
PDF to Markdown & Text API: Tables + OCR for Scanned PDFs
PDF to Markdown & Text API: Tables + OCR for Scanned PDFsrentley/pdf-tables
Url
Page
Table index
Method
+3 fields
Text
Number
Boolean
List
Object

Input

PDF or image links(required):https://raw.githubusercontent.com/jsvine/pdfplumber/stable/tests/pdfs/nics-background-checks-2015-11.pdf
OCR:auto
OCR languages:eng
Max pages per file:50

Output fields

Url
Page
Table index
Method
Row count
Column count
Table (markdown)

How it works

Sign up on Apify or log in

The PDF to Markdown & Text API: Tables + OCR for Scanned PDFs Actor is ready to run with the inputs already set for "Convert PDF tables to CSV (government statistics report)". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Convert PDF tables to CSV (government statistics report)" task

The PDF to Markdown & Text API: Tables + OCR for Scanned PDFs Actor will start running based on the input automatically. You can also change all the input fields, like PDF or image links, OCR, and more, to match your specific use case.

Receive the "Convert PDF tables to CSV (government statistics report)" 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, page, table index, 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 "Convert PDF tables to CSV (government statistics report)" task via API.

Image

Integrate "Convert PDF tables to CSV (government statistics report)" into your workflow

Connect "Convert PDF tables to CSV (government statistics report)" 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