Go to example tasks

Convert a PDF to RAG chunks

Turn a PDF into clean Markdown plus table-aware RAG chunks (one dataset item per chunk) ready for a vector database. Example: the 'Attention Is All You Need' paper.

Try for free
PDF to Markdown & Document to Markdown: OCR, RAG Chunks
PDF to Markdown & Document to Markdown: OCR, RAG Chunkstobbyb/document-to-markdown-converter
Status
File
Type
Title
+8 fields
Text
Number
Boolean
List
Object

Input

Files or file URLs:https://arxiv.org/pdf/1706.03762
Chunk size (characters):1500
Chunk overlap (characters):150
One dataset item per chunk:true

Output fields

Status
File
Type
Title
Pages
OCR pages
Tables
Words
Content
Error
Error message
Source URL

How it works

Sign up on Apify or log in

The PDF to Markdown & Document to Markdown: OCR, RAG Chunks Actor is ready to run with the inputs already set for "Convert a PDF to RAG chunks". 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 RAG chunks" task

The PDF to Markdown & Document to Markdown: OCR, RAG Chunks Actor will start running based on the input automatically. You can also change all the input fields, like files or file urls, chunk size (characters), and more, to match your specific use case.

Receive the "Convert a PDF to RAG chunks" 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 status, 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 "Convert a PDF to RAG chunks" task via API.

Image

Integrate "Convert a PDF to RAG chunks" into your workflow

Connect "Convert a PDF to RAG chunks" 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