Free tool
Maze generator
Make a unique, guaranteed-solvable maze in one click. Choose the size, the difficulty and even a heart or star shape, then download a crisp vector PDF with the answer key. Every maze carries a seed in the URL, so you can reprint the exact same puzzle — or share the link — any time.
Sets the algorithm, size and braiding.
Backtracker = long corridors; Prim's = more dead ends.
Opens dead ends into loops. 0% = one true path.
Mask the maze to an outline. Needs ~17×17+.
Where the green and red markers sit.
The same seed always reproduces this exact maze.
- Cells
- 10×10
- Dead ends
- 4
- Solution length
- 34 steps
- Printed cell
- 19 mm
Every maze is guaranteed solvable — a perfect maze has exactly one path between start and finish. The download is a two-page vector PDF: the puzzle, then the same maze with the solution overlaid.
How the generator works
The easy and medium presets use the recursive backtracker algorithm, which carves long, winding corridors that are easy to follow. The hard preset uses Prim’s algorithm, which grows the maze from many points at once and leaves a dense tangle of short dead ends. The braiding control then opens a chosen fraction of those dead ends to create easier alternate routes — 0% braiding gives a perfect maze with exactly one solution.
Why the seed matters
Generation is deterministic: the same seed, size, algorithm and shape always produce the identical maze. That is what lets the answer key match the puzzle, and it means a printed maze can be reprinted exactly from its seed. Note the seed in the footer of any PDF to reproduce it later.
Frequently asked questions
Is the maze generator free?
Yes — generate and download as many mazes as you like, free for home and classroom use, with no signup.
Are the generated mazes solvable?
Always. A perfect maze is a spanning tree with exactly one path between any two cells, and the generator verifies a valid solution before showing the maze.
Can I make a shaped maze?
Yes — turn on shape masking and pick a heart, star, pumpkin or Christmas tree. Shaped mazes need a grid of about 17×17 or larger.
What do I download?
A two-page vector PDF sized exactly to Letter or A4: the puzzle on page one, the same maze with the solution path overlaid on page two.