DOCX to Markdown: Word to Text, Tables, Headings
Pricing
from $1.75 / 1,000 converted documents
DOCX to Markdown: Word to Text, Tables, Headings
Convert Word .docx files from URLs to clean Markdown and plain text, with headings, tables, word count and optional images. For LLM, RAG and docs. No start fee. Failed or empty files are free. Empty input = free demo.
Pricing
from $1.75 / 1,000 converted documents
Rating
0.0
(0)
Developer
Actor Factory
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
8 days ago
Last modified
Categories
Features
Share
You have a pile of Word files, contracts, reports, policies or exported wiki pages, and you need their text in a form a program can use: Markdown for an LLM or a RAG index, plain text for search, a list of headings for navigation, tables you can parse. Copy-pasting from Word loses the structure, and a desktop converter does not run on 500 links. This Actor takes a list of .docx links and returns one row per file. No browser, no LLM, no API key.
Try it free: leave the input empty and press Start. The demo converts two built-in sample documents, needs no network
and is not charged (rows carry _demo: true).
| source | title | wordCount | headings | tables | status |
|---|---|---|---|---|---|
| sample-report.docx | Quarterly report (sample) | 39 | 3 | 1 | ok |
| sample-meeting-notes.docx | Meeting notes (sample) | 25 | 2 | 1 | ok |
| https://example.com/missing.docx | 0 | 0 | 0 | error (http_404) |
What you get
- Markdown with
#headings, bullet and numbered lists, bold and italic, links and GitHub-style tables - Plain text: one line per paragraph, table cells separated by tabs (can be turned off to keep rows small)
- Headings list: every heading as
{level, text}, in order, for outlines and chunking - Tables as Markdown: each table also as its own string in
tables, so you can parse them separately - Title from the file properties, else the first heading, else the first line
- Word count (characters for Japanese, Chinese and Korean text) and character count
- Images (off by default): saved to the key-value store and referenced in the Markdown as
 - .md files (off by default): one Markdown file per document in the key-value store, with a link in the row
- Max characters per document, cut at a paragraph boundary, with a
truncatedflag - Works for English and Japanese documents
Price
$2.50 per 1,000 documents ($0.0025 per file converted), no start fee. 1,000 files cost $2.50, 10,000 files cost $25. On the Apify Free plan, the $5 of monthly platform credit covers about 2,000 files a month. Only successful conversions are charged. Failed downloads (404, timeout, blocked), files that are not Word documents, password-protected or empty files, and the demo are free.
Input
{"urls": ["https://example.com/reports/q3.docx"],"includeText": true,"extractImages": false,"saveMarkdownFiles": false,"maxChars": 0}
Up to 5,000 links per run. Leave urls empty for the free demo.
Output (one row per link)
{"source": "https://example.com/reports/q3.docx","title": "Quarterly report","markdown": "# Quarterly report\n\n## Results\n\n| Region | Revenue |\n| --- | --- |\n| EMEA | $1.2M |","text": "Quarterly report\nResults\nRegion\tRevenue\nEMEA\t$1.2M","headings": [{"level": 1, "text": "Quarterly report"}, {"level": 2, "text": "Results"}],"tables": ["| Region | Revenue |\n| --- | --- |\n| EMEA | $1.2M |"],"wordCount": 8, "charCount": 82, "truncated": false,"imageCount": 0, "images": [], "markdownKey": null, "markdownUrl": null,"warnings": [], "status": "ok", "error": null}
status is ok, empty (no text in the file) or error. error holds a short code: http_404, timeout, dns_failure,
blocked_private_address, invalid_url, file_too_large, not_a_docx, encrypted, expanded_too_large,
too_many_entries, corrupt_docx or convert_failed: .... If a link redirected, finalUrl is added.
Counts are saved in the key-value store as STATS.
Safety limits
- Only the links you list are downloaded, over
http://orhttps://. Every redirect hop is checked; localhost, private and cloud-metadata addresses are refused - Downloads over 20 MB are refused. Files that expand to more than 60 MB, have a part over 20 MB or more than 3,000 entries are refused as possible zip bombs, before any parsing
- Links, remote images and external references inside a document are never opened; macros are never run
- Polite: at most 2 connections per host and 0.2 s between requests to the same host
- Not supported: old binary
.docfiles, password-protected files, OCR of pictures, headers/footers and text boxes (the main body, footnotes and tables are converted)
Use cases
- Feed contracts, policies and reports to an LLM or a vector database (pair it with a chunker)
- Move a Word-based knowledge base to Markdown for a static site or wiki
- Index document titles and headings for search
- Pull tables out of Word reports into your own pipeline
Notes
You are responsible for having the right to download and reuse the files you convert. The Actor adds no personal data; if your documents contain personal data, handling it is up to you.
If this Actor saved you time, a rating on the Store helps others find it.
More tools from the same developer
- HTML to Markdown Converter for LLM and RAG — clean Markdown from URLs, raw HTML or datasets for LLM and RAG
- PDF to Text Converter — plain text per page from public PDF URLs, plus one .txt file per PDF
- RAG Chunker — split scraped pages into chunks for RAG and vector stores
- CSV to Excel Converter — convert CSV, TSV, Excel XLSX, JSON and NDJSON files or Apify datasets into each other
- Bulk File Downloader — download files from URL lists or dataset fields into storage, with links, SHA-256 and an optional ZIP