Go to example tasks

PDF Tables to Markdown: IRS Tax Table Example

Extracts the ruled tables from two pages of the IRS 1040 tax table PDF into Markdown tables, along with the surrounding text. A quick way to get PDF tables into a model or spreadsheet.

Try for free
Document to Markdown for LLM & RAG (PDF, DOCX, PPTX, XLSX, OCR)
Document to Markdown for LLM & RAG (PDF, DOCX, PPTX, XLSX, OCR)tidewell/doc-to-markdown
File
Title
Markdown
Full .md
Text
Number
Boolean
List
Object

Input

File URLs:https://www.irs.gov/pub/irs-pdf/i1040tt.pdf
Page range:3-4
Extract tables as Markdown tables:true

Output fields

File
Title
Markdown
Full .md

How it works

Sign up on Apify or log in

The Document to Markdown for LLM & RAG (PDF, DOCX, PPTX, XLSX, OCR) Actor is ready to run with the inputs already set for "PDF Tables to Markdown: IRS Tax Table Example". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "PDF Tables to Markdown: IRS Tax Table Example" task

The Document to Markdown for LLM & RAG (PDF, DOCX, PPTX, XLSX, OCR) Actor will start running based on the input automatically. You can also change all the input fields, like file urls, page range, and more, to match your specific use case.

Receive the "PDF Tables to Markdown: IRS Tax Table Example" 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, title, markdown, 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 "PDF Tables to Markdown: IRS Tax Table Example" task via API.

Image

Integrate "PDF Tables to Markdown: IRS Tax Table Example" into your workflow

Connect "PDF Tables to Markdown: IRS Tax Table Example" 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

$0.002 per converted document plus $0.0003 per page with text. OCR pages cost $0.0027 more. Failed, empty or unsupported files are free.

Tables with ruling lines convert best. Tables laid out only with spacing may come through as text. tables_count shows how many tables were found.

Set pageRange, such as 3-4 or 1,5,10-12. Leave it empty to convert the whole document.

Yes. Paste direct file links, Google Drive, Dropbox or GitHub share links, or upload files in the input. You can also point it at a dataset of URLs from another actor.