Free Maze Generator
Build Your Own Maze
Choose a size, generate a maze, then play online or print.
How to Create Your Maze
- 1
Pick a size
Pick a preset — Small through Hardcore — or use Custom to set your own dimensions up to 100×100.
- 2
Generate
Hit Generate to create a unique maze instantly. Run it again for a completely different maze.
- 3
Play, print, or download
Solve with arrow keys or swipe, click Print for a clean printout, or Download SVG for a vector file.
Choosing the Right Size
20×20
Best for quick solves, kids, and simple printable mazes.
40×40
A balanced maze with more room to explore.
60×60
A bigger challenge for longer sessions or larger printouts.
80×80
A dense maze for experienced solvers.
100×100
The largest preset maze for serious maze fans.
Up to 100×100
Set exact dimensions using the Custom button.
Ways to Use Your Maze
🎮 Play online
Use arrow keys on desktop or swipe on mobile to solve the maze. A built-in timer and hint system keep it engaging for all ages.
🖨️ Print a maze
Click Print to send a clean single-maze page directly to your printer. Small mazes work great for kids; larger sizes suit older solvers.
📐 Download SVG
Save the maze as a vector file that scales to any size. Share it digitally or import it into documents and presentations.
🏫 Classroom activities
Generate a fresh maze for every student and print as many copies as you need. For worksheets with answer keys, see Free Maze Printables.
Maze Generator, Printable Mazes, and Maze Library
Three tools, each built for a different use. Choose the one that fits.
Maze Generator
Create a custom maze and decide whether to play, print, or download it.
Printable Mazes
A print-first worksheet tool with optional answer key pages.
Maze Library
Work through Maze Library collections and track your progress.
Frequently Asked Questions
- Is the maze generator free?
- Yes, completely free. No account required, no sign-up, no limits. Generate as many mazes as you like.
- Can I print the maze?
- Yes. Click the Print button to send the current maze directly to your printer. The output is a clean single-maze page.
- Can I print an answer key?
- The maze generator prints the current maze only — it does not produce answer key pages. For printable worksheets with an optional answer key, use Free Maze Printables at /printable-mazes.
- What maze sizes can I make?
- Choose Small (20×20), Medium (40×40), Large (60×60), Expert (80×80), or Hardcore (100×100) with one click. Use the Custom button to set exact dimensions up to 100×100.
- Can I play the maze online?
- Yes. Use arrow keys on desktop or swipe on mobile to move through the maze. A timer and hint system are included.
- Can I download the maze as an SVG?
- Yes. Click Download SVG to save a vector file of the current maze. SVG scales to any resolution, so it is suitable for printing at large sizes or embedding in documents.
- Can I use these mazes in my classroom?
- Yes. Generate a fresh maze for every student and print as many copies as you need — all free. For worksheets with answer key pages, see Free Maze Printables at /printable-mazes.
- How are the mazes generated?
- Every maze is built with a Growing Tree algorithm — a hybrid of depth-first search and Prim's algorithm. Larger mazes use more branching and loop carving to create genuine decision points instead of simple corridors.
- What is the difference between the Maze Generator and Printable Mazes?
- The Maze Generator creates a custom maze on demand — choose your size, then play, print, or download it. Printable Mazes (/printable-mazes) is a print-first tool that produces worksheet-style pages with optional answer keys.
Want a Maze Library challenge?
Use the Maze Library to work through curated maze collections and track your progress, or use Printable Mazes for worksheet-style printouts.