Pathfinding Algorithm Visualizer
Step-by-step visualization of 6 grid pathfinding algorithms (BFS, DFS, Dijkstra, A*, Greedy Best-First, Bidirectional BFS) with selectable heuristics (Manhattan, Euclidean, Chebyshev, Octile), paintable walls and weighted cells, maze generators (recursive division, Prim, randomized DFS), diagonal-movement toggle, custom grid input (rows, cols, walls, weights), play / pause / step-forward / step-back controls, visited / path / distance counters, and shareable grid URLs. 100% client-side.
Step-by-step visualization of 6 grid pathfinding algorithms (BFS, DFS, Dijkstra, A*, Greedy Best-First, Bidirectional BFS) with selectable heuristics (Manhattan, Euclidean, Chebyshev, Octile), paintable walls and weighted cells, maze generators (recursive division, Prim, randomized DFS), diagonal-movement toggle, custom grid input (rows, cols, walls, weights), play / pause / step-forward / step-back controls, visited / path / distance counters, and shareable grid 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.