Random Maze Generator (Printable)
About the Random Maze Generator
This tool creates printable mazes you can use in classrooms, puzzle books, game nights, or rainy-day activities. Everything runs 100% client-side in your web browser—no uploads, no tracking—so it’s private and fast wherever you are. Choose the grid size (width × height), set a cell size for how large the maze appears on paper, pick your entrance and exit, and generate as many variations as you like. You can print directly, or export a clean PNG or PDF for sharing.
How the generator works
By default, the maze is a perfect maze: there’s exactly one route between any two cells. We build it using the classic recursive backtracker (an iterative depth-first search). If you’d prefer a more open feel with fewer dead ends, increase the Braid %. Braiding removes a portion of dead ends to create loops, which can make mazes friendlier for younger solvers or better for timed races.
Difficulty and sizing tips
- Smaller grids (e.g., 15×15 with larger cells) are ideal for children or quick warm-ups.
- Medium grids (25×25) balance challenge and printability on A4/Letter paper.
- Large grids (40×40 and up) create long, twisty paths—great for puzzle enthusiasts.
- Turn on “Overlay solution path” to show or hide the shortest route for answer keys.
Reproducible results with seeds
Want to recreate a specific maze later or share the same puzzle with a group? Enter a Seed (any text) before you click New Maze. The same seed and settings will generate the same maze again, which is perfect for homework sheets, competitions, or QR-linked challenges.
Exporting and printing
Use Save as Image for a high-resolution PNG or Save as PDF for tidy handouts. The canvas is drawn with crisp lines and a bold border so mazes look sharp on home and office printers. For classroom sets, consider generating multiple seeds at the same size so students receive different puzzles at the same difficulty level.
Who it’s for
Teachers, parents, therapists, and puzzle fans use mazes for focus practice, fine-motor skills, spatial reasoning, and just for fun. Whether you need a quick printable maze or a themed activity for events and clubs, this generator keeps it simple, private, and ready to go—anywhere with a browser.