PDF to Text Extractor for LLM & RAG (DOCX, PPTX, XLSX) avatar

PDF to Text Extractor for LLM & RAG (DOCX, PPTX, XLSX)

Pricing

Pay per event

Go to Apify Store
PDF to Text Extractor for LLM & RAG (DOCX, PPTX, XLSX)

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 Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 days ago

Last modified

Features

Limited permissions

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 pages array 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 – likelyScanned flags 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

  1. Paste direct file links into URLs (up to 50 MB per file).
  2. Optionally turn on Page-by-page output or limit Max pages per document.
  3. Click Start and read text from 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.

EventPricePer 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, .ppt and .xls formats are not supported.

Other tools by Digital-Tools

Questions or feature requests? Open an issue in the Issues tab.