N
NJHTools

Mind Map Maker

Type an indented outline and get a mind map that branches from a central idea, with live preview and SVG or PNG export. Free, no signup, and it runs in your browser.

Zoom
100%
Export
Mermaid code16 lines

Tab inserts spaces. Press Esc, then Tab, to move focus out. Autosaved in this browser.

PreviewLoading Mermaid…

Rendering…

Example mind map code

This is the Mermaid source loaded in the editor above. Copy it into a Markdown file inside a ```mermaid block and GitHub, GitLab, Notion or Obsidian will render it.

mindmap
  root((Product Launch))
    Marketing
      Blog post
      Social media
      Newsletter
    Engineering
      Feature freeze
      Load testing
      Release notes
    Support
      FAQ update
      Team training
    Sales
      Pricing page
      Demo script

Mind map syntax cheat sheet

SyntaxWhat it does
mindmapStart a mind map.
IndentationHierarchy comes from indentation: a deeper line is a child of the line above it.
root((Text))Circle node. Other shapes: [square], (rounded), ))bang((, )cloud(, {{hexagon}}.
Plain textA node with the default shape.
::icon(fa fa-book)Add an icon to the node above (needs the icon font on the page).

How to make a Mermaid mind map

  1. 1Start the code with mindmap.
  2. 2Write the central idea on the next line, for example root((Launch plan)).
  3. 3Indent child ideas beneath their parent, one per line.
  4. 4Change node shapes with brackets where you want emphasis.
  5. 5Export as SVG or PNG, or copy a share link.

Indentation is the structure

A Mermaid mindmap has no arrows. Each line is a node, and its indentation relative to the line above decides its parent, just like a bulleted outline.

Use consistent indentation, such as two or four spaces per level. Uneven indentation is the most common reason a node attaches to the wrong parent.

Node shapes

Plain text gives the default shape. id[Text] is a square, id(Text) rounded, id((Text)) a circle, id))Text(( a bang, id)Text( a cloud and id{{Text}} a hexagon.

Use one distinctive shape for the root and plain nodes elsewhere so the centre stands out.

From outline to map

Because the source is an outline, you can paste notes from a document, indent them, and get a map in seconds. That makes mind maps useful for brainstorming, study notes and planning.

Keep each node to a few words; long sentences make branches crowd each other.

Frequently Asked Questions

How do I make a mind map in Mermaid?↓

Start with mindmap, put the main topic on the next line, then indent subtopics beneath it. Deeper indentation creates deeper branches.

Why is my node attached to the wrong branch?↓

The indentation is inconsistent. Make sure each child is indented further than its parent and siblings share the same indentation.

Can I change the shape of the central node?↓

Yes. Wrap the text in brackets, for example root((Main idea)) for a circle or root{{Main idea}} for a hexagon.

Will this diagram render on GitHub, GitLab or Notion?↓

Yes, all three render Mermaid. On GitHub and GitLab, put the code in a fenced code block that starts with ```mermaid. In Notion, add a code block and set its language to Mermaid. Hosted platforms may run an older Mermaid version, so very new syntax can fail there.

How do I export the diagram as PNG or SVG?↓

Use the export buttons above the preview. SVG stays sharp at any size and suits docs and slides; PNG is a raster image that works anywhere images are accepted. Both are created in your browser.

How does sharing work, and is my diagram private?↓

The share link stores your diagram code in the URL hash, the part after #, which browsers do not send to servers. Nothing is uploaded, and your work is autosaved in your own browser. Anyone with the link can see the diagram, so share it only with people you trust.

Last updated: