Document to Markdown for LLMs (PDF, Word, PowerPoint, Excel)
Pricing
Pay per event
Document to Markdown for LLMs (PDF, Word, PowerPoint, Excel)
Convert PDF, DOCX, PPTX, XLSX, HTML, CSV, EPUB and more from URLs into clean Markdown for AI, RAG and LLM pipelines. Keeps headings, lists and tables; optional ready-made chunks. Pay per document.
Pricing
Pay per event
Rating
0.0
(0)
Developer
John Joseph Wheatley
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share
At a glance: convert documents from URLs into clean Markdown for AI tools. You get one row per document with its text. Cost: 1,000 typical documents are about $2.
Convert documents from URLs into clean Markdown, ready for ChatGPT, Claude, RAG pipelines, vector databases and AI agents. One Actor handles PDF, Word (DOCX), PowerPoint (PPTX), Excel (XLSX/XLS), HTML pages, CSV, JSON, XML, TXT, Markdown, EPUB and Jupyter notebooks.
What it keeps:
- headings, lists, bold and italic text, links and tables
- tables in Excel files and ruled tables in PDFs, as Markdown tables
It can also split every document into ready-made chunks for embeddings.
You don't need an API key or any setup. Paste links and run.
Why use it
- Many formats in one place: mix PDFs, slide decks and spreadsheets in a single run, so you don't need a separate tool for each format.
- Text that reads properly: PDF text keeps its word spacing even in tightly typeset papers, so you don't get "wordsruntogether". Rotated figure labels and chart text are removed, and ruled tables become real Markdown tables.
- Ready for RAG: optional chunking splits at headings and paragraphs, never mid-sentence where it can avoid it, with configurable overlap.
- Fair, simple pricing: pay per document. Long documents pay a small amount per extra page, and failed downloads and unsupported files are free.
- Fast and inexpensive: no browser or OCR engine, so a typical document converts in under a second.
Input
| Field | Default | Description |
|---|---|---|
sources | — | Document URLs. Paste many, or upload a list. |
includeMarkdown | true | Put the Markdown in each dataset row. |
saveMarkdownFiles | false | Also save a .md file per document, with a download link. |
chunkSize | 0 | Split into chunks of at most N characters (0 = off). 1,000–4,000 is typical for embeddings. |
chunkOverlap | 0 | Characters repeated between consecutive chunks. |
maxFileSizeMb | 50 | Larger files are skipped and not charged. |
maxConcurrency | 4 | Documents processed in parallel. |
{"sources": [{ "url": "https://arxiv.org/pdf/1706.03762" },{ "url": "https://example.com/quarterly-report.docx" },{ "url": "https://example.com/pricing.xlsx" }],"chunkSize": 2000,"chunkOverlap": 150}
Output
One row per document:
{"index": 0,"url": "https://arxiv.org/pdf/1706.03762","fileType": "pdf","pages": 15,"billedExtraPages": 5,"title": null,"characters": 39871,"words": 5912,"markdown": "Attention Is All You Need\n\nAshish Vaswani …\n\nAbstract\n\nThe dominant sequence transduction models …","chunks": ["Attention Is All You Need …", "…"],"markdownUrl": "https://api.apify.com/v2/key-value-stores/…/records/0001-1706-03762-ab12cd34.md"}
- If a document can't be processed, its row has an
errorfield, and you aren't charged for it. - If a PDF has no text layer (a scanned PDF), its row has a
warningfield.
Pricing
- $0.002 per document, including up to 10 pages.
- $0.0002 per extra page after that.
| Example | Cost |
|---|---|
| A 15-page paper | $0.003 |
| 1,000 typical documents | about $2 |
"Pages" means:
- the real page count for PDFs
- slides for PowerPoint
- sheets for Excel
- about 500 words per page for other formats
Use cases
- RAG and chatbots: ingest PDFs, manuals, policies and slide decks into a vector database.
- AI agents: give an agent a tool that reads any document link as Markdown.
- Research: turn papers and reports into text you can search, summarise and compare.
- Data extraction: turn spreadsheets and tables into Markdown for LLM prompts.
- Content migration: convert Word documents into Markdown for docs sites and wikis.
Use with AI agents (MCP)
This Actor works as a tool for AI assistants such as Claude, ChatGPT and Cursor, through Apify's MCP server.
- Add the server to your MCP client, with this Actor selected:
{"mcpServers": {"apify": { "url": "https://mcp.apify.com?tools=squarish_altruism/doc-to-markdown" }}}
In Claude Code: claude mcp add apify "https://mcp.apify.com?tools=squarish_altruism/doc-to-markdown" -t http
- Sign in with your Apify account when your client asks. If it can't use OAuth, send your Apify API token in an
Authorization: Bearerheader. - Ask in plain language, for example: "Convert https://arxiv.org/pdf/1706.03762 to Markdown and summarise section 3."
Runs started by an agent are billed to your Apify account at the same prices as above.
Limitations
- No OCR: scanned PDFs (images of pages) produce little or no text and get a warning.
- Legacy formats:
.docand.pptaren't supported. Save them as.docxor.pptx. - Complex PDF tables: tables without ruling lines, such as most academic tables, come out as neatly aligned text rows instead of Markdown tables.
- Your own documents only: convert documents you have the right to process.
Built on Microsoft's open-source MarkItDown (MIT licence) and pdfplumber (MIT licence), with improved PDF handling.
Feedback
Need OCR, another format or a different chunking strategy? Open an issue on the Issues tab.