Documents to Text for AI - PDF, Word, PowerPoint to Markdown avatar

Documents to Text for AI - PDF, Word, PowerPoint to Markdown

Pricing

from $3.00 / 1,000 page converteds

Go to Apify Store
Documents to Text for AI - PDF, Word, PowerPoint to Markdown

Documents to Text for AI - PDF, Word, PowerPoint to Markdown

Turn PDF, Word, PowerPoint, Excel, HTML, text files and scanned images from URLs into clean Markdown with tables, metadata and OCR. Files are never kept.

Pricing

from $3.00 / 1,000 page converteds

Rating

0.0

(0)

Developer

Scath

Scath

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Features

Limited permissions

Share

Documents to text for AI apps

Give it links to PDF, Word, PowerPoint, Excel, HTML, text files or scanned images. You get one record per file with clean Markdown text, tables, metadata, a language guess and a word count, ready to feed to a language model or a search index. Scanned PDFs and PNG/JPG images are read with OCR.

What it does

  • Reads PDF (text and scanned), DOCX, PPTX, XLSX, HTML, TXT and PNG/JPG files from the links you give. It downloads only those links, nothing else.
  • Returns Markdown: headings for Word and HTML, slide titles and speaker notes for PowerPoint, one table per sheet for Excel, bullet lists, and bordered tables as Markdown tables (PDF, Word, PowerPoint, HTML).
  • Returns page count, optional per-page text, title, author and creation date (only when the file's own properties contain them), language guess, word count, whether OCR was used, and warnings.
  • Everything runs inside the Actor on CPU. No outside AI service is called and no file leaves the run.

Privacy

Your files may be sensitive. The Actor does not write document text to its logs (logs only show a file number, the web host name and page counts), does not keep any file after it is converted (each download is deleted straight away and the temporary folder is removed at the end of the run), and sends nothing to third parties. The only place the text is stored is your run's dataset, which you control. Note the dataset also holds the link you provided; if a link contains a secret token, delete the dataset when you are done or use short-lived links.

Input

FieldTypeDescription
urlslist of textDirect http/https links, one per line. Required (up to 1,000).
ocrauto / off / forceauto (default) OCRs pages that have no text layer.
ocr_languagestextTesseract codes, e.g. eng (default) or eng+deu. Installed: eng, deu, fra, spa, ita, por, nld.
include_pagestrue/falseAdd per-page text (per slide / sheet). Default false.
extract_tablestrue/falseDetect bordered tables in PDFs. Default true.
page_markerstrue/falseAdd <!-- page N --> before each page in the Markdown. Default false.
max_resultswhole numberStop after this many delivered documents (default 100, max 1000).
max_file_mbwhole numberLargest file accepted (default 25, max 100).
max_pages_per_filewhole numberOnly the first N pages are converted and charged (default 100, max 1000).
timeout_secondswhole numberTime limit per file (default 180, max 600). Pages finished so far are returned.
concurrencywhole numberFiles converted at once (default 2, max 4).
{ "urls": ["https://example.com/report.pdf", "https://example.com/scan.jpg"], "ocr": "auto", "include_pages": false }

Output

One record per link, in input order. Failed links also get a record (status: "failed" with a plain-English error) and are not charged. Shortened example (full example in sample_output.json):

{
"url": "https://example.com/report.pdf", "file_name": "report.pdf", "file_type": "pdf", "status": "ok", "error": null,
"title": "Synthetic Report", "author": "Test Author", "created": "2026-11-17T21:38:03",
"language": "en", "word_count": 499, "page_count": 3, "page_count_basis": "native", "pages_converted": 3,
"ocr_used": false, "ocr_pages": 0, "size_bytes": 3546,
"markdown": "Section 1: Quarterly overview\n...\n\n| Item | Qty | Price |\n| --- | --- | --- |\n| Widget | 4 | 9.50 |",
"tables": [{ "page": 1, "markdown": "| Item | Qty | Price |\n..." }],
"pages": null, "warnings": []
}

Fields: url, file_name, file_type (pdf, docx, pptx, xlsx, html, text, image; detected from the file content, not the name), status, error, title, author, created (null unless the file's own metadata has it), language (ISO 639-1 or null if too little text), word_count, page_count (pages in the original), page_count_basis (native, estimated for Word files without a stored page count, or single for files without pages), pages_converted (pages delivered and charged), ocr_used, ocr_pages, size_bytes, markdown, tables (page and Markdown), pages (only with include_pages), warnings.

Pricing

Pay per event; you are charged only for pages delivered:

  • page-converted: one per page delivered. PDF pages, PowerPoint slides and Excel sheets count one each; Word files count by their page count; HTML, text and images count as one page.
  • page-ocr: one extra for every page that needed OCR (so an OCR page pays both events). Failed files, empty results and files over the limits are free. Set a maximum cost per run and the Actor stops cleanly when it is reached. Prices are shown on the Store page.

Limits and safety

  • Default maximum file size 25 MB (up to 100), 100 pages per file (up to 1,000), 180 seconds per file (up to 600).
  • Every file is converted in a separate, memory-limited process with a hard time limit; damaged, oversized or hostile files (zip bombs, huge images, password-protected PDFs) fail with a message and do not stop the run.
  • Links to private or local network addresses are refused. Old binary Office files (.doc, .xls, .ppt) are not supported; save them as .docx/.xlsx/.pptx.

Honest notes

  • Tested on synthetic documents we generated, not on a wide range of real-world files. OCR was tested on clean, computer-rendered English text only; accuracy on poor scans, handwriting, or non-English languages was not measured.
  • PDF headings are not detected (the text is returned as paragraphs). Only bordered tables are found; tables made of spacing alone come out as plain text. Multi-column PDFs may read in the wrong order.
  • Pictures inside Word and PowerPoint files are not OCR'd (a warning says so). Excel formulas show the value Excel last saved. Hidden sheets are skipped.
  • Word and PowerPoint page counts for billing come from the file (or, for Word without a stored count, an estimate of about 450 words per page).
  • Audio and video files are not supported.
  • The Actor reads only the links you list. It does not log in, crawl, or bypass blocks, and it collects no contact details. The author field is returned only when the file's own properties contain it.

Frequently asked questions

How much does it cost to convert a PDF to Markdown?

$3.00 per 1,000 pages converted, and $5.00 per 1,000 scanned pages read with OCR. Files that cannot be downloaded or read are free.

Which file types are supported?

PDF, Word (.docx), PowerPoint (.pptx), Excel (.xlsx), HTML, plain text, and images (PNG, JPG, TIFF) with OCR.

Is it good for RAG and AI apps?

Yes. Output is clean Markdown with headings and tables kept, which is what vector databases, ChatGPT, Claude and other LLMs work best with. Page markers can be added so you can cite page numbers.

Are my files stored?

No. Files are downloaded, converted in memory and thrown away. Only the text you asked for is saved in your own dataset.

Can I use it from code, Zapier, Make or n8n?

Yes, through the Apify API, the Python or JavaScript client, or any Apify integration. AI agents can also call it through the Apify MCP server.

More tools by Scath

  • Company Jobs Scraper: every open job from a company's career page (Greenhouse, Lever, Workable and 8 more hiring systems), with hiring summaries
  • Website Tech Stack Lookup: what CMS, ecommerce platform, analytics and marketing tools a website runs, with evidence
  • US Business Registry Lookup: check a company's status in official state registries, or list new LLC and corporation filings