How to use
- Type or paste Markdown on the left, or drop a
.mdfile. Check the result in the preview on the right. - Pick the body font, font size, paper (A4 or Letter) and margins. Turn on heading numbers (1., 1.1.) if you want them.
- Press Save as DOCX. The file is named after the first
#heading.
How Markdown maps to Word
| Markdown | In Word |
|---|---|
# … ###### |
Heading 1–6 styles (usable in the navigation pane and tables of contents) |
**bold** _italic_ ~~strike~~ |
Bold, italic, strikethrough |
`code` |
Monospace font (Consolas) with a grey background |
[text](https://…) |
A clickable hyperlink (http, https and mailto only) |
- item, 1. item |
Bulleted and numbered lists, nested three levels and deeper |
> quote |
A left rule and indent |
| Code block | Light-shaded monospace paragraphs, lines and indentation kept |
| GFM table | A Word table with a bold shaded header row and :---: alignment |
--- |
A horizontal rule |
- [x] |
A list with ☑ / ☐ marks |
A numbered list that starts at 3. starts at 3 in Word, and every list restarts its numbering. With A4 paper and normal margins the text width is 9026 twips (about 15.9 cm); tables are fitted to it.
How images and links are handled
- Pictures are embedded only when they are data: URLs, like
(PNG, JPG, GIF or BMP, scaled down to the text width when larger). The format is detected from the content, not the label. - Pictures from external URLs such as
https://…or relative paths such as./a.pngare never fetched; they become[Image: alt]text. This tool does not connect to any address, so convert a picture to a data: URL if you need it in the document. - Links with other schemes (
javascript:,ftp:,file:and so on) keep their text but lose the link. - HTML tags inside Markdown are not interpreted as formatting. Only the text between the tags is kept, and the content of
<script>is dropped.
Checking the result
Before the download, the generated file is re-opened with a Word reader (mammoth) and the headings, paragraphs and table text are checked to be present in order; only a file that passes is saved. Fonts can still look different in Word: the font name is recorded in the file but not embedded, so a PC without it substitutes a similar font. Calibri ships with Office; the Korean fonts (Malgun Gothic, Batang) ship with Windows.
Related tools
To save a PDF instead, use Markdown to PDF; to just see how Markdown renders, use Markdown Preview. Open the result in DOCX Viewer, and for the opposite direction (Word to text or Markdown) use DOCX to Text.
Your text is processed in your browser only and is never sent to a server.