Perfect = tree
A “perfect” maze is just a spanning tree: there’s exactly one route between any two cells. That’s why carving a single extra wall break instantly creates a loop and multiple solutions.
Tip: Use a Seed to recreate the same maze later. Increase Braid % for fewer dead-ends (more loops).
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.
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.
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.
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.
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.
A “perfect” maze is just a spanning tree: there’s exactly one route between any two cells. That’s why carving a single extra wall break instantly creates a loop and multiple solutions.
Depth-first/backtracker mazes look snaky with long hallways, while Prim’s or Kruskal’s algorithms make bushier “cell” textures. Maze nerds can often guess the generator just by eye.
Type the same seed and you get the same maze—exactly how roguelike games and map editors share worlds. A short word is basically a shareable set of carving instructions.
In 1950, Claude Shannon built “Theseus,” a metal mouse that solved any electrified maze and remembered dead ends. It’s considered one of the first AI/robotics demos.
Hawaii’s Dole Plantation maze weaves nearly 2.5 miles of paths through 14,000 tropical plants and once held the Guinness record for largest permanent hedge maze.