Solve any maze online
MazeWalker is a maze solver and player in one. Solve a maze yourself, watch the optimal shortest-path solution replay step by step, or scan a maze from a photo and let MazeWalker find the way out.
Watch the optimal solution
MazeWalker computes the shortest path through a maze with a breadth-first search and can replay it move by move. It's the fastest way to check your route, learn a tricky maze, or just see how the perfect run looks.
Two classic ways to solve a maze by hand
- Wall followerKeep one hand on the same wall the whole way. It always reaches the exit of any maze whose walls are connected — the case for every maze MazeWalker generates.
- Breadth-first searchExplore every reachable cell in rings outward from the start; the first time you touch the exit, you've found the shortest path.
Solve a maze from a photo
Stuck on a maze in a book or worksheet? Take a photo, upload it, and MazeWalker scans it into a playable grid using computer vision. From there you can solve it yourself or watch the auto-solver trace the route. Start by generating or scanning a maze.
Frequently asked questions
- How do I solve a maze?
- The wall-follower rule (keep one hand on the same wall) solves any maze whose walls are all connected. For the shortest path, a breadth-first search explores outward from the start until it reaches the exit.
- Can MazeWalker solve a maze for me?
- Yes. MazeWalker can compute and replay the optimal solution to any maze it knows, so you can watch the shortest path step by step.
- Can I solve a maze from a photo?
- Yes. Upload a photo of a maze and MazeWalker scans it into a grid, then you can solve it yourself or watch the auto-solver trace the path.
- What's the fastest way to get better at mazes?
- Scan ahead for long corridors, avoid obvious dead ends, and when stuck use the wall-follower rule. Watching the optimal replay teaches you the patterns.