A simple, elegant web utility that converts Microsoft Word document content into clean Markdown format. Perfect for technical writers, bloggers, and anyone who needs to convert formatted content from Word to Markdown quickly.
- Preserves Formatting: Maintains headings, bold, italic, links, lists, and other common formatting
- Cleans Word Junk: Automatically removes Word's messy HTML, inline styles, mso- classes, and XML metadata
- Smart Bullet Points: Detects and converts various bullet characters (•, ●, ○, –, etc.) to proper Markdown lists
- Live Preview: Switch between raw Markdown and rendered HTML preview
- One-Click Copy: Copy the converted Markdown to your clipboard instantly
- Download Option: Save your converted content as a .md file
- Real-time Stats: See character, word, and line counts as you work
- No Installation: Runs entirely in your browser - no server required
- Open
index.htmlin your web browser - Copy formatted content from your Word document
- Paste it into the left text area
- The converter automatically:
- Captures Word's HTML formatting
- Strips out unnecessary markup
- Converts to clean Markdown
- View the result in Markdown or Preview tab
- Click "Copy" to copy to clipboard or "Download .md" to save as a file
The converter uses two powerful libraries:
- Turndown.js - Converts HTML to Markdown
- Marked.js - Renders Markdown as HTML for preview
When you paste from Word:
- The paste event handler captures Word's HTML formatting from the clipboard
- Custom cleaning functions remove Word-specific markup (mso- classes, inline styles, XML tags)
- Turndown.js converts the cleaned HTML to Markdown
- Additional post-processing handles bullet points and line breaks
- Marked.js renders the preview on demand
- Headings (H1-H6)
- Bold and Italic text
- Links
- Bullet lists
- Numbered lists
- Code blocks
- Blockquotes
- Tables (basic)
Created by NotHans