Maze generator

Create your own printable maze worksheets in a few simple steps. Choose a maze type, set the size and shape, pick a maze style, and decide where the start and finish should be. Generate a new maze whenever you want, then print it or save it as a PDF. These maze puzzles are great for kids’ activities, classroom practice, logic games, quiet time, and fun problem-solving exercises at home or school.

Title
Add name and date lines
Add instruction
Choose shape
Rectangle
Square
Circle
Star
Triangle
Hexagon
Heart
Diamond
Crescent
Pentagon
Cloud
Custom
Maze Difficulty
Medium
Maze Grid
Square grid
Maze Style
Winding paths
Start and Finish
Bottom to top
Arrow guides
Grid line color
Solution line color
Paper format
A4
Orientation
Portrait
FREQUENTLY ASKED QUESTIONS
What is the difference between Maze shape and Maze grid?
Maze shape controls the outer outline of the maze, such as a rectangle, circle, star, heart, house, animal, or another silhouette.
Maze grid controls the structure of the paths inside that shape. For example, the same house-shaped maze can be built with a square grid, triangle grid, hexagon grid, or circular grid.
What Maze grid types are available?
The generator supports several grid types:
Square grid creates classic mazes with horizontal and vertical paths.
Triangle grid creates sharper, angled paths based on triangular cells.
Hexagon grid creates honeycomb-like paths with more directions.
Circular grid creates ring-based mazes that work well for round puzzles and center-focused paths.
Which Maze grid should I choose?
Choose Square grid for a classic printable maze.
Choose Triangle grid or Hexagon grid for a more unusual geometric look.
Choose Circular grid for round mazes or puzzles where the path leads toward the center.
What does Maze difficulty change?
Maze difficulty controls how detailed the maze is.
Easier mazes use fewer cells and are simpler to solve. Harder mazes use more cells, creating longer paths, more turns, and more dead ends.
For shape-based mazes, difficulty controls the amount of maze detail inside the selected shape.
What is Maze style?
Maze style changes how the paths are generated. Different styles create different maze patterns, such as long corridors, dense branches, winding paths, or row-based layouts.
What Maze styles are available?
The generator includes several maze styles based on common maze generation algorithms:
Diagonal paths — based on the Binary Tree algorithm.
Side paths — based on the Sidewinder algorithm.
Random maze — based on the Aldous-Broder algorithm.
Smooth random maze — based on Wilson’s Algorithm.
Long corridors — based on the Hunt-and-Kill algorithm.
Winding paths — based on the Recursive Backtracker algorithm.
Branching maze — based on Kruskal’s Algorithm.
Dense maze — based on Simplified Prim’s algorithm.
Balanced maze — based on True Prim’s algorithm.
Row-by-row maze — based on Eller’s Algorithm.
Which Maze style is best for printable worksheets?
Winding paths is a good default choice for most worksheets. It creates clear, interesting mazes with twisting paths.
For simpler-looking mazes, try Long corridors.
For more complex-looking mazes, try Dense maze or Branching maze.
What does Start and finish mean?
Start and finish controls where the maze begins and ends.
Bottom to top places the entrance near the bottom and the exit near the top.
Left to right places the entrance on one side and the exit on the opposite side.
Longest path tries to create a longer route through the maze.
Edge to center tries to guide the path from the outer edge to an inner opening.
No start or finish creates a maze without entrance and exit markers.
When should I use Edge to center?
Use Edge to center for circular mazes or shapes that have an inner opening, such as a ring, frame, donut, or shape with a clear empty space inside.
If the selected shape does not have a usable inner opening, this option may not work.
Why do some shapes work better than others?
Some shapes have wide, clear areas that are easy to turn into a maze. Other shapes may have very thin parts, small details, or disconnected areas.
Simple shapes usually work best. Very detailed silhouettes may need a lower difficulty level or a different shape.
Why do I see a message that this shape cannot create a solvable maze?
Some shapes cannot create a valid path. This can happen when the shape has disconnected parts, very narrow areas, or no usable inner opening for an edge-to-center maze.
If this happens, please choose a different shape.
Can I create an answer key?
Yes. The worksheet can include an answer key showing the correct path through the maze. This is useful for teachers, parents, and printable activity pages.
Are the mazes generated automatically?
Yes. Each maze is generated automatically based on the selected settings. Click New maze to create another version with the same options.
What script is this maze generator based on?
This maze generator is based on the open-source codebox/mazes project by Codebox.
You can also view the original maze generator demo on codebox.net.
The original project is a JavaScript maze generator that supports square, triangular, hexagonal, and circular grids, along with several common maze generation algorithms.
The source code is available on GitHub and is licensed under the MIT License.
What license applies to the mazes I create here?
The maze worksheets generated with this tool are released by us into the public domain.
You may use the generated mazes for personal, educational, classroom, nonprofit, or commercial projects without asking for permission.
Can I use the generated mazes in my own projects?
Yes. The mazes generated with this tool are released into the public domain by us.
You can print them, share them, use them in classroom materials, include them in activity books, or use them in commercial projects.
Do I need to credit Supercoloring or the original script author?
Credit is appreciated but not required for the maze worksheets generated with this tool.
The tool itself is based on open-source code licensed under the MIT License, and we provide attribution to the original project in this FAQ.