Convert PDF to Markdown for RAG
PDF in; Markdown and token-sized chunks out, each with page numbers and heading path.
Steps
- Get an API token. Apify Console → Settings → API & Integrations. Export it as
APIFY_TOKEN. - Install the client.
pip install apify-client - Add the PDF URLs.
fileUrls; Drive, Dropbox and GitHub share links work. - Pick chunking.
tokenswith size and overlap, orheading. - Index the chunks. Embed
text; keeppage_startandheading_pathas metadata.
Input
Run it
Output
Run on 9 November 2026: 1 document, 3 pages, $0.0029 at list price.
Options
Use it from Claude or ChatGPT
Pricing
Pay per event, from the actor's live pricing on 9 November 2026.