PDF to Markdown Converter for RAG & LLMs avatar

PDF to Markdown Converter for RAG & LLMs

Pricing

$4.00 / 1,000 pdf converteds

Go to Apify Store
PDF to Markdown Converter for RAG & LLMs

PDF to Markdown Converter for RAG & LLMs

Convert public PDF URLs into clean Markdown for RAG, LLM, and AI-agent pipelines. Keeps headings, lists, and tables when the file has real text, with optional page-level chunks and word counts. No OCR, no API key, no start fee.

Pricing

$4.00 / 1,000 pdf converteds

Rating

0.0

(0)

Developer

siteproof

siteproof

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 hours ago

Last modified

Features

Limited permissions

Share

What does PDF to Markdown Converter for RAG & LLMs do?

PDF to Markdown Converter turns public PDF URLs into clean Markdown that you can feed to a retrieval pipeline, an LLM, or an AI agent. You get one JSON row per file with the title, page count, full Markdown, optional page-level chunks, and character and word counts.

Headings, lists, and tables are preserved when the PDF contains real text. Scanned or image-only files are reported as empty and are not charged. No API keys, no login, no OCR at this price. Built by siteproof.

Price: $0.004 per successfully converted PDF. Failed or invalid inputs are not charged.

What you get vs a typical single-site scraper

Typical single-site scraperThis Actor
InputFile uploads or local paths that are hard for agentsPublic HTTPS PDF URLs an agent can pass directly
OutputPlain text with lost structure, or a start fee plus a per-page feeMarkdown with headings, lists, and tables, plus optional page chunks, for $0.004 per successful PDF
FailuresOften billed even when extraction is emptyInvalid URLs, download failures, and empty/scanned PDFs are free

Sample output

Shortened from a real run on the public arXiv PDF 1706.03762 (22 Nov 2026, Atlantic time). Character and word counts are rounded in this excerpt.

{
"url": "https://arxiv.org/pdf/1706.03762",
"title": "Attention Is All You Need",
"pageCount": 15,
"pagesConverted": 15,
"truncated": false,
"markdown": "# Attention Is All You Need\n\nAbstract\n\nThe dominant sequence transduction models are based on complex recurrent or convolutional neural networks...",
"charCount": 43000,
"wordCount": 7100,
"status": "ok"
}

How to use

  1. Open PDF to Markdown Converter for RAG & LLMs in Apify Console, or call it through the API or the Apify MCP server.
  2. Paste one or more public PDF URLs. Turn on page-level chunks if you want one Markdown segment per page for RAG.
  3. Run the Actor. A short prefill input is already filled in so you can try it quickly.
  4. Open the dataset for labeled JSON, or export CSV / Excel. Schedule the same input for monitoring.

Pricing

$0.004 per successfully converted PDF. That is $4 per 1,000 successful results. There is no start fee. Failed, invalid, or empty results are not charged. Optional summary rows, when present, are free.

You only pay for successful results. Platform compute is billed by Apify on top of the event price according to your account plan.

Use with AI agents / MCP

AI agents discover Apify Store tools through the Apify MCP server: search-actors finds candidates, fetch-actor-details returns the input schema, README (or summary), output schema, and pricing, then call-actor runs the tool. The same search backend is used by Apify AI in Console. Ranking correlates with the Actor quality score, so clear titles, field descriptions, and a complete README help agents pick the right tool.

This Actor uses limited permissions, so agents can call it without a full-permission approval prompt. It is also eligible for agentic payments (x402, MPP, or a Skyfire prepaid token).

Typical agent flow:

  1. search-actors with keywords such as PDF to Markdown RAG
  2. fetch-actor-details with actor siteproof/pdf-to-markdown
  3. call-actor with input like:
{
"pdfUrls": [
"https://arxiv.org/pdf/1706.03762"
],
"includeChunks": true
}

Or start a run over HTTP:

POST https://api.apify.com/v2/acts/siteproof~pdf-to-markdown/runs
Content-Type: application/json
Authorization: Bearer YOUR_APIFY_TOKEN
{
"pdfUrls": [
"https://arxiv.org/pdf/1706.03762"
],
"includeChunks": true
}

You can also schedule runs in Apify Console, export JSON, CSV, or Excel, and attach webhooks. There is no start fee.

FAQ

Does this do OCR?

No. Image-only or scanned PDFs come back empty and are not charged. That keeps the price at $0.004 per successful text PDF.

Can I upload a file from my computer?

This Actor takes public PDF URLs. Host the file at an HTTPS URL, or use Apify's key-value store to serve it and pass that URL.

What am I charged for?

You pay $0.004 only when a PDF is successfully converted to Markdown. Invalid URLs, download failures, and empty or scanned PDFs are free.

Is this good for AI agents?

Yes. The input is a list of URLs, the output is labeled JSON with Markdown and optional chunks, and the Actor uses limited permissions so it can run through the Apify MCP server.

Built by siteproof. Public data only. No personal data on individuals.