PDF to Text Extractor for LLM & RAG (DOCX, PPTX, XLSX)
Pricing
Pay per event
PDF to Text Extractor for LLM & RAG (DOCX, PPTX, XLSX)
PDF to text API plus Word (DOCX), PowerPoint (PPTX) and Excel (XLSX) text extraction by URL. Clean, LLM-ready text with headings and tables, page-by-page output, word counts and metadata. Fast, no OCR, ideal for RAG and AI agents. Cheap per document.
Pricing
Pay per event
Rating
0.0
(0)
Developer
凡 方
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
12 days ago
Last modified
Categories
Features
Share
What does Document to Text Extractor do?
PDF to Text Extractor pulls text from PDF, Word (DOCX), PowerPoint (PPTX) and Excel (XLSX) files by URL. It returns clean, LLM-ready text — DOCX headings as Markdown, Word tables as Markdown tables, slides with speaker notes, spreadsheet rows as tab-separated text — plus document metadata (title, author, page count) and word counts.
It is a fast, cheap PDF to text API, DOCX to text converter and PPTX/XLSX text extractor for RAG pipelines, LLM prompts, AI agents, search indexing and document automation.
Why use it?
- 📄 Many formats, one Actor – PDF, DOCX, PPTX, XLSX, plus HTML, TXT, Markdown, CSV and JSON.
- 📑 Page-by-page output – optional
pagesarray for PDF pages, slides and sheets, perfect for citations and chunking. - 🧱 Structure preserved – headings, lists and tables from Word documents come out as Markdown.
- 🔐 Encrypted PDFs – supply a password if you have one.
- 🕵️ Scanned PDF detection –
likelyScannedflags PDFs with no text layer (OCR is not included). - ⚡ Fast and cheap – no OCR, no browser; a 15-page paper is extracted in about a second.
- 💸 Pay per document and page – failed downloads are free.
How to use it
- Paste direct file links into URLs (up to 50 MB per file).
- Optionally turn on Page-by-page output or limit Max pages per document.
- Click Start and read
textfrom the dataset, via API or in Make / Zapier / n8n.
Input example
{"startUrls": [{ "url": "https://arxiv.org/pdf/1706.03762" },{ "url": "https://calibre-ebook.com/downloads/demos/demo.docx" }],"includePages": true,"maxPagesPerDocument": 0}
Output example
{"url": "https://arxiv.org/pdf/1706.03762","fileType": "pdf","title": "Attention Is All You Need","totalPages": 15,"pagesExtracted": 15,"wordCount": 6111,"characterCount": 39500,"likelyScanned": false,"text": "Attention Is All You Need\nAshish Vaswani ...","pages": [{ "page": 1, "text": "..." }],"error": null}
How much does it cost?
This Actor uses pay-per-event (PPE) pricing: you pay only for results, and the Apify platform compute it uses is already included.
| Event | Price | Per 1,000 |
|---|---|---|
| Document extracted | $0.001 per document | $1.00 per 1,000 documents |
| PDF page or slide extracted | $0.0002 per PDF page or slide | $0.20 per 1,000 PDF pages / slides |
| Actor start | $0.0005 per run | – |
Failed downloads and unsupported files are not charged. Use Max pages per document to cap the cost of very long PDFs. For example, 100 PDFs of 10 pages each cost about $0.30. The Actor start fee is charged once per run (one event per GB of memory; the default memory setting counts as one). You can set a maximum cost per run in the run options and the Actor stops cleanly when it is reached. Apify's free plan includes $5 of monthly credit, enough to try it at no cost.
Use cases
- RAG and AI agents – turn PDFs, reports, manuals and slide decks into text chunks for embeddings.
- Document search – index the text of public reports, filings and research papers.
- Data extraction – read tables from Word and Excel files without Office.
- Content repurposing – get the text of presentations and whitepapers for summaries and posts.
Limitations
- No OCR: scanned PDFs (images only) return little or no text and are flagged with
likelyScanned: true. - Files must be reachable by a direct public URL. Old binary
.doc,.pptand.xlsformats are not supported.
Other tools by Digital-Tools
- Webpage to Markdown Converter for LLM & RAG – Convert any website or web page URL into clean, LLM-ready Markdown.
- URL Metadata & Open Graph Link Preview Extractor – Bulk extract URL metadata and Open Graph link previews: title, description, og:image, favicon, canonical URL, Twitter Card, RSS feeds and JSON-LD schema.
- Broken Link Checker - Find 404s & Dead Links – Crawl a website and find broken links, 404s, dead links, 5xx errors, timeouts and redirects.
- Chinese Simplified/Traditional Converter & Pinyin Toolkit – Bulk convert Simplified and Traditional Chinese (Taiwan and Hong Kong variants, with phrase conversion), generate pinyin with tones or initials, segment Chinese words and extract keywords.
- Sitemap URL Extractor - Get All URLs from sitemap.xml – Extract every URL from a website sitemap.xml.
- RSS to JSON Feed Reader - Parse RSS & Atom – RSS to JSON API: read RSS, Atom and RDF feeds in bulk and get clean JSON (title, link, date, author, categories, summary, full content, images and podcast enclosures).
- Bulk SSL Certificate Checker & DNS Lookup – Bulk SSL certificate expiry checker and DNS lookup for many domains at once: expiry date, days left, issuer, SANs, TLS version and validity, plus A, AAAA, CNAME, MX, NS, TXT, CAA, SOA, SPF and DMARC.
- URL Status & Redirect Chain Checker – Bulk HTTP status code and redirect chain checker.
- HTML Table Extractor - Tables to CSV & JSON – Extract HTML tables from any web page to CSV and JSON.
Questions or feature requests? Open an issue in the Issues tab.