Part of Open Toolkit
More free tools
Pick and Tick

Maze generator

Free, no sign-up, no credit card. Runs in your browser.

Maze

12 by 16 squares. Click the maze, then use the arrow keys or the buttons to go from Start to Finish.

How hard
Paper for the PDF

The same size and number make the same maze again. Print and Download PDF both give the maze and an answer page.

How to make a printable maze

  1. Choose how hard, from Easy for ages 4 to 6 up to Expert, or type your own size.
  2. Press New maze until you like the look of one.
  3. Walk through it on screen with the arrow keys or the arrow buttons, or press Show the way.
  4. Press Print or Download PDF for the maze and its answer page.

What to know

Sizes for each age

  • Easy is 8 by 10 squares, with short, wide paths a young child can follow with a crayon.
  • Medium is 12 by 16 and Hard 20 by 26, for children who can plan a few turns ahead.
  • Expert is 30 by 40, with long dead ends, for older children and adults.
  • My own size takes anything from 4 to 60 squares across and down.

How the mazes are made

Each maze is carved by a method called the recursive backtracker. It starts in a corner, knocks through walls to squares it hasn't visited, and backs up when it gets stuck, until it has reached every square. That gives long, winding paths with exactly one way from Start to Finish and no loops, so there's always a single right answer.

The same maze again

Every maze has a number. The same size and number always make the same maze, so a whole class can solve the same one, or you can make it again next week. New maze picks another number.

What prints

The maze prints as large as fits on the page with Start over the way in at the top left and Finish under the way out at the bottom right. The second page is the answer, with the way through drawn in red. The PDF draws every wall as a line, so it stays sharp at any size.

If something goes wrong

The arrow keys scroll the page instead of moving

Click or tap the maze first, so it has the keyboard. On a phone or tablet, use the arrow buttons under the maze.

The dot won't move in a direction

There's a wall that way. Mazes have one way through, so try another turn. Moving back the way you came rubs out your trail.

Expert mazes are hard to draw on paper

Big mazes have small squares, about 6 mm on A4. Choose Hard for pencils, or print the Expert maze on bigger paper with your printer's scaling.

Questions

Are these mazes free to print for a class?

Yes. Make and print as many as you like, with no sign-up and no watermark.

Is there always a way out?

Yes. Every square is joined to every other by exactly one path, so the way from Start to Finish always exists and is the only one.

Can I show the answer?

Press Show the way to see the path through in red on screen. The answer page of the printout and the PDF shows it too.

Can the class solve it on the board?

Yes. Press Full screen, or F, then use the arrow keys or buttons. N makes a new maze.

Is anything kept or sent anywhere?

Your size and maze number are kept in this browser for next time. Nothing is sent anywhere. The maze is made on this page.

Something not working? Report a problem