Document to Markdown for AI: PDF, Word, PowerPoint, Excel avatar

Document to Markdown for AI: PDF, Word, PowerPoint, Excel

Pricing

from $3.00 / 1,000 documents

Go to Apify Store
Document to Markdown for AI: PDF, Word, PowerPoint, Excel

Document to Markdown for AI: PDF, Word, PowerPoint, Excel

Convert PDF, Word, PowerPoint, Excel, CSV, web pages and EPUB to clean Markdown for LLMs, RAG and AI agents. Keeps headings and tables, adds metadata and token counts, and splits documents into RAG-ready chunks with heading paths. Accepts Google Drive and Dropbox links.

Pricing

from $3.00 / 1,000 documents

Rating

0.0

(0)

Developer

Roman Golovko

Roman Golovko

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 hours ago

Last modified

Categories

Features

Limited permissions

Share

Turn any document into clean Markdown that LLMs understand, in one run. PDF, Word (DOCX), PowerPoint (PPTX), Excel (XLSX), CSV, web pages (HTML) and EPUB books come out as tidy Markdown with real headings and tables, plus metadata, word and token counts. Switch on RAG chunks and every document is split into ready-to-embed chunks, each labeled with where it sits in the document (e.g. Model Architecture > Attention > Multi-Head Attention).

Built for AI agents, chatbots over your documents, RAG pipelines and anyone who needs text out of files without copy-pasting.

Why this one

  • 📚 8 formats, one Actor. PDF, DOCX, PPTX, XLSX, CSV, HTML, EPUB, TXT/MD. No juggling a different tool per file type.
  • 🧱 Structure is kept. Headings stay headings (also numbered sections like 3.2 Attention in PDFs), Excel sheets and Word/PowerPoint tables become Markdown tables, PowerPoint slides keep their titles and speaker notes.
  • 🧹 Clean PDF text. Lines are joined into paragraphs, hyphenated words repaired, page numbers and repeated headers/footers removed, side stamps ignored.
  • ✂️ Smart RAG chunks. Chunks never cut a table row (long tables repeat their header in every chunk), a heading always stays with its text, and overlap carries only running text.
  • 🔗 Paste share links. Google Drive, Google Docs/Sheets/Slides, Dropbox and GitHub links are turned into direct downloads automatically. You can also upload a file.
  • 🔎 Format detected from the file itself, not just the extension, so mislabeled files still work.
  • 💸 Pay only for converted documents. Unreachable links, unsupported files and scanned PDFs without a text layer are reported but never charged.

What you get per document

FieldDescription
markdownThe document as clean Markdown
title, author, createdAtFrom the file's metadata (or the first heading)
pages / slides / sheets / chaptersSize of the document
wordCount, charCount, approxTokensFor budgeting LLM context
tablesNumber of tables found
warningsE.g. scanned pages without text, cut sheets
statusok, no_text, unsupported or error (with error message)

In RAG chunks mode you get one item per chunk with text, headingPath, chunkIndex, chunkCount, charCount and approxTokens.

Example (chunks mode)

{
"url": "https://arxiv.org/pdf/1706.03762",
"format": "pdf",
"title": "Attention Is All You Need",
"chunkIndex": 5,
"chunkCount": 18,
"headingPath": ["3 Model Architecture", "3.2 Attention", "3.2.2 Multi-Head Attention"],
"text": "### 3.2.2 Multi-Head Attention\n\nInstead of performing a single attention function...",
"charCount": 2398,
"approxTokens": 600
}

How to use

  1. Paste document links (one per line) or upload a file.
  2. Choose One item per document or RAG chunks (set the chunk size; 4,000 characters ≈ 1,000 tokens).
  3. Run. Send the results to your vector database, LLM workflow, Make, Zapier, n8n or download as JSON/CSV.

Good to know

  • Scanned PDFs (images of pages) have no text layer. They are reported with status no_text and are not charged. OCR is not included.
  • Old binary Office files (.doc, .xls, .ppt) are not supported: save them as .docx/.xlsx/.pptx or PDF.
  • PDF tables come out as text lines, because PDFs don't store tables as tables. Word, PowerPoint and Excel tables are converted to real Markdown tables.
  • Files must be reachable by a link (public or shared), or uploaded. Max size is configurable (default 50 MB).

FAQ

Is my document stored? It is processed in your own Apify run, and the result is saved only in your run's dataset.

How are tokens counted? approxTokens is characters ÷ 4, a good estimate for GPT and Claude tokenizers on English text.

Can I convert a whole website? This Actor converts the pages you list. To crawl a site first, run a crawler and pass the page URLs here.

Missing a format or found a bug? Open an issue on the Issues tab.