Maze Generator
Build a free printable maze in seconds — always solvable, with an answer key. Free, fast, and your settings never leave your device.
Difficulty controls "braiding" — a step after the maze is carved that knocks down a percentage of dead-end walls to create extra loops. More braiding removes dead ends and makes the maze easier; zero braiding leaves a pure branching tree with the most dead ends.
Free for personal and classroom use. Printed and downloaded mazes from the free tier carry a light "ZillaKit.com" watermark across the page. Premium removes the watermark, unlocks custom background uploads, and includes a commercial licence for selling or publishing your puzzles (books, worksheets, products).
How to use the Maze Generator
- Optionally type a title for your maze.
- Choose a grid size from 10 × 10 up to 40 × 40 — bigger grids make longer, harder mazes.
- Pick a difficulty: Easy adds more loops and fewer dead ends, Hard leaves a pure branching maze with many dead ends.
- Click Generate maze. The tool carves a guaranteed-solvable maze and marks the Start (S) and End (E) cells.
- Click Print maze + solution for a clean puzzle page followed by a separate solution page, or download either as a PNG image.
Why use ZillaKit's Maze Generator?
This maze generator is built for teachers, homeschool parents, tutors, and anyone who needs a fresh printable maze without digging through ad-cluttered pages. Everything runs directly in your browser using a recursive-backtracker algorithm — a depth-first carving technique that always produces a fully connected maze with exactly one path between any two cells before any extra loops are added, so every maze generated here is guaranteed solvable from start to end. Difficulty is controlled by "braiding," a post-processing step that knocks down a percentage of dead-end walls to open extra loops: higher braiding on Easy mode removes most dead ends for younger solvers, while Hard mode skips braiding entirely and leaves a pure branching tree packed with dead ends for a real challenge. Nothing you configure is uploaded anywhere — grid size, difficulty, and background choices are all computed and rendered locally. Print a clean puzzle page plus a separate answer-key page with the solution path highlighted, or export either as a PNG for worksheets, slides, or classroom handouts.
FAQ
Is every maze solvable?
Yes. The recursive-backtracker algorithm carves a spanning tree across the entire grid, which means every cell is reachable from every other cell before any braiding is applied. Braiding only adds extra connections, so the maze stays fully connected and a path from Start to End always exists.
What is braiding, and how does difficulty work?
Braiding is a step that takes a percentage of dead-end cells and knocks down one extra wall to a neighboring cell, turning some dead ends into loops. Easy applies a high braid percentage for a gentler maze with fewer dead ends, Medium applies a moderate amount, and Hard applies none, leaving the maximum number of dead ends for the hardest possible maze at that size.
Can I print an answer key?
Yes. Click "Print maze + solution" to send a blank puzzle page to your printer followed by a separate solution page with the correct path highlighted from Start to End, similar to an answer key.
Do my settings get uploaded anywhere?
No. The maze is generated and drawn entirely inside your browser with JavaScript. Your grid size, difficulty, and background choices are never sent to a server.