← All Tools

Sankey Diagram Builder

Type one flow per line as Source [value] Target and get a clean Sankey diagram with auto-laid columns, proportional node heights, and curved flow ribbons. Export as SVG or PNG. Everything runs in your browser.

Syntax

Each non-empty, non-comment line is one flow. Both of these forms work and can be mixed:

Salary [4500] Take-home
Take-home [1800] Rent
Take-home, 1200, Groceries
# lines starting with # are ignored

Names are case-sensitive. Cycles are rejected (a Sankey diagram is a directed acyclic flow). Column position for each node is its longest path from any source, so flows always read left-to-right.