Go to example tasks

Convert PDF to Markdown for RAG

Turns PDFs into clean Markdown with headings preserved and page-level output, ready for chunking into a RAG or LLM pipeline. Scanned pages are OCRed automatically.

Try for free
PDF to Text & Markdown OCR — Scanned PDF, DOCX, PPTX to Text
PDF to Text & Markdown OCR — Scanned PDF, DOCX, PPTX to Textpoised_beardlichen/pdf-to-text-markdown-ocr
Document
OK
Type
Pages
+7 fields
Text
Number
Boolean
List
Object

Input

Document URLs:https://arxiv.org/pdf/1706.03762
Output format:markdown
One result per:page
Max pages per document:3

Output fields

Document
OK
Type
Pages
Text pages
OCR pages
Page
Words
Markdown
Title
Error

How it works

Sign up on Apify or log in

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

Start the "Convert PDF to Markdown for RAG" task

The PDF to Text & Markdown OCR — Scanned PDF, DOCX, PPTX to Text Actor will start running based on the input automatically. You can also change all the input fields, like document urls, output format, and more, to match your specific use case.

Receive the "Convert PDF to Markdown for RAG" 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 document, OK, type, 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 to Markdown for RAG" task via API.

Image

Integrate "Convert PDF to Markdown for RAG" into your workflow

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