Pick a method
| Method | Best for | Install | Images |
|---|---|---|---|
| Browser converter | One file, private documents, no setup | Nothing | Placeholder or embedded |
| Pandoc | Many files, scripts, image files | Command-line tool | Saved as files |
| Google Docs download | Documents already in Google Drive | Nothing | Depends on the export |
Whatever you choose, the result depends far more on how the Word document was written than on the tool. The next section is the part that saves time.
Prepare the document first
Markdown keeps structure, not appearance. A converter can only keep what Word knows is structure:
- Headings must use Heading styles. A title typed in 18 pt bold looks like a heading to you and like a paragraph to a converter. Select it and apply Heading 1, Heading 2 and so on. Word's Navigation pane shows what Word sees as headings.
- Lists must be real lists. Use Word's bullet and numbering buttons. Lines that start with a typed dash or "1." are just paragraphs.
- Tables should be simple. Markdown tables have one header row and no merged cells, so split merged cells and remove nested tables.
- Accept or reject tracked changes and delete comments. Otherwise you can't be sure which version of the text you get.
- Move text out of text boxes and shapes. Converters often skip it.
- Save as .docx. Old .doc files need converting first: open them and save a .docx copy.
Convert in your browser
For one document, a browser converter is quickest.
- Open the Word to Markdown converter and drop the .docx file on it, or choose Open .docx.
- Check the result with the Preview toggle.
- Choose Copy Markdown or Download .md.
Two options handle real-world documents. Detect headings from bold lines turns a short line that is entirely bold or underlined into a heading, which rescues documents written without Heading styles. Embed images keeps pictures inside the Markdown as base64 data; leave it off for a small, readable file with an [Image: …] placeholder where each picture was.
Because nothing is sent to a server, this route is suitable for contracts, HR documents and other files you shouldn't upload.
Convert with Pandoc
Pandoc is a free command-line converter and the standard choice for batches or scripts. After installing it (on a Mac, brew install pandoc), run:
pandoc report.docx -t gfm --wrap=none --extract-media=media -o report.md-t gfmwrites GitHub Flavored Markdown, which has tables and task lists.--wrap=nonekeeps each paragraph on one line instead of wrapping it at 72 characters, which makes diffs and later editing easier.--extract-media=mediasaves the images into amediafolder and links to them from the Markdown.
To convert every .docx file in a folder:
for f in *.docx; do pandoc "$f" -t gfm --wrap=none --extract-media=media -o "${f%.docx}.md"; donePandoc writes a table it can't express in Markdown as an HTML table, so check complex tables after converting.
Convert from Google Docs
If the document is in Google Docs, look for File → Download → Markdown (.md), which recent versions of Docs offer. If your version doesn't have it, download the document as Microsoft Word (.docx) and use either method above. For one section, copy it from Docs and paste it into the HTML to Markdown converter, which keeps the headings, lists and links from the clipboard.
What survives and what doesn't
| In Word | In Markdown |
|---|---|
| Heading 1–6 styles | # to ###### headings |
| Bold, italic | **bold**, *italic* |
| Underline | No Markdown equivalent: usually bold or plain text |
| Bulleted and numbered lists | - and 1. lists, nesting kept |
| Simple tables | Markdown tables |
| Merged cells, nested tables | Lost, or kept as HTML |
| Hyperlinks | [text](url) links |
| Images | Placeholders, embedded data or separate files |
| Fonts, colours, sizes, alignment | Lost |
| Page breaks, headers and footers | Lost |
| Comments, tracked changes | Ignored or unpredictable: resolve them first |
Losing fonts and colours is expected. Markdown leaves the look to whatever displays the file.
Check the Markdown before you use it
Open the .md file in a renderer and compare it with the Word document, section by section:
- the heading outline has the right levels and no paragraphs pretending to be headings;
- lists are nested where they were nested;
- tables have a header row and the right number of columns;
- links point to the right place;
- nothing from a text box, footnote or caption is missing.
The free online Markdown viewer shows the rendered page with a heading outline, which makes a wrong heading level easy to spot. If the document will live with other Markdown files, keep the images next to it with relative links, as described in local Markdown images not showing.
Frequently asked questions
What is the easiest way to convert Word to Markdown?
Drop the .docx file onto a browser converter such as the free Word to Markdown tool on aeromarkdown.app, then copy or download the .md file. There is nothing to install, and that tool converts the file inside your browser without uploading it.
Can Microsoft Word save as Markdown?
Word has not traditionally offered Markdown in its Save As list, so most people use a converter. Check the formats in your version of Word; if Markdown isn't there, use a browser converter or Pandoc.
How do I convert Word to Markdown with Pandoc?
Run pandoc input.docx -t gfm --wrap=none --extract-media=media -o output.md. It writes GitHub Flavored Markdown, keeps paragraphs on one line and saves the images into a media folder.
Why are my Word headings plain text after converting?
Converters read headings from Word's Heading 1 to Heading 6 styles. If a title only uses a bigger or bold font, there is no heading to find. Apply a Heading style in Word, or use a converter option that treats short bold lines as headings.
Can I convert an old .doc file to Markdown?
Most converters, including Pandoc, read .docx only. Open the .doc file in Word, Pages or LibreOffice, save it as .docx, then convert that copy.
What happens to images when converting Word to Markdown?
Markdown links to images instead of containing them. Pandoc saves them as files with --extract-media. Browser converters either leave a placeholder or embed the image as base64 data, which keeps one file but makes it large.