Mindmap Online Editor
Create mind maps from indented text with Mermaid online: root and branch shapes, nested ideas and live preview, then export PNG, SVG or PDF for free.
Try it
Edit the code; the preview updates as you type.
Rendering diagram…
What is a mindmap?
A mind map starts from one central idea and branches out into related topics. It is useful for brainstorming, note taking and planning, because the structure grows as you think.
Mermaid builds a mind map from indentation alone: write mindmap, then put each child one level deeper than its parent. Brackets around a node change its shape.
When to use it
- Brainstorming features, topics or campaign ideas
- Turning lecture or meeting notes into a structured overview
- Planning the outline of an article, course or talk
- Breaking a goal into projects and tasks
- Study and revision maps
Mermaid mindmap syntax
Every diagram of this type starts with mindmap.
| Syntax | Meaning |
|---|---|
mindmap | Declares a mind map; the first node below it is the root. |
Indentation | A node indented deeper than the line above becomes its child. |
id[Square] | Square node. |
id(Rounded) | Rounded node. |
id((Circle)) | Circle node, often used for the root. |
id))Bang(( | Bang (explosion) shape. |
id)Cloud( | Cloud shape. |
id{{Hexagon}} | Hexagon node. |
Plain text | A line without brackets is drawn with the default shape. |
More examples
Study notes with mixed shapes
mindmap
root((Photosynthesis))
[Inputs]
Sunlight
Water
Carbon dioxide
[Outputs]
Glucose
Oxygen
)Where(
ChloroplastsCommon mistakes and how to fix them
- Two nodes are at the root level.
- A mind map has exactly one root; indent everything else below it.
- Indentation mixes tabs and spaces, so branches attach to the wrong parent.
- Use spaces only, with the same number per level.
- Brackets inside the text break the shape syntax.
- Wrap the label in quotes, for example id["Budget (draft)"].
Export your mindmap
Download a PNG, SVG or PDF straight from the playground above. For more options, such as a 1x to 4x scale, a transparent background or copying the image, choose Open in editor and use the Export menu there. Export is free, needs no account and adds no watermark.
Frequently asked questions
How do I make a mind map in Mermaid?
Write mindmap on the first line, then the root idea, then each branch indented below the node it belongs to. The preview draws the radial layout for you.
Can I change the shape of a mind map node?
Yes. Wrap the text in brackets: [square], (rounded), ((circle)), {{hexagon}}, )cloud( or ))bang((. Give the node an ID before the brackets.
Can I turn notes or an outline into a mind map?
Yes. Any indented outline works: paste it below a mindmap line and make sure there is a single root. The AI assistant can also convert notes for you with your own API key.
Can I export the mind map?
Yes. Download PNG at up to 4x resolution, SVG, or PDF. Exports are free and have no watermark.