PDF to Text & Markdown Converter (Tables + OCR Fallback) avatar

PDF to Text & Markdown Converter (Tables + OCR Fallback)

Pricing

from $1.00 / 1,000 pdf page converteds

Go to Apify Store
PDF to Text & Markdown Converter (Tables + OCR Fallback)

PDF to Text & Markdown Converter (Tables + OCR Fallback)

Convert PDFs to clean text and Markdown in bulk: headings, bullet lists and tables as Markdown pipe tables, with automatic OCR for scanned pages (7 languages). Ideal for RAG/LLM pipelines, search indexing and data entry. Pay per page; failed files are free.

Pricing

from $1.00 / 1,000 pdf page converteds

Rating

0.0

(0)

Developer

Larry Johnson

Larry Johnson

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Share

Turn PDFs into clean, LLM-ready Markdown and plain text in bulk. One row per PDF:

  • Headings detected from font size (#, ##), bullet lists normalized to -
  • Tables converted to Markdown pipe tables (and tab-separated in the plain text)
  • Scanned pages (no text layer) automatically OCR'd with Tesseract: English, Spanish, French, German, Portuguese, Italian, Dutch
  • Optional per-page output and page ranges (1-5, 8, 10-)
  • Page count, OCR page count, table count and the document title

Use cases

  • RAG / AI pipelines: feed reports, manuals and papers to an LLM or vector database as Markdown
  • Search indexing: extract the text of your PDF library
  • Data entry: pull tables out of invoices, price lists and statements
  • Archives: make scanned documents searchable

Input

FieldDefaultNotes
pdfUrls—Direct PDF links (public http/https), up to 1,000 per run, 60 MB each
ocrFallbacktrueOCR pages that have no text layer
ocrLanguageengeng, spa, fra, deu, por, ita, nld
pageRangealle.g. 1-3, 7
maxPagesPerPdf300Safety cap per file
includePagesfalseAdds a pages array

Output example

{
"url": "https://example.com/report.pdf", "fileName": "report.pdf", "title": "Annual Report",
"pageCount": 12, "pagesProcessed": 12, "ocrPages": 0, "tableCount": 3,
"markdown": "# Annual Report\n\n## Results\n- Revenue grew 12%\n\n| Region | Q1 | Q2 |\n|---|---|---|\n| EU | 10 | 12 |",
"text": "Annual Report\nResults\n• Revenue grew 12%\nRegion\tQ1\tQ2\n...", "error": null
}

Multi-page documents have pages separated by --- in markdown.

Pricing (pay per event)

  • $1.00 per 1,000 pages (page-processed, $0.001 per page, OCR included), plus the standard $0.00005 actor start.
  • Free: files that fail to download, aren't PDFs, are password-protected or can't be parsed.
  • Respects your run's maximum cost: pages beyond your limit are not processed.

Notes

  • Only process documents you have the right to use. Files are processed in memory and not stored by the Actor.
  • Links must be public; private network and cloud metadata addresses are blocked.
  • Password-protected PDFs return PDF_ENCRYPTED.

Actively maintained. Issues answered within 24 hours on the Issues tab.