Binary Search Tree (BST) Visualizer
Step-by-step visualization of Binary Search Tree operations — insert, delete (all 3 cases: leaf, one child, two children + successor), and search — with animated comparison path. All four traversals (in-order, pre-order, post-order, level-order) with synchronized node highlighting and output. Live height, node count, balance factor per node, degenerate-tree warning for sorted input, successor / predecessor highlighting, bulk insert from a list, and shareable tree-state URLs. 100% client-side.
Step-by-step visualization of Binary Search Tree operations — insert, delete (all 3 cases: leaf, one child, two children + successor), and search — with animated comparison path. All four traversals (in-order, pre-order, post-order, level-order) with synchronized node highlighting and output. Live height, node count, balance factor per node, degenerate-tree warning for sorted input, successor / predecessor highlighting, bulk insert from a list, and shareable tree-state URLs. 100% client-side. Everything runs locally in your browser — your data never leaves your device.
How to use
- Enter your input in the tool above.
- Adjust any options to your preference.
- Use the Copy or Download buttons to save the result.
- Everything happens locally — your data never leaves your browser.