Maze Generator
Generate a random maze at any grid size, then export it as a printable PDF with a solution page showing the correct path.
About the Maze Generator
A maze generator creates a random maze at any grid size you choose, from the top-left entrance to the bottom-right exit, then lets you export it as a printable PDF with a solution page showing the correct path.
How to use
1
Set your desired maze width and height in cells.
2
Click show solution to preview the path, or leave it hidden for a challenge.
3
Download the maze as a PDF, which includes a second page with the solution path highlighted.
Frequently asked questions
Is every generated maze guaranteed to be solvable?
Yes, the generation algorithm builds the maze by carving a single connected path through every cell, so there's always exactly one route from entrance to exit.
What's the largest maze size I can generate?
Grid size is capped at 40 by 40 cells, which keeps both the on-screen preview and the printed PDF readable.
Explore more tools in the Educational category.