PDF to Text Pro: Markdown, Tables, Metadata, RAG Chunks
Pricing
from $1.68 / 1,000 pdf documents
PDF to Text Pro: Markdown, Tables, Metadata, RAG Chunks
Convert public PDF links to plain text or Markdown with headings, lists and tables: rows per page, per document or as RAG chunks, plus tables as rows, metadata, password PDFs and Google Drive / Dropbox links. Scanned pages are skipped and free. Empty input = free demo.
Pricing
from $1.68 / 1,000 pdf documents
Rating
0.0
(0)
Developer
Actor Factory
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Features
Share
PDF to Text Pro converts public PDF links into clean Markdown or plain text — one row per page, one row per document with metadata, or ready-to-embed RAG chunks — and pulls every table out as its own row.
- Markdown that keeps the structure: headings (
#/##from font sizes), bullet and numbered lists, tables as Markdown tables, page markers. - Three output modes: pages, whole documents, or RAG chunks with
pageStart/pageEndand overlap. - Tables as rows: each table with its cells as a list of lists plus a Markdown version.
- Metadata: title, author, subject, creator, producer, creation and modification dates (ISO 8601), page count, encrypted flag.
- Password-protected PDFs: give one password for the run; it is never logged or written to the output.
- Share links: Google Drive file links and Dropbox links are turned into direct downloads automatically.
Price: $2.40 per 1,000 PDFs (first 5 pages each) + $0.40 per 1,000 further pages. Only PDFs with extractable text are charged. Scanned pages, failed downloads, wrong passwords and the demo are free.
Try it free: leave the input empty and press Start — a small public PDF is converted (not charged, rows carry _demo: true).
Basic or Pro? Need only the plain text of each page? The simpler PDF to Text from the same developer charges $0.35 per 1,000 pages with no per-PDF fee — cheaper for short PDFs when you don't need Markdown, tables, metadata or chunks. This Pro version adds Markdown, document and chunk modes, table rows, metadata, passwords and share links.
How to use
- PDF URLs: public links to PDF files, one per line (up to 500 per run). Google Drive and Dropbox links shared as "Anyone with the link" work too.
- Pick an Output format (
markdownby default, ortext) and an Output mode (pages,documentorchunks). - Optional: Tables as rows, Pages (
1-5,8,3-,-2), Max pages per PDF (default 200), PDF password, and for chunks Chunk size / Chunk overlap.
{"urls": ["https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf","https://drive.google.com/file/d/<FILE_ID>/view?usp=sharing"],"outputFormat": "markdown","outputMode": "chunks","chunkSize": 1500,"chunkOverlap": 150,"extractTables": true}
Every PDF with text also gets a full-text file (001-name.md or 001-name.txt) in the run's key-value store, with its download link in the rows (fileUrl) and in the SUMMARY record.
Output modes
Every row has a type: page, document, chunk, table or error, and the pdfUrl you gave.
pages — one row per page:
| type | pdfUrl | page | text | charCount | scanned | tableCount |
|---|---|---|---|---|---|---|
| page | https://example.com/report.pdf | 1 | # Annual Report\n\n## Highlights\n\n- Revenue up 12% ... | 2,814 | false | 1 |
| page | https://example.com/report.pdf | 2 | 0 | true | 0 |
document — one row per PDF: text (all pages), title, author, subject, creator, producer, creationDate, modificationDate, pageCount, encrypted, pagesExtracted, pagesWithText, scannedPages, fileUrl.
{"type": "document", "pdfUrl": "https://example.com/report.pdf", "title": "Annual Report 2025", "author": "Finance team","creationDate": "2025-03-01T09:30:00+01:00", "pageCount": 42, "encrypted": false, "text": "<!-- page 1 -->\n\n# Annual Report ..."}
chunks — RAG chunks: pdfUrl, chunkIndex, pageStart, pageEnd, text, charCount.
{"type": "chunk", "pdfUrl": "https://example.com/report.pdf", "chunkIndex": 3, "pageStart": 4, "pageEnd": 5, "text": "## Outlook\n\nWe expect ..."}
(illustrative rows showing the output format; the free demo shows real results)
A PDF that cannot be read gives one row with type: "error", page: 0 and error: http_404, not_a_pdf, file_too_large, timeout, password_required, wrong_password, unreadable_pdf, share_link_not_a_pdf (the shared file is not public), share_link_unsupported:onedrive, blocked_private_address, invalid_url.
Markdown & tables
- Headings: lines set in a larger font than the document's body text become
#(largest size) or##(other larger sizes). - Lists: lines starting with
•,-,*,–and similar become- item;1./1)lists keep their numbers. - Paragraphs: lines of one paragraph are joined; a larger vertical gap starts a new paragraph.
- Tables: tables drawn with ruling lines are detected and written as Markdown tables in their place on the page (their text is not repeated as loose lines). With Tables as rows, each table is also a row:
page,tableIndex,rowCount,columnCount,rows(list of lists) andmarkdown. - Page breaks: in documents, chunks and files, each page starts with
<!-- page N -->. Plain-text files separate pages with a form-feed character (\f). - Tables without ruling lines come out as text lines; the structure detection is based on the PDF's text layer, so unusual layouts may need a check.
RAG chunks
- Text is split on paragraph boundaries first, then sentence boundaries; only a sentence longer than the chunk size is cut at a word boundary.
chunkSize(default 1,500 characters, 200 – 20,000) is a hard maximum.chunkOverlap(default 150): the last whole sentences of a chunk (up to that many characters) are repeated at the start of the next one, so context is not lost at the edges.- Each chunk keeps
pageStartandpageEnd, so answers can cite the page. Chunks are built per PDF and never mix documents.
Pricing
Pay per event:
- $0.0024 per PDF with extractable text — covers its first 5 pages, metadata, tables and chunks. That is $2.40 per 1,000 PDFs (first 5 pages each).
- $0.0004 per extra page — each page with text beyond the first 5 of a PDF ($0.40 per 1,000 pages).
Examples: a 5-page PDF costs $0.0024; a 10-page PDF costs $0.0024 + 5 × $0.0004 = $0.0044; a 120-page PDF with text on every page costs $0.0024 + 115 × $0.0004 = $0.0484. Free: scanned or blank-only PDFs, blank and scanned pages, failed downloads, wrong or missing passwords, unsupported share links and the demo. Set a maximum charge per run to cap spend: the Actor checks the budget before each PDF, stops cleanly when it is reached and keeps everything read so far. Store discounts apply automatically: BRONZE −10%, SILVER −20%, GOLD −30%.
Limits (cannot be raised by input)
- No OCR: scanned (image-only) pages have no text layer — they come back empty with
scanned: trueand are free. For scans, use Tesseract OCR from the same developer. - Up to 500 PDFs per run, each up to 50 MB, downloaded once within 60 seconds, following at most 5 redirects.
- Up to 2,000 pages per PDF (
maxPagesPerPdf, default 200). - Public files only: no login, no cookies. Links to internal network addresses are blocked.
- Google Drive: very large files show a virus-scan page instead of the file and return
share_link_not_a_pdf. OneDrive / SharePoint sharing links are not supported (free error row) — use a direct public link instead. - A document row holds up to 5 million characters; longer documents are complete in the
.md/.txtfile (textTruncated: true).
FAQ
Does it read scanned PDFs? No. Scans need OCR, which this Actor does not do. Those pages are flagged scanned: true and cost nothing; a PDF with only scanned pages is not charged at all.
Why is a heading missing or a line marked as a heading? Headings are guessed from font size. Documents that use bold body-size text for headings keep those lines as normal text.
Which tables are found? Tables drawn with lines (borders or rules). Tables laid out with spaces only appear as text.
Is my password safe? It is used in memory only to open the PDFs of this run. It is never logged, never written to the dataset, the files or the SUMMARY record. A wrong password gives a free wrong_password row.
Can I give a local file? Upload it somewhere public first (an Apify key-value store, Google Drive or Dropbox shared as "Anyone with the link") and paste the link.
Who owns the text? The rights stay with the owners of the documents. Only process PDFs you are allowed to use.
Use it from the API, Make, n8n or an AI agent (MCP)
Run it and get the rows back in one HTTP call (replace <YOUR_TOKEN> with your Apify API token):
curl -X POST "https://api.apify.com/v2/acts/ucchiii~pdf-to-text-pro/run-sync-get-dataset-items?token=<YOUR_TOKEN>" \-H "Content-Type: application/json" \-d '{"urls": ["https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"], "outputMode": "chunks", "chunkSize": 1000}'
The response holds the rows; the file links and metadata are in the run's SUMMARY record.
- Make, n8n, Zapier: use the Apify app / node, pick this Actor and pass the same JSON input.
- AI agents (Claude, Cursor and other MCP clients): add
https://mcp.apify.com?tools=ucchiii/pdf-to-text-proto your MCP settings.
If this Actor saved you time, a rating on the Store helps others find it.
More tools from the same developer
- PDF to Text Converter — plain text per page from public PDF URLs, plus one .txt file per PDF
- Tesseract OCR — OCR for image URLs and scanned PDFs with built-in Tesseract: text, confidence and line boxes in 8 languages
- HTML to Markdown Converter for LLM and RAG — clean Markdown from URLs, raw HTML or datasets for LLM and RAG
- URL to PDF — save public web pages as PDF files: A4 or Letter, margins, page numbers
- RAG Chunker — split scraped pages into chunks for RAG and vector stores