Go to example tasks

PDF to Markdown for LLMs (tables and headings kept)

Converts one PDF into clean Markdown with headings, Markdown tables and <!-- page: N --> markers, ready to paste into an LLM prompt. The full file is also saved as OUTPUT.md. Example: IRS Publication 509, a 14-page US government PDF. About $0.0062 here: $0.002 per document plus $0.0003 per text page. Failed downloads are free.

Try for free
PDF to Markdown for RAG & LLMs: OCR, DOCX, Excel
PDF to Markdown for RAG & LLMs: OCR, DOCX, Excelrigel/doc-to-markdown
File name
Status
Page count
Pages processed
+2 fields
Text
Number
Boolean
List
Object

Input

Document URLs
url:https://www.irs.gov/pub/irs-pdf/p509.pdf
Output:markdown
Extract tables:true

Output fields

File name
Status
Page count
Pages processed
Error code
Error

How it works

Sign up on Apify or log in

The PDF to Markdown for RAG & LLMs: OCR, DOCX, Excel Actor is ready to run with the inputs already set for "PDF to Markdown for LLMs (tables and headings kept)". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "PDF to Markdown for LLMs (tables and headings kept)" task

The PDF to Markdown for RAG & LLMs: OCR, DOCX, Excel Actor will start running based on the input automatically. You can also change all the input fields, like document urls, output, and more, to match your specific use case.

Receive the "PDF to Markdown for LLMs (tables and headings kept)" 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 name, status, page count, 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 to Markdown for LLMs (tables and headings kept)" task via API.

Image

Integrate "PDF to Markdown for LLMs (tables and headings kept)" into your workflow

Connect "PDF to Markdown for LLMs (tables and headings kept)" 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