How to convert Mermaid to PDF
- Paste Markdown that contains a fenced Mermaid code block.
- Check the live preview for the rendered diagram.
- Download a clean PDF with the Mermaid diagram included.
Drop a JSON or TOON file here
or click here to choose a file
Supports .json, .toon, and .txt files
Drop a Markdown or PDF file here
or click here to choose a file
Supports .md, .markdown, .txt, and .pdf files
Drop a PDF here
or click here to choose a file
100% local
Mermaid to PDF converter
MarkDone renders Mermaid flowcharts, sequence diagrams, class diagrams, state diagrams, ER diagrams, and Gantt charts inside Markdown before exporting them to PDF. Everything runs on your device, so diagram source is not uploaded to a server.
Render common Mermaid syntax including flowcharts, sequence diagrams, class diagrams, state diagrams, entity relationship diagrams, and Gantt charts inside a Markdown document.
Use the live preview to check diagram size and readability before export. The current PDF export rasterizes Mermaid diagrams for compatibility, so concise diagrams usually fit and print more clearly than very dense or unusually wide diagrams.
Paste a diagram block by itself, or keep it inside a larger Markdown document when the PDF should include surrounding explanation.
```mermaid sequenceDiagram participant Client participant API participant Queue Client->>API: POST /exports API->>Queue: create PDF job Queue-->>API: job complete API-->>Client: download link ```
Create printable architecture notes, onboarding diagrams, API sequence explanations, release planning charts, ER sketches, and decision flows. This page is intentionally about visual Mermaid output, not generic prose-heavy Markdown documents.
No. Mermaid to PDF conversion runs locally in your browser. Your diagram source stays on your device.
MarkDone supports common Mermaid syntax including flowcharts, sequence diagrams, class diagrams, state diagrams, entity relationship diagrams, and Gantt charts.
Not yet. The current export uses the standard document PDF layout. Preview the diagram first and keep very wide diagrams concise for the best fit.
The current PDF export rasterizes Mermaid diagrams for compatibility. Simple diagrams usually remain clear, while very dense diagrams can appear smaller or softer.
Yes. Add a fenced mermaid code block inside Markdown, preview the full document, and export the diagram together with the surrounding content.