</>
Andy Sciro

AndySciro

— Notes on Javascript & the web

Awesome free website for visualizing code! PythonTutor.com

26 Jul, 2026 Tools
Awesome free website for visualizing code! PythonTutor.com

Recently I was having trouble understanding some code. Specifically it was a leetcode solution that even though I read the solution a few times and watched a video it wasn’t sticking.

I came across this Python Tutor and pasted in a leetcode solution and pressed play. It scans the code and generates a visual debugged view of it! It’s also free and didn’t even require a signup. What I was most impressed with was the way it handled objects and recursion.

DFS visualization in Python Tutor

Give it a try at pythontutor.com and it’s not just for JavaScript, it also supports Python, C, C++, and Java.