Maze Generator
Generate printable mazes online for free. Recursive backtracker or Prim’s algorithms, 10x10 to 40x40 sizes, difficulty braiding, seeded reproducibility, a solution key, and SVG/PNG export.
Loading tool...
What is Maze Generator?
The Maze Generator carves printable mazes in your browser with the recursive backtracker or randomized Prim’s algorithm. Sizes run from 10 by 10 to 40 by 40 cells, difficulty braids dead ends open or closed, a seed makes every maze reproducible and shareable, and an optional orange line shows the unique corner-to-corner solution before you export crisp SVG or PNG.
Key Benefits
- Unlimited printable puzzles for any audience
- Two classic algorithms with distinct maze character
- Seeded reproducibility for sharing exact mazes
- Solution key you can toggle before exporting
- Private and instant - everything runs in the browser
Common Use Cases
- •Printing classroom activities and party puzzles
- •Building puzzle books or activity packs
- •Creating game assets for tabletop or digital projects
- •Keeping kids busy on road trips with fresh mazes
How to Generate a Printable Maze
- Pick algorithm and size: Choose the backtracker or Prim’s algorithm and a maze size from 10 to 40 cells.
- Set difficulty and seed: Choose easy, medium or hard braiding, and set a seed to reproduce the maze later.
- Preview and solve: Toggle the solution line to check the maze has one clear path corner to corner.
- Export for printing: Download the maze as SVG or PNG and print it for solvers.
Key Features
- Recursive backtracker and randomized Prim’s generation
- Sizes from 10 by 10 up to 40 by 40 cells
- Easy, medium and hard dead-end braiding
- Seeded reproducibility - share a seed to share a maze
- Optional orange solution overlay
- Crisp SVG and PNG exports ready for printing