PDF to Markdown and Text Converter (for AI and RAG) avatar

PDF to Markdown and Text Converter (for AI and RAG)

Pricing

$1.00 / 1,000 pages

Go to Apify Store
PDF to Markdown and Text Converter (for AI and RAG)

PDF to Markdown and Text Converter (for AI and RAG)

Convert PDFs to clean Markdown and plain text with headings, lists and metadata. Paste PDF links, get one result per document or per page. Fast, no OCR needed for digital PDFs. Pay per page.

Pricing

$1.00 / 1,000 pages

Rating

0.0

(0)

Developer

TenderWire Data

TenderWire Data

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

14 days ago

Last modified

Features

Limited permissions

Share

Turn PDFs into clean Markdown and plain text you can feed straight into ChatGPT, Claude, a vector database or any document pipeline. Paste PDF links and get, for each document, the full text, a Markdown version that keeps headings, paragraphs and bullet lists, and the document's metadata (title, author, dates, page count).

Built on Mozilla's pdf.js for reliable text extraction: fast, no browser, and you only pay for the pages converted.

What does PDF to Markdown do?

  • Downloads each PDF from its link and reads the text layer of every page.
  • Rebuilds lines and paragraphs from the text positions, joins words split across lines, and turns large fonts into # / ## / ### headings and bullet characters into - list items.
  • Returns one result per document (pages separated by ---) or one result per page for chunking and page-level citations.
  • Adds metadata: title, author, subject, keywords, creator, producer, created and modified dates, page count.
  • Reports problems per file (not a PDF, download failed, scanned image without text) without failing the run.

Who uses it?

  • AI and RAG builders preparing documents for embeddings and retrieval.
  • No-code automations (Make, Zapier, n8n) that need the text of invoices, reports, contracts or filings.
  • Researchers and analysts extracting text from reports and papers in bulk.
  • Developers who want a hosted PDF-to-text API without running their own parser.

What data do you get?

FieldExample
url, fileNamehttps://www.irs.gov/pub/irs-pdf/fw9.pdf, fw9.pdf
titleForm W-9 (Rev. March 2024)
pageCount, pagesConverted6, 6
markdownMarkdown with headings and lists
textplain text, line by line
metatitle, author, subject, keywords, creator, producer, createdAt, modifiedAt
pagepage number when One result per page is on
charCountnumber of characters extracted
errorwhat went wrong for this file, if anything

How to use it

  1. Click Try for free.
  2. Paste PDF links into PDF URLs, one per line.
  3. Choose Markdown, text or both, and whether you want one result per page.
  4. Click Start. A typical 10-page PDF converts in about a second.
  5. Get the results as JSON, CSV or Excel, or through the Apify API from your app or automation.

Input example

{
"urls": [
"https://www.irs.gov/pub/irs-pdf/fw9.pdf",
"https://example.org/annual-report-2025.pdf"
],
"outputFormat": "markdown",
"splitPages": true,
"maxPagesPerDocument": 200
}

Output example

{
"url": "https://www.irs.gov/pub/irs-pdf/fw9.pdf",
"fileName": "fw9.pdf",
"page": null,
"pageCount": 6,
"pagesConverted": 6,
"title": "Form W-9 (Rev. March 2024)",
"meta": {
"title": "Form W-9 (Rev. March 2024)",
"author": "SE:W:CAR:MP",
"subject": "Request for Taxpayer Identification Number and Certification",
"keywords": "Fillable",
"creator": "Designer 6.5",
"producer": "Designer 6.5",
"createdAt": "2024-03-06T13:18:13.000Z",
"modifiedAt": "2024-03-06T13:18:13.000Z"
},
"markdown": "# Request for Taxpayer Give form to the\n\n# Form W-9\n\n# (Rev. March 2024) Identification Number and Certification requester. Do not\n\nDepartment of the Treasury send to the IRS. Internal Revenue Service Go to www.irs.gov/FormW9 for instructions and the...",
"text": "Request for Taxpayer Give form to the\nForm W-9\n(Rev. March 2024) Identification Number and Certification requester. Do not\nDepartment of the Treasury send...",
"charCount": 37955,
"error": null,
"scrapedAt": "2026-11-05T15:30:00.000Z"
}

How much does it cost?

Pay per page: $1 per 1,000 pages converted (one tenth of a cent per page), plus a tiny Apify start fee per run.

  • A 10-page document costs $0.01. A 300-page book costs $0.30.
  • Use Max pages per document to convert only the first pages.
  • Failed downloads and non-PDF links are not charged.
  • Apify's free plan includes monthly credit, enough to convert thousands of pages.

Use it from your app or AI agent

Call the Actor through the Apify API, or connect it to Make, Zapier, n8n, LangChain or LlamaIndex with Apify's integrations. AI agents can also run it through the Apify MCP server.

FAQ

Does it do OCR on scanned PDFs? No. It reads the text layer that digital PDFs contain (exported from Word, Google Docs, LaTeX, reporting tools and most web PDFs). Scanned images without text are reported with an error instead of empty text.

How good is the Markdown for complex layouts? Headings, paragraphs and lists come out well for normal documents. Multi-column layouts, forms and tables are converted line by line, so table cells appear as text on one line rather than as a Markdown table.

Can I convert PDFs from my computer? Upload them anywhere that gives you a link (for example an Apify key-value store, Google Drive with a direct download link, or S3), then paste the links.

Do you keep my documents? The Actor only processes the files during your run. Results are stored in your own Apify account under your data retention settings.

Something looks wrong? Open an issue on the Issues tab with the PDF link. An automatic self-check runs every day.