DOCX converter

Convert DOCX to Markdown

Upload a modern Word .docx file and convert it into readable Markdown for GitHub, documentation sites, knowledge bases, static sites, and AI workflows.

Upload DOCX and download a clean .md file

Use this DOCX to Markdown converter when you need a Word .docx document turned into editable MD with headings, lists, links, and simple tables preserved where possible.

DOCX is usually the cleanest Word input for Markdown

DOCX files contain more structured document information than older .doc files, which makes them a better source for Markdown conversion. The goal is to preserve the authoring structure: headings become Markdown headings, lists become Markdown lists, and simple tables become Markdown tables.

Use this page when the source file ends in .docx, including exports from Microsoft Word, Google Docs, and LibreOffice. Older .doc files use a separate conversion path and belong in the legacy DOC converter.

DOCX to Markdown workflow

  1. Upload your .docx file from Word, Google Docs export, LibreOffice, or another editor that saves DOCX.
  2. DocToMD extracts the document structure and builds a Markdown preview from headings, paragraphs, lists, links, emphasis, and tables.
  3. Check tables, image alt text, footnotes, and anything that depended on page layout, then copy the Markdown or download it as a .md file.

What DOCX structure maps well to Markdown

  • Headings
  • Bold, italic, and strikethrough
  • Numbered, bulleted, and nested lists
  • Tables
  • Links and bookmarks
  • Footnotes and endnotes

DOCX to Markdown example

DOCX source

The verified DOCX fixture starts with a title, then a Lists section (numbered items and bullets) and a Table section with a merged header row.

Markdown output

# Fixture Document

## Lists

1. First numbered

- Bullet one

## Table

|  |  |  |
| --- | --- | --- |
| Wide head |  | End |
| Tall | B2 | C2 |
|  | B3 | C3 |
Verified fixture excerpt. The full checked output, including emphasis, links, and footnotes, is in the examples below.

DOCX formatting support

ElementSupportNotes
HeadingsKeptHeading text becomes Markdown headings in the verified fixture.
Bold and italicKeptBold, italic, and strikethrough runs are kept.
ListsKeptNumbered, bulleted, and nested lists are kept.
TablesKept, with a limitCell text is kept. Merged cells in the verified fixture become empty cells.
ImagesAlt text onlyThe fixture image is not embedded. Its alt text, "tiny red dot", is written into the paragraph.
LinksKeptExternal links, relative links, and bookmarks are kept.
FootnotesKeptFootnotes and endnotes become Markdown footnotes.
Revisions and commentsNot claimedThe verified fixture has no tracked changes and no comments, so this page does not claim they are kept.

DOCX to Markdown examples

DOCX fixture output excerpt

A .docx fixture containing styled text, lists, a table, notes, and links.

Verified fixture output | Engine: anydoc | Tested: 2026-08-08Preserves: Styled text, Lists, Basic tables, Links and bookmarksKnown limits: Visual page layout, headers, and footers may need manual review
# 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).

DOCX conversion notes

  • Merged table cells in the verified fixture become empty cells
  • The verified fixture writes image alt text into the paragraph and does not embed the image
  • Text box content can appear as paragraphs; the box layout is not kept
  • Comments and tracked changes are not claimed; the verified fixture contains neither

Best uses for DOCX to Markdown

Use this page for modern Word documents, Google Docs exports saved as DOCX, documentation drafts, and content that needs to move into GitHub, a static site, or a docs platform.

If the document depends on page layout, columns, or floating images, expect to review the Markdown before publishing. For a file that might be .doc or .docx, start at Word to Markdown. Several HTML, PDF, or text files packed together belong on ZIP to Markdown.

When DOCX is the best Word input

Choose DOCX when you can control the export format or when headings, lists, links, and simple tables matter. The resulting Markdown is suitable for editing in GitHub, documentation systems, static sites, and knowledge bases.

Export from LibreOffice or OpenOffice

LibreOffice Writer and Apache OpenOffice Writer save text as OpenDocument. In LibreOffice, choose File → Save As, then ODF Text Document (.odt) or a Word document (.docx). In Apache OpenOffice Writer, choose File → Save As, then ODF Text Document (.odt).

Upload the saved .odt, or a .docx file from LibreOffice, with ODT to Markdown.

LibreOffice Writer 26.2 and later can also save Markdown Document (.md) with File → Save As. That export follows CommonMark. Current 26.2 builds still escape some code and punctuation incorrectly, and page layout stays in the original document. Older LibreOffice releases use the .odt or .docx save, and this converter reads those files.

Convert DOCX to Markdown FAQ

Practical answers about this Markdown conversion workflow.

How do I convert DOCX to MD online?

Upload a .docx file, wait for the Markdown preview, then copy the result or download it as a .md file.

Does DOCX to MD keep tables?

Yes. The verified fixture turns the table into a Markdown table. Merged cells in that fixture become empty cells.

How are images handled?

The image file is not embedded. In the verified fixture, the image alt text is written into the surrounding paragraph.

What about track changes and comments?

This page does not claim them. The verified DOCX fixture contains neither tracked changes nor comments.

What is the max file size?

Free conversions accept a file up to 10MB. A 7-day pass accepts up to 50MB, and lifetime access accepts up to 100MB.

Can I batch convert?

One DOCX upload becomes one Markdown file. Lifetime access can batch-upload up to 10 separate files, and each file counts as one conversion. For HTML, PDF, EPUB, CSV, or text files packed in one archive, use ZIP to Markdown. That page requires a license, and a DOCX file inside the archive is not converted there.

Is this a DOCX to MD converter or a Word converter?

This page is focused on modern .docx files. If the file might be .doc or .docx, use Word to Markdown.

Should I use this page for older .doc files?

No. Use this page for modern .docx files. Older .doc documents should be uploaded through DOC to Markdown.

Are uploaded files stored?

Files are processed for conversion and temporary files are removed after processing. Avoid uploading password-protected or highly sensitive files unless you are comfortable processing them through the service.