Go to example tasks

PDF to Markdown for LLM & RAG

Convert PDFs and scans to Markdown, one section per page, ready for LLM prompts, RAG chunking and embeddings. Text layer when present, OCR only for scanned pages. $0.50 per 1,000 text pages.

Try for free
PDF to Text & OCR – PDF & Image Text Extraction (Erdnal)
PDF to Text & OCR – PDF & Image Text Extraction (Erdnal)erdnal_api/erdnal-documents-text-extraction
Source URL
Success
File type
Pages extracted
+6 fields
Text
Number
Boolean
List
Object

Input

Document URLs(required):https://api.erdnal.com/v1/documents/samples/demo-invoice.pdf
OCR languages:eng

Output fields

Source URL
Success
File type
Pages extracted
OCR pages
Characters
Lowest OCR confidence
Credits
Error code
Text

How it works

Sign up on Apify or log in

The PDF to Text & OCR – PDF & Image Text Extraction (Erdnal) Actor is ready to run with the inputs already set for "PDF to Markdown for LLM & RAG". 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 LLM & RAG" task

The PDF to Text & OCR – PDF & Image Text Extraction (Erdnal) Actor will start running based on the input automatically. You can also change all the input fields, like document urls and OCR languages, to match your specific use case.

Receive the "PDF to Markdown for LLM & 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 source url, success, file 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 "PDF to Markdown for LLM & RAG" task via API.

Image

Integrate "PDF to Markdown for LLM & RAG" into your workflow

Connect "PDF to Markdown for LLM & 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