Maze Generator

Generate a random printable maze — pick a size, make a new one, and print.


Make a random printable maze

Choose a size — small (12×12), medium (20×20), or large (30×30) — and a brand-new maze is drawn instantly. Every maze is a perfect maze: there is exactly one path between any two cells, so there is always a single solution from the green start in the top-left corner to the red finish in the bottom-right corner. Press New maze for a fresh layout, or Print to send the current maze straight to your printer.

The maze is built with the recursive-backtracker algorithm, which carves long, winding corridors for a satisfying puzzle. Everything runs entirely in your browser — nothing is uploaded and no account is needed — so you can generate as many free maze worksheets as you like for kids, classrooms, parties, or a quick brain break.

FAQ

Does every maze have a solution? Yes. Each maze is a perfect maze with exactly one path between any two points, so you can always get from start to finish, and there are no loops or unreachable areas.

How do I print the maze? Click the Print button. The on-screen controls are hidden automatically when printing so the maze fills the page cleanly in black and white.

Can I change the difficulty? Use the size buttons — a larger grid means longer, more twisting paths and a harder puzzle. Small is great for young children, while large suits adults.

Is it really free and private? Yes. The generator runs 100% in your browser with no uploads, no sign-up, and no limit on how many mazes you create.

Related tools

Popular tools