Markdown to PDF & Word
Paste Markdown, see a live preview, and export to .pdf (matches the preview exactly) or .docx (editable in Word). Tables, code blocks, lists, GFM supported.
Project Brief
A quick demo of Markdown → PDF and Markdown → DOCX with a live, side-by-side preview.
Features
- Italics, bold,
inline code - Links
- Tables, lists, blockquotes, code blocks
- GitHub-Flavored Markdown (GFM)
Pricing table
| Plan | Users | Price |
|---|---|---|
| Starter | 1 | Free |
| Team | 10 | $29 / mo |
| Business | 50 | $99 / mo |
Code block
function greet(name) {
return `Hello, ${name}!`
}
Tip: PDF matches this preview exactly. DOCX gives you an editable file in Word, Google Docs, or LibreOffice.
- Edit on the left
- Preview on the right
- Pick PDF or DOCX, then click Convert
Files are processed on our server, deleted after 15 minutes, and never shared.
How Markdown to DOCX works
Markdown is the lingua franca of developer documentation. README files, blog posts, technical docs, design briefs, and meeting notes are almost always written in Markdown because the source is readable and the format renders well in every modern tool. But the rest of the world — clients, executives, lawyers, HR — wants finished documents: PDFs for sharing or Word files for editing. SwitchPDF's converter bridges that gap in one step.
The live preview on the right pane uses react-markdown with the remark-gfm extension, rendering as you type with the exact CSS that the PDF output will use. So what you see is what you'll get. When you click Convert to PDF, the server takes your Markdown, parses it through the same GFM pipeline, applies the same stylesheet (violet headings, bordered tables, dark code blocks, violet-accented blockquotes), and prints the result with headless Chrome. The PDF you download is visually identical to the preview, page-break-aware, A4-sized, and ready to send to anyone.
When you click Convert to DOCX, the server runs Pandoc — the gold-standard open-source document converter — against a custom reference template. The template defines style appearances for every Markdown construct: Heading 1–6 in violet with proper spacing, Body Text in Calibri 11pt, Source Code in Consolas with a light-gray background and violet left border, Block Text (blockquote) italicized in violet with a left accent bar, inline code in pink monospace. The result is a Word document that looks designed, not auto-generated.
Common use cases: converting a README to a styled PDF brief for a client; turning a blog post draft into a Word doc for an editor; sending technical documentation to non-technical stakeholders who want one file they can comment on; producing a printable report from internal Markdown notes; archiving documentation in a long-term-stable format.
How to use Markdown to DOCX
Paste Markdown or upload a .md file
Paste your Markdown directly into the editor, or drag-drop a .md file. A sample is pre-loaded so you can see the rendering working immediately.
Pick PDF or DOCX
PDF gives you a share-ready document that matches the preview exactly. DOCX gives you a styled Word file you can edit in Word, Google Docs, or LibreOffice.
Convert and download
Click Convert. PDF renders via headless Chrome; DOCX renders via Pandoc with a styled reference template. Both finish in a few seconds.
Frequently Asked Questions
What Markdown features are supported?+
PDF or DOCX — which one should I pick?+
Does the PDF really match the preview exactly?+
Does the DOCX output look styled or plain?+
Can I edit the DOCX in Word or Google Docs?+
How are code blocks rendered in DOCX?+
What's the maximum input size?+
Is the converter free?+
Related tools
APIs, tech stack, DNS, SSL & SEO for any URL
Beautify, minify and validate JSON
Convert JSON ↔ YAML both directions
Convert CSV ↔ JSON with type detection
Base64 with Unicode and URL-safe support
Decode a JWT and check its expiry