Welcome

Instructions: Click and drag on grid to draw walls/weights. Press W to toggle between drawing walls and drawing weights. Click and drag start/goal to move them. Drawing walls/weights or moving the start/goal after an algorithm has visualized will instantly show the final result as you drag your mouse. Pick an algorithm and enjoy.
Get Started
About
Pathfinding Visualizer
keyboard_arrow_down
  • Breadth-First Search Algorithm
  • Dijkstra's Shortest Path First Algorithm
  • A* (A-Star) Search Algorithm
  • Depth-First Search Maze Generator
 
 Start Node 
 
 Goal Node 
 
 Wall Node 
 
 Weight Node 
 
 Unvisited Node 
 
 Visited Node 
 
 Shortest-path Node
Weight 5