Markdown to PDF
Convert Markdown to a clean, paginated PDF — renders Mermaid diagrams, tables, and code blocks entirely in your browser.
120 words
Markdown → PDF
Write Markdown here, then download it as a PDF. Mermaid diagrams render as crisp SVG.
flowchart LR
A[Markdown] --> B{Render}
B -->|HTML| C[Preview]
B -->|Mermaid| D[SVG]
C --> E[Print to PDF]
D --> E
Features
- GitHub-Flavored Markdown — tables, task lists,
strikethrough - Mermaid flowcharts, sequence diagrams, and more
- Clean print layout with sensible page breaks
| Page | Size |
|---|---|
| A4 | 210 × 297 mm |
| Letter | 8.5 × 11 in |
Tip: keep diagrams and code blocks short so they fit on one page.
- Type or paste your Markdown
- Pick a page size
- Click Download PDF
PDF is produced via your browser print dialog — pick Save as PDF as the destination.
¿Qué es Markdown to PDF?
Markdown to PDF converts Markdown text into a clean, paginated PDF document you can download and share. It renders the full GitHub-Flavored Markdown vocabulary — headings, lists, tables, code blocks, blockquotes, links, and images — and turns fenced ```mermaid code blocks into crisp, scalable diagrams. Conversion runs entirely in your browser using a print-optimized layout, so your content never leaves your device.
Cómo usar Markdown to PDF
- Type or paste your Markdown into the editor on the left — the live preview updates as you type.
- Use a fenced ```mermaid code block to embed flowcharts, sequence diagrams, and more; they render as SVG in both the preview and the PDF.
- Choose a page size (A4 or Letter).
- Click Download PDF — your browser's print dialog opens. Pick "Save as PDF" as the destination to save the file.
Ejemplos
Project documentation
Entrada: A README with headings, a table, a code sample, and a Mermaid architecture diagram
Salida: A formatted multi-page PDF with selectable text and rendered diagrams
Shareable notes
Entrada: Meeting notes in Markdown with a task list and a sequence diagram
Salida: A printable PDF attachment
Errores comunes
- Blocking pop-ups — the PDF opens in a new tab, so allow pop-ups for this site.
- Expecting raw HTML or scripts in the Markdown to run — active content is stripped for safety.
- Using very wide tables or code lines and expecting them not to wrap in the fixed-width print layout.
Por qué usar esta herramienta
- Renders Mermaid diagrams as crisp, scalable SVG directly in the PDF.
- Full GitHub-Flavored Markdown — tables, task lists, strikethrough, and fenced code blocks.
- Everything runs in your browser — no uploads, no sign-up.
- A4 or Letter output with sensible page-break handling for code blocks and tables.