Go to example tasks

Convert a PDF to Markdown for LLMs

Converts PDFs (and Office documents) into clean Markdown with headings, lists and tables, with OCR for scanned pages and optional chunks for RAG. Paste document URLs or upload files.

Try for free
Document to Markdown - PDF, DOCX, PPTX, XLSX, OCR & RAG Chunks
Document to Markdown - PDF, DOCX, PPTX, XLSX, OCR & RAG Chunksfabrikit/document-to-markdown
Title
Type
Lang
Pages
+6 fields
Text
Number
Boolean
List
Object

Input

Document URLs
url:https://raw.githubusercontent.com/mozilla/pdf.js/master/web/compressed.tracemonkey-pldi-09.pdf
OCR for scans:auto
Max pages per document (0 = all):3

Output fields

Title
Type
Lang
Pages
Billed pages
OCR pages
Words
Tables
Status
Error

How it works

Sign up on Apify or log in

The Document to Markdown - PDF, DOCX, PPTX, XLSX, OCR & RAG Chunks Actor is ready to run with the inputs already set for "Convert a PDF to Markdown for LLMs". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Convert a PDF to Markdown for LLMs" task

The Document to Markdown - PDF, DOCX, PPTX, XLSX, OCR & RAG Chunks Actor will start running based on the input automatically. You can also change all the input fields, like document urls, OCR for scans, and more, to match your specific use case.

Receive the "Convert a PDF to Markdown for LLMs" 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 title, type, lang, 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 a PDF to Markdown for LLMs" task via API.

Image

Integrate "Convert a PDF to Markdown for LLMs" into your workflow

Connect "Convert a PDF to Markdown for LLMs" 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