Turn Mermaid.js diagrams into exportable PDFs — flowcharts, sequence diagrams, Gantt charts, and more.
Start Converting →Mermaid.js has become the standard way to define diagrams in Markdown. Developers write flowcharts, sequence diagrams, class hierarchies, and Gantt charts as plain text inside code blocks, making them version-controllable and reviewable in pull requests. But when it comes to sharing those diagrams with stakeholders, clients, or team members who do not use Markdown editors, a PDF is the reliable universal format. PDFs render identically on every device, print without issues, and can be annotated with comments and highlights.
Our Mermaid to PDF converter brings these two worlds together. You write your Mermaid definitions in the same Markdown editor where you compose your documentation. The diagrams render live in the preview pane, so you see exactly how they will look. When you export to PDF, every diagram is embedded as a crisp vector graphic alongside your text, producing a professional document ready for distribution.
Directed and undirected graphs with multiple node shapes, subgraphs, links, and styling.
Actor interactions, messages, notes, loops, alt/opt fragments, and activation boxes.
Task timelines with dependencies, milestones, sections, and date formatting.
UML class relationships, inheritance, interfaces, state transitions, and composite states.
Basic familiarity with Mermaid helps, but the editor includes syntax examples and the live preview makes it easy to learn. You can start with simple flowcharts and gradually explore more advanced diagram types.
Absolutely. You can embed any number of Mermaid diagrams throughout your Markdown document. Each diagram renders independently, and the PDF export includes all of them.
Yes. The PDF generation captures the diagram as rendered in your browser, so any fonts available on your system or loaded via CSS will appear correctly in the output.
Since Mermaid sources are written as plain text, you can always return to the editor, modify the Mermaid code, and re-export. The source remains editable because it is text, not a binary drawing file.
Yes. Mermaid theme configuration and themeVariables are fully supported. You can customize colors, line widths, node styles, and more through the Mermaid configuration block at the top of your diagram definition.