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

Document to Markdown: PDF, Word, Excel & PowerPoint for AI/RAG

Pricing

from $2.00 / 1,000 pages converted

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

Document to Markdown: PDF, Word, Excel & PowerPoint for AI/RAG

Convert PDF, DOCX, XLSX, PPTX, HTML and CSV files from links into clean Markdown, JSON tables and RAG-ready chunks. Headings, lists and tables kept. Pay per page.

Pricing

from $2.00 / 1,000 pages converted

Rating

0.0

(0)

Developer

Docsmith Tools

Docsmith Tools

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

8 hours ago

Last modified

Features

Limited permissions

Share

Turn documents into clean Markdown, JSON tables and RAG-ready chunks in one step. Give it links to PDF, Word (DOCX), Excel (XLSX), PowerPoint (PPTX), HTML, CSV, TXT or MD files. You get structured output that you can drop into an LLM prompt, a vector database or a spreadsheet.

Why use it

  • One tool for every office format. There's no need for separate PDF, Word and Excel converters.
  • Structure is kept. Headings, bullet lists and tables come through as real Markdown, not one block of text. PDF headings are detected from font sizes.
  • RAG-ready. Optional chunks that respect headings, with overlap you can configure, for embeddings and vector stores.
  • Spreadsheets as data. Each Excel sheet or CSV is returned as JSON rows keyed by its header row, plus a Markdown table.
  • You only pay for what converts. Failed downloads and unsupported files are never charged.
  • No AI model and no scraping. It's fast, predictable and private. Your files are processed in your own run and not stored anywhere else.

Input

FieldWhat it does
Document linksDirect download links to your files (S3, Google Cloud Storage, Dropbox ?dl=1, public URLs).
Split into chunks for RAGAdds a chunks array (on by default).
Chunk size / overlapCharacters per chunk (default 2,000) and overlap (default 200).
Include spreadsheet tables as JSONJSON rows for XLSX/CSV (on by default).
Include plain textAdds a text field without Markdown.
Max pages per PDFConverts only the first N pages, to cap cost.
Max rows per sheetLimits rows per sheet (default 1,000).

Output (one dataset item per document)

{
"url": "https://example.com/report.pdf",
"success": true,
"fileType": "pdf",
"title": "Annual Report 2026",
"pages": 12,
"characters": 38211,
"markdown": "<!-- page 1 -->\n\n# Annual Report 2026\n\n## Summary\n\nRevenue grew ...",
"chunks": [{ "index": 0, "heading": "Summary", "text": "...", "chars": 1987 }],
"tables": [{ "sheet": "Sales", "headers": ["Region", "Amount"], "rows": [{ "Region": "North", "Amount": "100" }] }],
"metadata": { "author": "...", "possiblyScanned": false }
}

Failed documents return "success": false with an error message.

Pricing

Pay per page:

  • PDF: each page
  • PowerPoint: each slide
  • Excel: each sheet
  • Word, HTML, TXT: every 500 words (minimum 1)
  • CSV: 1 page per file

Set a maximum cost per run in Apify and the tool stops cleanly before going over it.

Limits

  • Files up to 50 MB each.
  • Scanned PDFs (images with no text layer) return little or no text. These are flagged with metadata.possiblyScanned: true. OCR isn't included yet.
  • Old binary formats (.doc, .xls, .ppt) aren't supported. Save them as .docx, .xlsx or .pptx first.

FAQ

How do I convert a PDF to Markdown for ChatGPT, Claude or a RAG pipeline? Paste the file link, keep Split into chunks on, and use the markdown or chunks fields.

Can it convert Word (DOCX) to Markdown, or Excel (XLSX) to JSON? Yes. Word becomes Markdown with headings, lists and tables; each Excel sheet becomes JSON rows and a Markdown table.

How much does it cost? About US$0.002 per page. A 50-page PDF costs about 10 cents.

Use it from code or AI agents

Call it with the Apify API, the JavaScript or Python client, or through Apify's MCP server, so AI agents can convert documents on demand.

Other Docsmith tools