Trie (Prefix Tree) Visualizer
Step-by-step visualization of a Trie (prefix tree) — insert, search, delete (with node pruning), and autocomplete — with animated character path, end-of-word markers, and shared-prefix highlighting. Live node count, word count, and space-savings metrics showing how shared prefixes save memory. Longest-common-prefix display. Optional compressed (radix / Patricia) trie view. Bulk insert from a word list. Step / reverse / play / speed controls and shareable state URLs. 100% client-side.
Step-by-step visualization of a Trie (prefix tree) — insert, search, delete (with node pruning), and autocomplete — with animated character path, end-of-word markers, and shared-prefix highlighting. Live node count, word count, and space-savings metrics showing how shared prefixes save memory. Longest-common-prefix display. Optional compressed (radix / Patricia) trie view. Bulk insert from a word list. Step / reverse / play / speed controls and shareable 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.