PDF to Markdown & Text Converter - Tables for LLM & RAG
Pricing
from $4.00 / 1,000 documents
PDF to Markdown & Text Converter - Tables for LLM & RAG
Convert PDF URLs into clean Markdown or plain text for LLMs, RAG and search: headings, lists and tables kept, plus metadata, page/word counts, page ranges and per-page output. Flags scanned PDFs that need OCR. Also a real-time REST API.
Pricing
from $4.00 / 1,000 documents
Rating
0.0
(0)
Developer
Luca Despot
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
24 days ago
Last modified
Categories
Features
Share
PDF to Markdown & Text Converter: Tables and Metadata for LLM & RAG
Convert any PDF link into clean Markdown or plain text, ready for LLMs, RAG, vector databases, search and analysis.
Headings, paragraphs, bullet lists and tables keep their structure. You also get the metadata (title, author, dates), page, word and character counts, and an honest needsOcr flag for scanned documents. Export to JSON, CSV or Excel, or call it as a real-time API.
What can this PDF to Markdown converter do?
- ✅ LLM-ready Markdown:
#and##headings come from font size and weight, hyphenated line breaks are joined, and rotated margin text (like arXiv stamps) is removed. - ✅ Tables become Markdown tables, and the raw cells are also returned as JSON.
- ✅ Plain text, Markdown or both (
outputFormat). - ✅ Per-page output (
perPage) for chunking and page citations. - ✅ Page ranges (
1-3,7,10-) so you only process what you need. - ✅ Honest about scans: image-only PDFs are marked
needsOcr: trueinstead of returning empty or garbled text. - ✅ REST API (Standby):
GET /?pdfUrls=<url>returns the JSON straight away, so you can call it from an agent or pipeline. - ✅ Robust: checks file size, the
%PDFsignature and redirects, and retries. A bad URL gives anerroritem and doesn't break the run.
Use cases
- RAG and chatbots over documentation, manuals and policies.
- Document pipelines: reports, papers and forms into a database or search index.
- Table extraction from government, financial or scientific reports.
- Bulk research-paper ingestion (arXiv and similar).
How to use it
The input is a simple form, no code needed:
- Paste one or more public PDF links into 📄 PDF URLs (one per line).
- Pick the Output format from the dropdown: Markdown (best for AI/LLM), Plain text, or Both.
- Keep Extract tables on to get tables as Markdown and as data; turn on Split the result page by page for page-level chunks.
- Optional, in 📑 Pages and limits: Pages to convert (for example
1-3,7or10-), max pages per PDF, max file size, max PDFs. - Click Start. Each PDF becomes one item in the Output tab, which you can download as JSON, CSV or Excel, or read through the API.
Input example
{"pdfUrls": ["https://www.irs.gov/pub/irs-pdf/fw4.pdf", "https://arxiv.org/pdf/1706.03762"],"outputFormat": "markdown","pages": "","extractTables": true,"perPage": false}
Output example (one item per PDF)
{"url": "https://www.irs.gov/pub/irs-pdf/fw4.pdf","fileName": "fw4.pdf","pageCount": 5,"pagesExtracted": 5,"fileSizeBytes": 208845,"meta_title": "2026 Form W-4","meta_author": "C:DC:TS:CAR:MP","meta_subject": "Employee's Withholding Certificate","meta_keywords": "Fillable","meta_creator": "Designer 6.5","meta_producer": "Designer 6.5","meta_createdAt": "2025-12-11T07:15:41+00:00","meta_modifiedAt": "2025-12-11T07:15:41+00:00","tablesFound": 6,"charCount": 25714,"wordCount": 4769,"needsOcr": false,"markdown": "## W-4 Employee’s Withholding Certificate\n\nOMB No. 1545-0074 Form Complete Form W-4 so that your employer can withhold the correct federal income tax from your pay.\n\n# 2026\n\nGive Form W-4 to your employer. Department of the Treasu …","tables": [{"page": 1,"rows": [["(a) First name and middle initial","Last name"],["Address",null],["City or town, state, and ZIP code",null]]},"…"],"scrapedAt": "2026-10-27T21:27:47+00:00"}
(Real output from a cloud test run on 27 Oct 2026. Markdown and tables are shortened.) With perPage: true you also get pages: [{page, text, markdown, tables, chars}].
API (Standby)
GET https://<your-standby-url>/?pdfUrls=https://www.irs.gov/pub/irs-pdf/fw4.pdf&outputFormat=bothAuthorization: Bearer <APIFY_TOKEN>
Pricing
Pay per event, with platform usage included. You pay only for:
- $0.005 per run start (one start event per GB of memory; the default 1 GB run counts as one).
- $0.004 per PDF successfully converted, which is $4 per 1,000 PDFs, whatever the page count (up to
maxPagesPerPdf, default 300).
Failed downloads and invalid files are free. Example: converting 100 PDFs costs about $0.41.
FAQ
Does it do OCR? No. It reads the PDF's text layer. Scanned, image-only documents are flagged with needsOcr: true so you can send them to an OCR tool.
Can I upload a local file? The Actor takes URLs. Put the file somewhere reachable by a direct link (for example a public or signed cloud-storage URL) and pass that URL.
How big can a PDF be? Up to maxFileSizeMb (default 50 MB) and maxPagesPerPdf (default 300 pages). You can change both.
Limitations
- No OCR for scanned PDFs (they are flagged, not converted).
- Password-protected PDFs are not supported unless the password is empty.
- Very complex layouts (multi-column magazines) may need light cleanup, and tables without ruling lines are sometimes read as plain text.
- Only process documents you're allowed to use.
Issues and feature requests: use the Issues tab.