Document to Markdown: PDF, Word, Excel & PowerPoint for AI/RAG
Pricing
from $2.00 / 1,000 pages converted
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
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
8 hours ago
Last modified
Categories
Features
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
| Field | What it does |
|---|---|
| Document links | Direct download links to your files (S3, Google Cloud Storage, Dropbox ?dl=1, public URLs). |
| Split into chunks for RAG | Adds a chunks array (on by default). |
| Chunk size / overlap | Characters per chunk (default 2,000) and overlap (default 200). |
| Include spreadsheet tables as JSON | JSON rows for XLSX/CSV (on by default). |
| Include plain text | Adds a text field without Markdown. |
| Max pages per PDF | Converts only the first N pages, to cap cost. |
| Max rows per sheet | Limits 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
- Email Security Audit: check SPF, DKIM, DMARC and SSL for many domains, with a grade and fixes.
- Image Converter & Compressor: convert and resize images to WebP, AVIF, JPG or PNG.
- RSS Feed Reader & Monitor: turn RSS, Atom and JSON feeds into JSON, with only-new-items alerts.
- Bulk URL Status Checker: find broken links, redirect chains and expiring SSL certificates.