Go to example tasks

PDF to clean text for LLM and RAG pipelines

Convert PDFs into clean Markdown per page for AI pipelines: chunk-ready text for retrieval-augmented generation, embeddings or summarisation, with OCR for scanned pages.

Try for free
PDF & Image to Text (OCR, Tables, Markdown)
PDF & Image to Text (OCR, Tables, Markdown)cellwright/pdf-image-to-text
Source
Ok
Type
Page count
+3 fields
Text
Number
Boolean
List
Object

Input

Files (URLs)(required)
url:https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf
Per-page output:true
Max pages per file:200

Output fields

Source
Ok
Type
Page count
Ocr pages
Chars
Error

How it works

Sign up on Apify or log in

The PDF & Image to Text (OCR, Tables, Markdown) Actor is ready to run with the inputs already set for "PDF to clean text for LLM and RAG pipelines". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "PDF to clean text for LLM and RAG pipelines" task

The PDF & Image to Text (OCR, Tables, Markdown) Actor will start running based on the input automatically. You can also change all the input fields, like files (urls), per-page output, and more, to match your specific use case.

Receive the "PDF to clean text for LLM and RAG pipelines" 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, 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 "PDF to clean text for LLM and RAG pipelines" task via API.

Image

Integrate "PDF to clean text for LLM and RAG pipelines" into your workflow

Connect "PDF to clean text for LLM and RAG pipelines" 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