Red-Black Tree Visualizer
Step-by-step visualization of CLRS-style Red-Black tree insert and delete with full fix-up — every recolor and rotation labeled by case (insert cases 1-5, delete cases 1-6). Live five-property checklist with pass/fail (root black, no red-red, NIL black, equal black-height, valid colors), per-node red/black coloring, black-height display, in-order traversal, bulk insert, and shareable tree-state URLs. 100% client-side.
Step-by-step visualization of CLRS-style Red-Black tree insert and delete with full fix-up — every recolor and rotation labeled by case (insert cases 1-5, delete cases 1-6). Live five-property checklist with pass/fail (root black, no red-red, NIL black, equal black-height, valid colors), per-node red/black coloring, black-height display, in-order traversal, 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.