> codebench_TOOL: HomeLOCAL-ONLY⌘K Switch

Mermaid Diagram

Tool guide

Render 20 Mermaid diagram types with pan/zoom, file I/O, and SVG/PNG export

Input: This tool processes input in your browser. Opening a Share link sends the diagram source in the URL to the site host. Privacy details. Check in Network (opens in a new tab)

Theme:
Template:
PNG:
Flowchart
Mermaid Code
Preview
Start typing to see a preview

Write Mermaid diagram code and see it rendered instantly. Supports 20 diagram types including flowcharts, sequence, class, state, Gantt, ER, pie, mindmap, timeline, user journey, git graph, C4 context, quadrant, XY chart, sankey, block, packet, kanban, architecture, and requirement. Features pan/zoom preview for large diagrams, drag-and-drop .mmd file loading, 4 themes with synced preview backgrounds, error line highlighting, PNG export with resolution options (1x-4x), and URL sharing. All rendering runs locally in your browser.

Browse Markdown tools

> codebench $Ctrl+Enter Run