AVL Tree Visualizer
Step-by-step visualization of self-balancing AVL tree operations — insert, delete, search, and in-order traversal — with live per-node balance factor badges, automatic imbalance detection, and the four rotations (LL, RR, LR, RL) animated as labeled steps. Double rotations (LR / RL) are split into their two single-rotation phases so you can follow each move. Side-by-side height comparison vs a plain BST on identical input, rotation-count statistics, cascading deletion rebalance, bulk insert, and shareable tree-state URLs. 100% client-side.
Step-by-step visualization of self-balancing AVL tree operations — insert, delete, search, and in-order traversal — with live per-node balance factor badges, automatic imbalance detection, and the four rotations (LL, RR, LR, RL) animated as labeled steps. Double rotations (LR / RL) are split into their two single-rotation phases so you can follow each move. Side-by-side height comparison vs a plain BST on identical input, rotation-count statistics, cascading deletion rebalance, bulk insert, 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.