Convert PDFs to text chunks with page numbers for RAG
Extracts the text of PDF files and splits it into 1,500-character chunks that keep their page number, plus title, dates, page count and table of contents. Ideal for loading manuals, reports and papers into a vector database.
Input
Output fields
Sign up on Apify or log in
The PDF Text Extractor - PDF to Text & Markdown for LLM/RAG Actor is ready to run with the inputs already set for "Convert PDFs to text chunks with page numbers for RAG". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Convert PDFs to text chunks with page numbers for RAG" task
The PDF Text Extractor - PDF to Text & Markdown for LLM/RAG Actor will start running based on the input automatically. You can also change all the input fields, like PDF URLs, RAG chunk size (characters), and more, to match your specific use case.
Receive the "Convert PDFs to text chunks with page numbers 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 PDF, title, pages, 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 PDFs to text chunks with page numbers for RAG" task via API.

Integrate "Convert PDFs to text chunks with page numbers for RAG" into your workflow
Connect "Convert PDFs to text chunks with page numbers for RAG" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay