Convert GitHub Flavored Markdown to Word documents directly in your browser. No uploads required - everything happens client-side.
- GitHub Flavored Markdown Support: Tables, task lists, strikethrough, and more
- Client-Side Processing: No data sent to servers - complete privacy
- Drag & Drop: Easy file upload with drag-and-drop support
- Live Preview: See how your markdown will render
- Modern Interface: Clean, responsive design built with Bootstrap 5
- Multiple Input Methods: Upload
.mdfiles or paste markdown text directly
- ✅ Headers (H1-H6)
- ✅ Text formatting (bold, italic, strikethrough)
- ✅ Links and images
- ✅ Lists (ordered and unordered)
- ✅ Task lists with checkboxes
- ✅ Tables with headers
- ✅ Code blocks and inline code
- ✅ Blockquotes
- ✅ Horizontal rules
- ✅ Line breaks and paragraphs
- Visit the app: Go to https://benbalter.com/markdown-to-word/
- Add your content: Either upload a
.mdfile or paste your markdown text - Convert: Click "Convert to Word" to generate your document
- Download: Click "Download Word Document" to save the
.docxfile
- Node.js 18+
- npm or yarn
# Clone the repository
git clone https://github.com/benbalter/markdown-to-word-js.git
cd markdown-to-word-js
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run buildsrc/
├── index.ts # Main application entry point
├── converter.ts # Word document generation logic
├── markdown-parser.ts # Markdown parsing and HTML generation
└── styles.css # Custom styles (if needed)
- Build Tool: Vite
- Language: TypeScript
- UI Framework: Bootstrap 5
- Markdown Parser: marked.js with GFM support
- Word Generation: docx library
- File Handling: File API with drag-and-drop
- Chrome 80+
- Firefox 75+
- Safari 13+
- Edge 80+
This tool runs entirely in your browser. No markdown content or generated documents are sent to any server. All processing happens locally on your device.
- Large documents may impact browser performance
- Complex HTML within markdown may not convert perfectly
- Some advanced Word features are not supported
- Images must be web-accessible URLs (local images are not embedded)
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
MIT License - see LICENSE for details.
- word-to-markdown-js - Convert Word documents to Markdown (the reverse of this tool)