Word cannot open a Markdown (MD) file directly, but you can import one in a couple of minutes: open the .md file in any plain-text editor, copy the text, paste it into Word, then apply formatting (or use Word's paste options and a converter tool to keep headings and lists). The file stays perfectly readable either way because Markdown is just plain text - what you lose without conversion is the styling that symbols like # and ** represent.
This guide covers the manual method, a free online converter route, how to turn Markdown symbols into real Word styles, and what to do when headings or tables come in looking flat.
What You'll Need
- The .md file you want to import, saved somewhere you can find it (Desktop, Downloads, or a synced folder).
- Microsoft Word, desktop version preferred. Word for the web works for basic pasting but has fewer paste options.
- A plain-text editor: Notepad or Notepad++ on Windows, TextEdit on Mac (set to Plain Text), or a Markdown-focused editor such as Visual Studio Code, Typora or Obsidian if you already use one.
- Optional: a browser-based Markdown-to-DOCX converter, or a Markdown add-in for Word if your version supports it. Menu names and available add-ins differ slightly by Word version, device and region, so treat labels below as a guide.
Step-by-Step
- Back up the original file. Copy the .md file and keep the copy untouched. Markdown files are usually small, so there is no reason to edit the only version you have.
- Open the .md file in a plain-text editor. Right-click the file and choose Open with, then pick Notepad, TextEdit or your Markdown editor. Do not use Word to open it - Word will either refuse or dump you into a file-conversion dialog that strips the structure.
- Decide what formatting you want. If you only need the content, copy everything. If you want Word to build real headings and lists, the cleanest route is a converter (next steps 4 to 6). For a quick job, skip to step 7.
- Convert to .docx with an online tool (quick option). Search for a reputable Markdown-to-Word or Markdown-to-DOCX converter, upload the file, choose DOCX as the output, and download the result. Only use tools you trust with the content - avoid uploading confidential documents to unknown sites.
- Or use a Markdown editor's export. Many editors, including Typora and some notes apps, offer File > Export and a Word or DOCX target. The exact wording varies by app and version.
- Or paste with Word's Keep Text Only and rebuild styles. Copy from your text editor, then in Word use Home > Paste > Keep Text Only. Word does not interpret Markdown automatically, so you will manually style headings with the Styles gallery.
- Open the converted file in Word (File > Open) if you converted it, or paste into a new blank document if you went the manual route.
- Map the formatting. Select a line that starts with
#and in the source is a top-level heading, then apply Heading 1 from the Home tab Styles gallery. Do the same for##as Heading 2 and###as Heading 3. Using the built-in styles keeps your changes consistent and lets Word build a table of contents later. - Clean up inline symbols. Use Find and Replace (Ctrl+H on Windows, Cmd+H on Mac) to remove leftover Markdown characters. Replace
**with nothing to clear bold markers, then apply bold to the affected text, and repeat for*or_used for italics. Work one symbol at a time and use Replace All carefully - replacing a single underscore can damage file names or code in the text. - Fix lists. Lines beginning with
-,*or1.will paste as plain text. Select those lines and apply Bullets or Numbering from the Home tab. If the symbols remain, delete them first with Find and Replace so you do not end up with doubled markers. - Rebuild tables and links. Markdown tables made with pipe characters need to be converted to a real Word table: select the text, then Insert > Table > Convert Text to Table and choose the pipe character as the separator. Links written as
[text](url)can be replaced manually, or select the visible text and use Insert > Link. - Check images. If the Markdown references image files by relative path, they will not appear in Word. Insert them with Insert > Pictures and place each one where the original referenced it.
- Save as .docx and proofread. Use File > Save As and choose Word Document (.docx). Scroll the whole document to confirm headings, lists and tables survived, and read any converted text for lost characters such as curly quotes or dashes.
Common Mistakes
- Opening the .md file directly in Word. Word has no native Markdown import, so the symbols appear as literal text or the file opens as an unstyled block. Always start in a text editor.
- Pasting from a rendered preview. Copying from a Markdown viewer that already renders the page can bring hidden formatting or lose line breaks. Copy from the raw text instead.
- Replacing single symbols blindly. Replace All on
*or_can eat characters you wanted to keep. Replace in order: double symbols first, then single ones, and review each change. - Ignoring Heading styles. Formatting headings with manual bold and larger font looks fine but breaks Word's navigation pane and table of contents. Use the Styles gallery.
- Forgetting relative image paths. Markdown stores image links as file paths. Once the document leaves its original folder, those links break.
- Uploading sensitive files to any converter. Online tools are convenient but many keep uploads. Use a local editor's export for confidential material.
Tips
- If you import Markdown often, check whether your Word version offers a Markdown-related add-in from the official add-in store; availability depends on your version and organisation settings.
- Keep a clean source file in Markdown and treat the Word document as an output. That way you can regenerate the Word file after edits instead of fixing two documents.
- Use Word's Paste Special (Home > Paste > Paste Special) with Unformatted Text when you want full control over styling.
- Set up a Word template with your Heading 1 to 3, body and list styles defined once, then applying them after import becomes a few clicks.
- Check the document with Word's Navigation Pane (View > Navigation Pane) - if headings do not appear there, they were not applied as styles.
Troubleshooting
The file opens as one long block of text. The line breaks in the source may be soft returns. Resave the file in your editor with standard line endings, or in Word use Find and Replace to turn single line breaks into paragraph marks where appropriate.
Headings show as plain lines with hash marks. Word does not interpret Markdown, so the conversion step was skipped. Select each heading line and apply the correct Heading style from the Styles gallery.
Bold and italic markers remain. Run Find and Replace for the double symbols first, applying real bold or italic to the matching text as you go. Do not replace all at once on long documents without checking each result.
Tables look like a wall of pipes. Select the block, choose Insert > Table > Convert Text to Table, and set the separator to the pipe character. If Word refuses, check that each row has the same number of separators.
Images are missing. Reinsert them from their original folder and keep that folder next to the document until you have finished, or embed the images so the file stands alone.
A converter produced garbled characters. The file may have been saved in an unusual encoding. Open it in your text editor and re-save as UTF-8 before converting again.
Frequently Asked Questions
Can Word open an .md file natively?
Not as a formatted document. Word treats Markdown files as plain text at best, so you should convert or paste and style manually.
Which is faster: paste and style, or convert?
For a short document, pasting and applying a few styles is quick. For long documents with many headings, tables and links, a converter or an editor's DOCX export saves far more time.
Will formatting like tables and links survive conversion?
Headings, lists, bold and italic usually come through well with a decent converter. Complex tables, footnotes and nested lists often need a manual check.
Can I convert the Word file back to Markdown later?
Yes, with a converter in the other direction, but round trips lose fine detail. Keeping the original .md file as the master copy avoids that problem.
Is a Mac version of the steps different?
The menus are similar, but use TextEdit in Plain Text mode and Command-based shortcuts instead of Ctrl-based ones.
Do I need to install anything?
No. A plain-text editor and Word are enough for the manual method; converters and Markdown editors are optional conveniences.