Mind map maker
Lay out a mind map from indented text or a text|parent list: it returns the node tree, layout coordinates, connector paths, and SVG, Markdown and JSON output, with collapsible nodes.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Preview
The SVG below is rendered live from the layout coordinates; the same source appears in the result and can be saved as is.
Paste an indented outline to see the node tree, coordinates and SVG
What this tool does
- Paste an indented meeting note, reading list or product breakdown and get a mind map with real coordinates; save the SVG and drop it into a doc or slide deck.
- When a map gets big, collapse the secondary branches (type their text into the collapsed field) to inspect the trunk and the depth before trimming anything.
- Skip indentation entirely and use a "text|parent" list for flat data exported from a spreadsheet or outline tool.
Example
Input
Central topic Branch A
Output
Mind map: 2 nodes · 2 visible · 0 hidden by collapse Layout: node width 170px · row gap 36px · level gap 56px · canvas 420 × 48px · depth 2 levels Root: Central topic Markdown outline: # Central topic - Branch A Node detail (text @ depth · coordinates): Central topic @ 0 · (0, 0) Branch A @ 1 · (226, 0) SVG source: <svg xmlns="http://www.w3.org/2000/svg" width="420" height="48" viewBox="0 0 420 48" role="img"> <g font-family="system-ui, -apple-system, sans-serif"> <path d="M 195.49999999999997 0 C 210.75 0 210.75 0 226 0" fill="none" stroke="#f59e0b" stroke-width="1.5" stroke-opacity="0.7" /> <rect x="0" y="-14" width="195.49999999999997" height="28" rx="8" fill="#4d6bfe" fill-opacity="0.95" stroke="#4d6bfe" stroke-width="1.2" /> <text x="10" y="5" font-size="14" font-weight="700" fill="#ffffff">Central topic</text> <rect x="226" y="-14" width="170" height="28" rx="8" fill="#f59e0b" fill-opacity="0.14" stroke="#f59e0b" stroke-width="1.2" /> <text x="236" y="5" font-size="12" font-weight="400" fill="#1f2937">Branch A</text> </g> </svg>
Two lines give a root plus one child: x is depth × (node width + level gap) = 226, the root sits at the midpoint of its children, and the canvas is 420 px wide (right edge of the last node + 24 px padding). The SVG source in the result can be saved as a .svg file as is.
Frequently asked questions
How is the hierarchy detected?
In indent mode the leading whitespace decides: one Tab counts as two spaces and every two spaces is one level. A skipped level (say 0 to 6 spaces) is clamped to “previous level + 1” so the tree never gets holes. In list mode each line reads “text|parent” and a parent that cannot be found falls back to the root.
How does collapsing work?
Type node text into the collapsed field (separated by commas, semicolons or newlines). A collapsed node’s subtree no longer participates in layout and takes no height, while the parent is centred on its visible children; the stats report how many nodes were hidden and the Markdown outline tags collapsed entries with (collapsed).
What do the coordinates mean?
x = depth × (node width + level gap); y accumulates top-down over the visible nodes in post-order (each leaf takes one row gap) and a parent takes the midpoint of its first and last child. Defaults are 170 px node width, 36 px row gap and 56 px level gap — all adjustable, and the root is 1.15× wider.
Is there a node limit?
Up to 800 nodes per run (more raises too-many-nodes) because every node becomes an SVG element. Level gap, row gap and node width are range-checked (24–400 / 18–160 / 60–600) and out-of-range values raise an error instead of being silently clamped.
Is my data uploaded?
No. Parsing, layout and SVG generation all run in the browser with no network requests; there is no cloud storage and no share link.
Keywords:mind map