Random Maze Generator
Create connected rectangular mazes with one route to the finish and a matching SVG answer path.
Your result
Ready when you are
Generate a connected maze with exactly one path between the entrance and exit.
How to use this tool
Create connected rectangular mazes with one route to the finish and a matching SVG answer path.
- Choose 3–40 rows and columns, then generate a maze.
- Enter at the top-left opening and exit at the bottom-right opening.
- Toggle the solution, print the displayed version or download its SVG.
About the results
The maze is generated as a spanning tree, so every cell is connected and paths are unique. Size is configurable; human difficulty, custom silhouettes and themed outlines are not graded or supplied.