PDF to Markdown for LLMs (tables and headings kept)
Rigel
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.
Input
Output fields
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.

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
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay