New-user priceNew-user price for your first hour after signing up
PuzzleMake

Maze Generator: Printable Shaped Mazes

Maze generator: square, circle, heart, diamond, star and tree mazes in four sizes, each with one solution path. Print a vector PDF with the answer key, free.

Single puzzles free · KDP book interiors from $1.99

Finished puzzle pageIts answer key
Real output: a heart maze and its solution path.Download this sample PDF

212 cells · the solution passes 96 cells

The PDF has the puzzle and its answer key. Free PDFs carry a small "Made with PuzzleMake.org" line.

Make a whole KDP puzzle book

Maze generator for printable mazes: choose a shape and a size and get a maze with one solution, drawn as a sharp vector PDF with the solution path on the next page. Shapes: square, circle, heart, diamond, star and Christmas tree.

The sample beside the title is a real heart maze from this maze generator (380 squares; the solution passes 140 of them) and its answer key.

Maze sizes and shapes

DifficultyGridTypical age
Easy10 × 104–6
Medium18 × 186–9
Hard28 × 2810 and up
Expert42 × 42adults

Shapes are cut from the same grid, so a heart or circle maze keeps the same corridor width. The entrance is always on the top edge and the exit on the bottom edge, chosen so the path between them is long.

How the maze generator makes a maze

It carves corridors with a randomized depth-first search, which gives the long, winding passages people expect from a printed maze rather than lots of short dead ends. Then it finds the one route from the entrance to the exit for the answer key. Press New layout for another maze of the same shape and size.

Printable mazes for books and classrooms

Teachers print one for early finishers; parents print a heart maze for Valentine’s Day; puzzle-book publishers need dozens. For a book, the KDP puzzle book maker lays out 12–200 mazes (square or mixed shapes) at 6×9 or 8.5×11 with solutions four or six to a page. If you prefer numbers, try the sudoku generator.

Maze generator FAQ

Does every maze have exactly one solution?

Yes. The mazes are “perfect”: there is exactly one path between any two squares, so there is one way from the entrance to the exit, and it is drawn on the answer page.

Can I use the mazes in a book I sell?

Yes, mazes you make here can go in books and worksheets you sell. For a whole Amazon KDP book with page numbers and a solutions section, use the KDP puzzle book maker.

Which maze size should I pick for children?

Easy (10×10) suits ages 4–6, Medium (18×18) ages 6–9, Hard (28×28) older children and adults, Expert (42×42) patient adults. Shaped mazes have a few more squares than the name suggests.

Pick a shape in the maze generator above and print your first maze.

Last updated: 2026-12-01