ASCII Mermaid Diagram Tool
Create beautiful Mermaid diagrams and export them as images. Enter your Mermaid code on the left and see the preview on the right.
Create beautiful Mermaid diagrams and export them as images. Enter your Mermaid code on the left and see the preview on the right.
ASCII Mermaid diagrams are text-based representations of Mermaid diagrams, perfect for documentation, terminal output, and anywhere you need diagrams in plain text format. This tool uses the beautiful-mermaid library to convert Mermaid syntax into beautiful ASCII art.
Simply enter your Mermaid diagram code in the input area on the left. The preview on the right will update in real-time, showing you the ASCII representation of your diagram. Use the Copy Text button to copy the diagram with custom indentation, or Export as PNG to save it as an image.
To master Mermaid diagrams, explore these resources:
Live previews of all 5 supported diagram types. Click "Load into editor" to try any example.
graph TD / flowchart LR — decision trees, process flows, pipelines
sequenceDiagram — message passing between participants
stateDiagram-v2 — state machines and lifecycle transitions
classDiagram — object-oriented class relationships and inheritance
erDiagram — entity-relationship database schemas