.doc vs .docx
This page accepts both .doc (Word 97-2003) and .docx. The checked fixtures keep headings, bold and italic text, lists, tables, links, and footnotes in both formats. The .docx fixture also keeps bookmark links and writes the image alt text into the paragraph. The .doc fixture leaves the bookmark as plain text and drops that alt text.
Save as .docx when you can, and use DOCX to Markdown for a file you know is .docx. Use DOC to Markdown when the file is specifically legacy .doc.
Word to MD workflow
- Upload the Word file. If you can choose the export format, save as .docx first.
- DocToMD extracts the document outline and creates Markdown from the editable content.
- Preview the result, fix any layout-specific sections, then copy the Markdown or download the .md file.
What Word Formatting Is Preserved
- Headings
- Bold, italic, and strikethrough
- Numbered, bulleted, and nested lists
- Tables, with merged cells becoming empty cells
- Links
- Footnotes and endnotes
Word to Markdown examples
Word format comparison fixture excerpts
The same structured document represented once as legacy .doc and once as modern .docx.
Verified fixture output | Engine: anydoc after format detection | Tested: 2026-08-08Preserves: Comparable headings, lists, tables, and links across both inputsKnown limits: DOC and DOCX may differ on legacy layout and bookmark detailsDOC output excerpt:
# Fixture Document
Plain paragraph with **bold**, *italic*, and ~~struck~~ runs.
**Style-bold paragraph with a** NotBold-styled span **inside.**
## Lists
1. First numbered
2. Second numbered
- a) Alpha sub one
- b) Alpha sub two
- i. Roman sub sub
3. Third numbered
Interrupting paragraph between lists.
4. Fourth, continuing the count
- IV. Roman starting at four
- I. Roman five
- Bullet one
- Bullet two
- Nested bullet
## Table
| | | |
| --- | --- | --- |
| Wide head | | End |
| Tall | B2 | C2 |
| | B3 | C3 |
## Links and anchors
External link to [example](https://example.com/page).
Relative link to [a sibling file](../../fixture-src/sibling.odt).
DOCX output excerpt:
# Fixture Document
Plain paragraph with **bold**, *italic*, and ~~struck~~ runs.
**Style-bold paragraph with a NotBold-styled span inside.**
## Lists
1. First numbered
2. Second numbered
- a) Alpha sub one
- b) Alpha sub two
- i. Roman sub sub
3. Third numbered
Interrupting paragraph between lists.
4. Fourth, continuing the count
- IV. Roman starting at four
- I. Roman five
- Bullet one
- Bullet two
- Nested bullet
## Table
| | | |
| --- | --- | --- |
| Wide head | | End |
| Tall | B2 | C2 |
| | B3 | C3 |
## Links and anchors
External link to [example](https://example.com/page).
Relative link to [a sibling file](../../fixture-src/sibling.odt).
<a id="plainmark"></a>This plain paragraph carries a bookmark.
Jump to [the bookmarked paragraph](#plainmark).Word conversion notes
- Inline images are not embedded; a .docx fixture keeps the image alt text as paragraph text, and the matching .doc fixture drops that alt text
- Bookmark links in the .docx fixture become plain text in the .doc fixture
- Comments and tracked changes are not claimed; the checked Word fixtures do not contain them
- Page layout is not preserved
Word to Markdown for GitHub and Obsidian
The Markdown uses headings, lists, tables, links, and footnotes. You can paste it into a GitHub file or an Obsidian note and edit it as text.
A Google Docs file works here after you download it as .docx or .doc. This page does not import a Google Docs link. If the download is .docx, DOCX to Markdown is the matching page.
Choose a Word workflow by what you know
Use this broad Word workflow when the source application matters more than the extension. If the file is definitely .docx or legacy .doc, the dedicated converter gives clearer format-specific guidance before upload.