_ _ _ | |_ ___ _ __ _ __ ___ __ _(_) __| | | __/ _ \ '__| '_ ` _ \ / _` | |/ _` | | || __/ | | | | | | | (_| | | (_| | \__\___|_| |_| |_| |_|\__,_|_|\__,_|
Render Mermaid diagrams as Unicode
termaid is an open source Python package that renders
Mermaid diagram syntax as Unicode text art.
Run it directly with uvx termaid or install with pip install termaid
to use it as a Python library.
This page runs termaid directly in your browser using Pyodide (Python compiled to WebAssembly). Click an example to see a pre-rendered preview, or hit Render to run your own Mermaid code live. The first render may take a few seconds to load the Python runtime.
Output is designed for monospace fonts.
Currently supports 9 of Mermaid's diagram types: flowcharts, sequence diagrams, class diagrams, ER diagrams, state diagrams, block diagrams, git graphs, pie charts, and treemaps. More coming soon.