Word to Markdown converter

Turn a Word .docx file into Markdown with its headings, lists, tables, links and footnotes, converted in your browser so the file is never uploaded.

Converter

or drop a .docx file here

Word .docx files up to 50 MB. Older .doc files need saving as .docx first.

Jotura, a free notes app, converts Word files and PDFs when you add them to a vault and keeps the Markdown copy beside your notes, where search finds it. Download Jotura

How to convert Word to Markdown

  1. Open the Word file. Press Choose a Word file or drop a .docx on the box. It stays on your device.
  2. Check the result. Switch between the Markdown and the rendered preview. Notes under the output list anything the converter changed or left out.
  3. Copy or download. Copy Markdown puts it on the clipboard, and Download .md saves the file.

What comes through

In WordIn the Markdown
Heading 1 to Heading 6# to ######
Bold, italic, strikethrough**bold**, *italic*, ~~struck~~
Bulleted and numbered lists- and 1. items, indented for each level
TablesPipe tables, merged cells split with a warning
Hyperlinks[text](https://example.com)
Footnotes[^1] in the text, the note at the end
ImagesLeft out, with a count

Word to Markdown questions

How do I convert a Word document to Markdown?

Press Choose a Word file at the top of this page, or drop a .docx file on the box. The Markdown appears straight away. Copy it, or download it as a .md file with the same name, so report.docx becomes report.md.

What does the converter keep from a Word file?

Headings from Word's Heading styles and outline levels, bulleted and numbered lists with their nesting, tables as GitHub Flavored Markdown pipe tables, bold, italic, strikethrough, hyperlinks and footnotes as [^1]. Text set in a monospace font such as Consolas or Courier New becomes inline code. Fonts, colors, page layout, headers and footers have no Markdown equivalent and are dropped.

How do I convert docx to md with pandoc?

Pandoc reads .docx files well. -t gfm writes GitHub Flavored Markdown, --wrap=none stops pandoc breaking lines at 72 characters, and --extract-media saves the pictures to a folder beside the Markdown.

pandoc report.docx -t gfm --wrap=none --extract-media=report-media -o report.md

What happens to images in my Word file?

They are left out, and the converter tells you how many there were. To keep them, run pandoc with --extract-media as above, which copies each picture to a folder and links it from the Markdown.

What happens to merged table cells?

A Markdown pipe table has no merged cells, so the converter flattens them into ordinary cells and warns you, so you know which table to check. A table that depends on merged cells reads better rebuilt as two simpler tables, or kept as an HTML <table> with colspan, which GitHub renders.

Can I convert an old .doc file?

Not directly. The .doc format from Word 2003 and earlier is a different, binary file. Open it in Word, LibreOffice or Google Docs, save it as .docx, and convert that. From a terminal, LibreOffice does it in one command.

soffice --headless --convert-to docx letter.doc

How do I convert a Google Doc to Markdown?

In Google Docs choose File > Download > Microsoft Word (.docx) and drop the file here. Google Docs also offers File > Download > Markdown (.md), which converts on Google's side.

Where can I edit the Markdown afterwards?

Any text editor opens a .md file. A Markdown editor such as Jotura, Obsidian or Typora shows the headings, lists and tables formatted while it saves plain Markdown underneath.

Is my Word file uploaded?

No. The converter is a WebAssembly program that runs in a background thread of your browser. It reads the file on your device and writes the Markdown there, and nothing about the file is sent to a server or saved. Files up to 50 MB work.

The guide to converting PDF and Word to Markdown compares pandoc, MarkItDown and Docling on the same Word file. Two more converters run in your browser the same way: PDF to Markdown and Markdown to Word. For tables, use the Markdown table generator.