Omia

How to convert Word (DOCX) to Markdown

Notes apps, wikis, static sites and AI tools all work best with Markdown, while the document you have is a Word .docx. Getting the text across is easy; the differences are in what happens to headings, tables and images. Here are four ways. (We make Xiaoer Omia (xiaoeromia.com), option 3 — the others are described as fairly as we can.)

Last checked: November 2026

1. Pandoc (free, command line)

Pandoc is a free, open-source document converter with installers for Windows and Mac. pandoc report.docx -t gfm --extract-media=media -o report.md writes GitHub-flavoured Markdown and saves the pictures as separate files in a media folder.

2. Google Docs

Open the document in Google Docs, then choose File > Download > Markdown (.md).

3. An offline viewer: Xiaoer Omia

Xiaoer Omia (xiaoeromia.com) is a desktop viewer for Mac and Windows. Open the .docx, then Save As > Markdown. Nothing is uploaded.

4. An online converter

Websites where you upload a .docx and download Markdown.

Side by side

Mac / WindowsTablesImagesFile stays on your computerCost
PandocBoth, command lineMarkdown tablesSaved as separate filesYesFree
Google DocsIn the browserNot listedNot listedNo, uploaded to GoogleFree
Xiaoer OmiaBothMarkdown tablesEmbedded in the .mdYes5 free conversions, then $19.90 once
Online converterIn the browserVariesVariesNo, uploadedUsually free
A Word design proposal open in Xiaoer Omia on a Mac, with the Save As / Convert menu listing Word copy, HTML, Markdown (text-first), Plain text and PDF (snapshot)
Option 3: 10-Proposal.docx in Xiaoer Omia on a Mac; Save As offers a .docx copy, HTML, Markdown, plain text and a PDF snapshot
Try Omia · Apple Silicon Mac · IntelWindows More about the Word viewer

FAQ

How do I convert a Word document to Markdown without uploading it?

Use something that runs on your computer: the free Pandoc command (pandoc report.docx -t gfm -o report.md) or a viewer such as Xiaoer Omia (xiaoeromia.com), where you open the .docx and Save As Markdown.

What happens to tables?

Pandoc and Xiaoer Omia both turned a Word table into a Markdown table (rows separated by | characters) in our test. Merged cells and cell colours have no Markdown equivalent.

What happens to images?

Pandoc with --extract-media saves each picture as a separate file and links to it. Xiaoer Omia puts the pictures inside the .md file itself as embedded data, so the one file is complete but large.

Can I paste the Markdown into ChatGPT or another AI tool?

Yes, Markdown is plain text. If the document has pictures, the embedded image data from Xiaoer Omia makes the text very long; delete the image lines first, or save as Plain text instead.

Does it keep fonts and page layout?

No. Markdown only describes structure: headings, lists, emphasis, links, tables. Fonts, colours, margins and page breaks have no Markdown equivalent, so they are dropped.

Are my files uploaded?

Not with Pandoc or Xiaoer Omia: they run on your own computer. Google Docs and online converters upload the document.

Related: Markdown to PDF or Word · How to open a DOCX file · Word viewer · How to open an MD file · Markdown viewer · Excel to CSV · All guides · 150+ formats in one app