Go to example tasks

PDF to Markdown chunks for RAG and LLMs

Turn PDFs into clean Markdown chunks, ready for a vector database or an AI assistant. Headings and lists are kept, headers, footers and page numbers are removed, and every chunk tells you which pages it came from. Pick the chunk size and overlap you need.

Try for free
PDF Text Extractor: PDF and Image to Text, with OCR
PDF Text Extractor: PDF and Image to Text, with OCRvindr/pdf-text-extractor
File
Status
Title
Pages
+6 fields
Text
Number
Boolean
List
Object

Input

PDF or image URLs, or web pages:https://arxiv.org/pdf/1706.03762v7
Chunk size (characters):2000
Chunk overlap (characters):200
Remove headers, footers and page numbers:true
Read scanned pages and images (OCR):false

Output fields

File
Status
Title
Pages
Page
Chunk
Characters
Text
Problem
URL

How it works

Sign up on Apify or log in

The PDF Text Extractor: PDF and Image to Text, with OCR Actor is ready to run with the inputs already set for "PDF to Markdown chunks for RAG and LLMs". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "PDF to Markdown chunks for RAG and LLMs" task

The PDF Text Extractor: PDF and Image to Text, with OCR Actor will start running based on the input automatically. You can also change all the input fields, like PDF or image URLs, or web pages, chunk size (characters), and more, to match your specific use case.

Receive the "PDF to Markdown chunks for RAG and 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 file, status, title, 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 chunks for RAG and LLMs" task via API.

Image

Integrate "PDF to Markdown chunks for RAG and LLMs" into your workflow

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