Mermaid diagram generator
Turn an indented list into a Mermaid flowchart, hierarchy graph or mindmap definition.
Mermaid diagram generator
Paste an indented or bulleted list of items and this tool turns it straight into Mermaid diagram syntax, ready to drop into a README, a wiki page, Notion, or any editor with Mermaid support. Each level of indentation becomes a parent-child relationship, so an outline of a process, an org chart, or a folder structure becomes a diagram definition without hand-writing the node and edge syntax yourself.
Choose the diagram type first: flowchart and hierarchy graph both use Mermaid's node-and-arrow syntax (the difference is only which keyword opens the definition), while mindmap produces the nested, arrow-free layout Mermaid uses for radial mind maps. Direction (top-to-bottom, left-to-right, bottom-to-top, right-to-left) and connector style (arrow, dotted, thick) apply to flowcharts and hierarchy graphs. Node shape controls whether each item renders as a rectangle, a rounded box, a diamond, or a cylinder. Turn off auto-generated IDs to derive each node's identifier from its own text instead of a generic n1, n2, n3 sequence — useful when you want to read the raw syntax as easily as the rendered picture. Node numbering prefixes every label with its position in the list, and maximum nesting depth lets you cap how many indentation levels are included, dropping anything deeper.
Indentation can use tabs, spaces, or a leading bullet (-, *, •, +) — the tool measures relative indent width rather than assuming a fixed tab size, so mixed lists still nest correctly. Quotation marks, brackets, parentheses and other characters that would otherwise break Mermaid's syntax are automatically escaped in labels, so pasted text never produces invalid output. Windows (CRLF) and Unix (LF) line endings are handled the same way, and the live tally under the output reports lines in, nodes and edges produced, and total characters.
Everything runs locally in your browser — your outline is never uploaded anywhere. Copy the generated syntax, download it as a .txt file, or send the output back into the input to keep refining the structure before pasting it into your diagram tool of choice.