Visualizers

Mermaid Mind Map Editor

Brainstorm with indentation. Each deeper line becomes a branch of the line above it.

  • Runs in your browser
  • Instant results
  • Free, no sign-up
Loading the tool…

How to use the Mermaid Live Editor

  1. Write the central topic under "mindmap", then indent the ideas around it.
  2. Indent further for sub-ideas and change node shapes with brackets.
  3. Download SVG or PNG, copy the Markdown block, or copy a share link.

Frequently asked questions

How does a Mermaid mind map know the levels?

By indentation. A line indented more than the one above it becomes its child. Use spaces consistently.

How do I change the shape of a node?

Wrap its text: [square], (rounded), ((circle)), ))bang((, )cloud( or {{hexagon}}. Plain text gets the default shape.

Can I use a mind map for notes or study plans?

Yes. Mind maps work well for topic overviews, study plans, project brainstorming and meeting notes, and the text stays easy to edit later.

Where can I use the exported mind map?

Download it as SVG or PNG for slides and documents, or copy the Markdown block for GitHub, GitLab, Notion and other tools that render Mermaid.

Syntax cheat sheet

CodeWhat it does
mindmapStart a mind map
root((Topic))The central node (here a circle)
IdeaA branch: indentation sets the level
[Square] (Rounded) ))Bang(( {{Hexagon}}Node shapes
::icon(fa fa-book)An icon on the node above

Practice Python with coding challenges

Solve hands-on problems right in this editor: run the sample tests, submit, and get an AI code review.

All Python challenges
Easy

Rectangle Perimeter

Compute the perimeter of a rectangle from its sides.

You'll learn ArithmeticReturn values
BeginnerLearning-pathVariables
Easy

Distance Between Points

Compute the straight-line distance between two points.

You'll learn Pythagorean theoremSquare roots
BeginnerFunctionsLearning-pathmath
Easy

Average of Three

Average three whole numbers.

You'll learn ArithmeticDivision
BeginnerLearning-pathVariables
Easy

Prime Number Check

Decide whether a number is prime.

You'll learn DivisibilityLoop optimization
BeginnerLoopsNumbersStudent-beginner
Easy

Dot Product of Two Vectors

Multiply two vectors element by element and add the results: the core operation of every neuron.

You'll learn VectorsDot product
Neural networksaimachine learning
Easy

Days in a Month

Return how many days a month has, including leap years.

You'll learn Calendar rulesHelper functions
BeginnerConditionsFunctionsLearning-path
Easy

Count Uppercase Letters

Count the capital letters in a text.

You'll learn Character checksCounting
BeginnerLearning-pathStrings
Easy

Celsius to Fahrenheit

Convert a temperature from Celsius to Fahrenheit.

You'll learn FormulasOperator precedence
BeginnerLearning-pathVariables
Easy

Min and Max Together

Find the smallest and largest value in one pass.

You'll learn Single passMultiple return values
ArraysBeginnerFunctionsLearning-path
Easy

Largest of Three

Pick the largest of three numbers without a built-in max.

You'll learn ComparisonsCombining conditions
BeginnerConditionsLearning-path
Easy

Swap First and Last

Exchange the first and last items of a list.

You'll learn List indexingSwapping
ArraysBeginnerLearning-path
Easy

Password Rules Check

Check a password against simple strength rules.

You'll learn ValidationBoolean flags
BeginnerConditionsLearning-pathStrings