Write any recursive function, execute it, and watch the full call tree unfold — with step-by-step animation, memoization toggles, and node-level inspection.
Configure how the recursion visualizer runs: animation, memoization, theme, and more.
A complete toolkit for visualizing call stacks, subproblems, and execution flow.
Play through every recursive call in order, so you can see exactly how the recursion unfolds over time.
Start from curated recursion templates or write your own JavaScript function and parameters directly in the editor.
Toggle memoization on and off to compare total calls, memo hits, and performance for overlapping subproblems.
Pan, zoom, and click nodes in the recursion tree to inspect arguments, depth, and return values.
See total calls, depth, execution time, and final result, plus rich node details in the sidebar.
Ready to debug?
Start visualizing calls, subproblems, and base cases with an interactive recursion workspace.