Go to example tasks
Convert PDFs to Markdown for RAG
Turns PDF links into clean Markdown and splits each document into chunks under its headings, with the heading path and page numbers on every chunk. Tables stay as Markdown tables and scanned pages are read with OCR. Feed the rows to a vector database or an LLM. Also reads Word, PowerPoint, Excel, HTML and EPUB.
PDF to Markdown & Document to Text for LLM/RAG, with OCRtinlark/document-to-markdown
File
Type
Title
Pages
+9 fieldsTextNumberBooleanListObject
Input
Document links:https://nvlpubs.nist.gov/nistpubs/CSWP/NIST.CSWP.04162018.pdf
Output format:markdown
Chunking for RAG:by-headings
Max pages per document:5
Output fields
File
Type
Title
Pages
OCR pages
Words
Language
Tables
Chunk
Heading path
Warnings
Source
Status
Sign up on Apify01
Create your Apify account to access the PDF to Markdown & Document to Text for LLM/RAG, with OCR.
Start the run02
The Actor will start running based on the input automatically.
Receive the output03
Monitor the progress in real-time. You will be notified as soon as your dataset is complete and ready for review.
Integrate into your workflow04
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow.
