DOCX to Markdown Converter

Open one or many Word documents, choose GitHub or CommonMark output and how images are handled, then edit and download tidy Markdown with a side-by-side preview.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Open the document

    Drop one or more .docx files on the box.

  2. 2
    Choose the flavour

    Pick GitHub Flavored or CommonMark under Options.

  3. 3
    Choose image handling

    Save to a folder, embed as data URLs or leave out.

  4. 4
    Set the style

    Pick heading style, bullet, emphasis and line breaks.

  5. 5
    Check and edit

    Compare Markdown and Preview side by side and fix anything with undo available.

  6. 6
    Download

    Press Download .md, or .zip when images are saved to a folder.

About this tool

Many teams draft in Word and publish in Markdown: documentation sites, Git repositories, wikis, static blogs and knowledge bases all want plain text with simple markers. Copying from Word into a Markdown editor loses the structure or drags in invisible formatting, and online converters ask you to upload contracts and internal specs to someone else's server. This converter reads the DOCX package directly in your browser. Paragraph styles decide the structure: Title and Heading 1 to Heading 6 become headings, styles with an outline level are treated the same way, Quote styles become block quotes and code styles become fenced code. Word numbering is looked up in the numbering part, so bullets and numbered items keep their type and nesting level. Bold, italic, strikethrough, superscript, subscript and monospaced runs keep their formatting, neighbouring runs with the same formatting are merged so you never get broken markers, hyperlinks become Markdown links, and footnotes and endnotes become reference notes at the end.

Images

Choose Save to a folder and every picture is written into an images folder inside a ZIP next to the .md file, with links that already point at it. Embed as data URLs keeps everything in one file, which suits a quick paste into a wiki but makes the text long. Leave out drops pictures completely. The alternative text you typed in Word is used as the image description. EMF and WMF drawings are kept but flagged, since browsers cannot display them.

GitHub or CommonMark

GitHub Flavored Markdown has pipe tables, strikethrough with tildes and footnotes, and that is the default. Strict CommonMark has none of these, so tables are written as HTML tables, struck text uses del tags and footnotes become a numbered list after a rule. You can also choose ATX hash headings or underlined headings, the bullet character, star or underscore emphasis and how line breaks inside a paragraph are written.

Editing before you save

The result opens in an editor with undo and redo next to a rendered preview, so you can fix a heading level or delete a cover page before downloading. Several files can be converted in one go; each gets its own image folder inside the ZIP and a log lists every warning.

Limits

Tracked deletions and hidden text are not written, while tracked insertions are. Equations, text boxes, shapes, charts, comments anchors, merged table cells and page layout such as columns and headers or footers are not converted; the report tells you when a file contains them. Old binary .doc files must be saved as .docx first.

Worked example

A product manager converts a 12-page specification with 14 headings, 3 bulleted lists, 2 tables, 6 screenshots and 4 footnotes. With GitHub flavour and Save to a folder, the ZIP holds spec.md and images/image1.png to image6.png. The 4-column requirements table becomes a pipe table with 18 rows, footnote markers become [^1] to [^4] with their text at the end, and the link to the design file stays clickable. The report warns about one merged cell in the second table, which the manager splits by hand in the editor before committing the file to the repository.

Quick facts

Frequently asked questions

Which Word files are supported?

DOCX, DOCM and DOTX files from Word 2007 or later, LibreOffice, Google Docs exports and Pages exports. Old binary DOC files need to be saved as DOCX first.

Why are some headings plain text?

Only paragraphs that use a heading style or an outline level become headings. Text that was only made large and bold looks like a heading in Word but has no structure. Apply Heading styles in Word, or fix the level in the editor here.

How are tables converted?

The first row becomes the header row. Several paragraphs in one cell are joined with a br tag, pipe characters are escaped and nested tables are marked. With CommonMark output tables are written as HTML.

Are comments and tracked changes included?

Insertions are kept and deletions are left out, as if all changes were accepted. Reviewer comments can be added at the end under a Comments heading if you tick that option.

Can I convert many files at once?

Yes. Drop several DOCX files; each opens from the file list, and Convert all to ZIP writes every Markdown file with its own image folder.

Does the document leave my computer?

No. The DOCX is unzipped and converted by JavaScript in this tab. Only your option choices are remembered in local storage.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages