Mind map
Parse an indented outline into nodes, coordinates, links, and SVG without image encoding.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Mind map
The line above summarises nodes, canvas size and depth; below are the geometry text, the Markdown outline and the SVG source. The same outline always produces the same map.
Paste an indented outline (one node per line, up to 600) to see the map
What this tool does
- Turn a meeting-notes or lecture outline into a map in one step: see the levels, node count and canvas size before deciding whether to split a branch.
- Hand the structure to someone else: JSON for programs, Markdown for documents and the FreeMind (.mm) text for desktop mind-map apps.
- Compare node width, row height, level gap and the three palettes to get a denser or airier map from the same outline.
Example
Input
根 子
Output
Mind map: 2 nodes · 2 levels deep · 1 leaf Layout: node width 160px · row height 38px · level gap 48px · canvas 392 × 50px Algorithm: nodes of a level are stacked top to bottom in post-order and each parent takes the midpoint of its first and last child; links are cubic Béziers from the parent right-centre to the child left-centre. Markdown outline: # 根 - 子 SVG source: <svg xmlns="http://www.w3.org/2000/svg" width="392" height="50" viewBox="0 0 392 50" role="img"> <g font-family="system-ui, -apple-system, sans-serif"> <path d="M 176 19 C 192 19 192 19 208 19" fill="none" stroke="#f59e0b" stroke-width="1.5" stroke-opacity="0.7" /> <g><rect x="0" y="4" width="176" height="30" rx="6" fill="#4d6bfe" fill-opacity="0.95" stroke="#4d6bfe" stroke-width="1" /> <g><rect x="208" y="4" width="160" height="30" rx="6" fill="#f59e0b" fill-opacity="0.16" stroke="#f59e0b" stroke-width="1" /> <text x="10" y="24" font-size="14" font-weight="700" fill="#ffffff">根</text></g> <text x="218" y="24" font-size="12" font-weight="400" fill="#1f2937">子</text></g> </g> </svg>
Real output with the defaults. The root box is node width × 1.1 = 176px wide and children are 160px; level one sits at x = 0 and level two at 160 + 48 (level gap) = 208; the canvas width is the right edge of the widest node plus 24px of padding, and the height is leaves × row height + 12.
Frequently asked questions
How are the levels computed?
In indent mode the leading whitespace is counted: one tab or two spaces per level (three spaces still count as level 1 because the division is floored). Markdown mode first matches "- / * / + / 1. " and then counts the indentation before it. mindmap mode counts the leading + / - characters plus the following indent. The first line is always the root.
Where are nodes placed?
x comes from the depth: depth × (node width + level gap). y uses a post-order walk: leaves are stacked top to bottom one row height apart and each parent takes the midpoint of its first and last child, so a parent is not necessarily level with its first child.
Can the depth skip a level?
No. A line indented more than one level deeper than the previous one is pulled back to previous + 1, so no node is ever left without a parent; from the second line onwards the depth is at least 1, which means a flush line becomes a child of the root.
What can I export?
Four things: the geometry text plus SVG source, the Markdown outline with the root dropped, JSON node data for further processing, and FreeMind .mm text where nodes are strictly nested and leaves are self-closing. Nothing is uploaded — just copy and use.
What are the limits?
At most 600 nodes; node width 60–600px, row height 18–160px, level gap 20–400px; in Markdown and mindmap mode a line that does not match the format is reported as an error instead of being dropped silently. Blank lines are ignored.
Keywords:mind mapSVG