Mermaid Diagram Renderer (lite)
Write Mermaid text and get an SVG diagram drawn offline in your browser. It supports flowcharts, sequence, pie, gantt, ER, state and class diagrams, using its own layout rather than the full Mermaid library.
Use the tool
Why this tool exists
Mermaid is a handy way to keep diagrams as text next to your code, but rendering it usually means loading a large script from a CDN or running a build step. For a quick check of a README diagram, or in a setting where scripts from elsewhere are not allowed, that is more than you want.
This renderer draws a practical subset with a hand-written layered layout and runs fully offline in your page. It covers common syntax for the seven diagram types and reports what it cannot handle. It does not support themes, init directives, click links, icons or newer diagram types such as mindmap or timeline. Text widths are estimated, so very tight labels can differ slightly from the official renderer. Your diagram text is not uploaded anywhere.
How to use it
- Type or paste Mermaid text, starting with the diagram type such as flowchart TD or sequenceDiagram.
- Check the rendered diagram next to the editor and fix any syntax message.
- Adjust labels, shapes and links until the diagram reads well.
- Export the SVG for your documentation, or copy your Mermaid text into your README.
Frequently asked questions
Is this the official Mermaid?
No. It is an independent renderer for a subset of the syntax, with its own layout, so positions and spacing differ from the official one. For final documentation, check the diagram in the tool your platform uses.
Which features are missing?
Themes, init directives, click events and links, icons, markdown or maths in labels, and diagram types such as mindmap, timeline, journey, git graph, quadrant and C4. Unsupported lines are reported.
Does it need an internet connection?
No. After the page has loaded, rendering uses only code in the page and makes no network requests, so your diagram text stays on your device.