Text & data

Mind Map Maker

Write an outline with one idea per line and indent to branch. The mind map grows around the central topic, with coloured branches you can export as SVG or PNG.

  • Diagrams render locally in your browser. Nothing is uploaded to a server.
Preview loading Mermaid… fit
Loading the diagram renderer (about 5.6 MB, cached after the first visit)…

How it works

1

Pick a Template (essay planning, a project brainstorm or study notes) or start with the word mindmap on the first line.

2

Write the central topic on the next line, indented, as root((Topic)). Then add one idea per line, indenting deeper for each sub-branch.

3

Optionally change a node's shape with brackets: [square], (rounded), ((circle)), {{hexagon}}.

4

Pick a theme and download a PNG at 1× to 4× or an SVG, or copy the share link.

A mind map puts one idea in the centre and grows related ideas outward in branches. Typing it as an outline matches how most people brainstorm anyway: you list thoughts, then group them. In Mermaid the indentation is the structure. A line indented deeper than the line above becomes its child, and the layout engine spreads the branches around the root and colours each branch differently, so you only decide what goes where.

Mind Map Maker syntax cheat sheet

Structure

Mind maps have no arrows or ids. The text and the indentation are the whole language.

SyntaxMeaning
mindmapFirst line, at no indentation.
root((Topic))The single central node. Exactly one root is allowed.
BranchIndented deeper than the root: a first-level branch.
Sub-branchIndented deeper again: a child of the branch above.
Consistent indentationUse the same number of spaces per level. Siblings must line up exactly; the amount of indent matters only relative to the line above.
%% commentIgnored by Mermaid.

Node shapes

A shape is written around the text. With no brackets a node is drawn as plain text with a rounded background.

SyntaxMeaning
id[Square]Square corners.
id(Rounded)Rounded corners.
id((Circle))Circle, most often used for the root.
id))Bang((Bang shape with a spiky outline, for emphasis.
id)Cloud(Cloud shape.
id{{Hexagon}}Hexagon.
Plain textNo id or brackets needed; the id and the text are the same.

Styling and extras

These decorate a node. Check the note on icons: they need an icon font that this page does not load.

SyntaxMeaning
Line one<br/>Line twoBreak a long label onto two lines.
"`**Bold** and *italic*`"Markdown-style text inside a quoted string with backticks.
Node:::urgentAttach a CSS class to a node. The class has to exist in the page that displays the SVG, so it has little effect here.
Node::icon(fa fa-book)Asks for an icon from an icon font such as Font Awesome. This editor loads no icon fonts, so the icon does not show in the preview or the export; it does show on a site that loads the font.

Habits that make a mind map useful

  • Keep each node to a few words. A node is a prompt, not a sentence; the detail belongs in your notes.
  • Aim for three to seven branches off the root. If you have more, group some of them under a new branch.
  • Do not go deeper than four levels. Past that, the sub-branch should probably be a mind map of its own.
  • Brainstorm first, structure after. Type everything as one flat list, then indent to group it. Moving a line with its indented children is a cut and paste in a text editor.

Where the code renders

GitHub, GitLab and Obsidian can render a mind map from a fenced mermaid code block, and Notion can through a code block set to Mermaid. The mindmap diagram type is one of the newer Mermaid additions, so an older platform version may show an error instead of a drawing. If that happens, check the platform's Mermaid version or export a PNG or SVG from here and embed that. A PNG is also the safest choice for slides, documents and chat.

Text first, not drag and drop

This is a text-first mind map maker. There is no canvas where you drag a node to a new spot, no free-floating notes and no manual branch colours. The layout and the branch colours are automatic. That suits outlines and quick planning, and it means the map is a small text file you can keep with a project or a set of notes. If you want a hand-arranged, illustrated mind map, export the SVG and finish it in a drawing tool.

Export and sharing

Pick copy SVG or download SVG for a sharp vector file, or download PNG at 1×, 2×, 3× or 4× on a white, dark or transparent background. Share link compresses the code with lz-string and puts it in the URL fragment, the part after #, which browsers never send to a server. Your draft is saved in this browser's local storage, separately from the other diagram pages, so a refresh does not lose it. For other diagram types such as class, state, pie, timeline and git graph, use the full Mermaid editor.

Frequently asked questions

Frequently asked questions

How do I create branches?

Indent the line deeper than the line above it. Two lines with the same indentation are siblings; a line indented further is a child of the line above. Mind maps have no arrows to write; indentation is the structure.

Why do I get an error with more than one root?

A mind map has exactly one central node. If your outline starts with two top-level lines, wrap them under one root, for example root((Project)), and indent the rest beneath it.

Can I change the shape of a node?

Yes, by writing brackets around the text: [square], (rounded), ((circle)), ))bang((, )cloud( or {{hexagon}}. A node without brackets is drawn with the default shape.

Can I add icons to the nodes?

The syntax is ::icon(fa fa-book) on the line after a node, but it relies on an icon font such as Font Awesome being loaded by the page that shows the diagram. This editor loads none, so icons do not appear in the preview or in the exported SVG and PNG.

Is my mind map uploaded anywhere?

No. Everything runs in this page. The draft is kept in your browser's local storage, and a share link stores the map in the URL fragment, which browsers never send to a server.

Related tools