Pipeline: Markdown → HTML → exports. Pick a theme (report, blog, minimal), margins, fonts, optional header/footer, auto TOC, and highlighted code blocks before you download.
Last Updated: 15 Feb 2026
Write Markdown, preview styled HTML, then download PDF (canvas-based) or DOCX (structured Word file). Syntax highlighting uses Highlight.js; optional print view adds page numbers via CSS when your browser supports paged margin boxes.
Preview loads in the browser.
Markdown to PDF & DOCX helps you pipeline: markdown → html → exports. pick a theme (report, blog, minimal), margins, fonts, optional header/footer, auto toc, and highlighted code blocks before you download. It is commonly used by professionals, students, general users for markdown to pdf, markdown to docx, md to pdf.
How to Export Markdown
- **Write or paste** Markdown in the editor (headings, lists, tables, fenced code, blockquotes, images).
- **Choose a theme** — Professional report, Blog article, or Minimal — plus body font and page margins.
- **Optional header/footer** lines appear in preview, PDF, and DOCX (DOCX can also add Word page-number fields in the footer).
- **Preview** updates as you type; code blocks use Highlight.js themes.
- **Download PDF** (canvas-based, local) or **DOCX** (structured Word file, local).
Print & Page Numbers
Use Print / Save as PDF for browser-native pagination with CSS page counters when supported. The one-click Download PDF path uses html2pdf.js and does not draw running page footers on every canvas page.
Privacy
Parsing and conversion run in your browser. Nothing is uploaded for this tool.