Free Printable Maze Generator

Create free printable mazes for kids, classrooms, puzzle books, and games. Choose the size, difficulty, entrance and exit, show the solution path, then download your maze as a PDF or PNG.

Want to play instead of print?

You can print out your maze anytime!

Open Playable Maze

Maze

Maze — 25 × 25
Start: ● End: ★

Settings

Difficulty presets

Tip: Use a Seed to recreate the same maze later. Increase Braid % for fewer dead-ends (more loops).

Advertisement

Maze Generator with Solution

Need an answer key? Turn on “Overlay solution path” to show the route from start to finish. You can print the maze with or without the solution, or save the solved version as a PNG, PDF, or SVG.

Example Printable Mazes

  • Easy 10×10 maze for kids
  • Medium 25×25 printable maze
  • Hard 40×40 maze with solution
  • Large maze for puzzle books

About the Random Maze Generator

Release Updates

v1.1 (May 20, 2026)

  • Added difficulty presets for easy kids mazes, classroom printables, hard mazes, and puzzle book layouts.
  • Added SVG export alongside PNG and PDF for scalable print and design workflows.
  • Added dedicated maze-only and solution answer-key downloads.
  • Expanded printable maze guidance, FAQ content, and structured data for solution and classroom use cases.

This tool creates printable mazes you can use in classrooms, puzzle books, game nights, or rainy-day activities. Everything runs 100% client-side in your web browser—no uploads, no tracking—so it’s private and fast wherever you are. Choose the grid size (width × height), set a cell size for how large the maze appears on paper, pick your entrance and exit, and generate as many variations as you like. You can print directly, or export a clean PNG, PDF, or SVG for sharing.

How the generator works

By default, the maze is a perfect maze: there’s exactly one route between any two cells. We build it using the classic recursive backtracker (an iterative depth-first search). If you’d prefer a more open feel with fewer dead ends, increase the Braid %. Braiding removes a portion of dead ends to create loops, which can make mazes friendlier for younger solvers or better for timed races.

Difficulty and sizing tips

  • Smaller grids (e.g., 15×15 with larger cells) are ideal for children or quick warm-ups.
  • Medium grids (25×25) balance challenge and printability on A4/Letter paper.
  • Large grids (40×40 and up) create long, twisty paths—great for puzzle enthusiasts.
  • Turn on “Overlay solution path” to show or hide the shortest route for answer keys.

Reproducible results with seeds

Want to recreate a specific maze later or share the same puzzle with a group? Enter a Seed (any text) before you click New Maze. The same seed and settings will generate the same maze again, which is perfect for homework sheets, competitions, or QR-linked challenges.

Exporting and printing

Use Save as Image for a high-resolution PNG, Save as PDF for tidy handouts, or Save as SVG for scalable print artwork. The maze is drawn with crisp lines and a bold border so mazes look sharp on home and office printers. For classroom sets, consider generating multiple seeds at the same size so students receive different puzzles at the same difficulty level.

Who it’s for

Teachers, parents, therapists, and puzzle fans use mazes for focus practice, fine-motor skills, spatial reasoning, and just for fun. Whether you need a quick printable maze or a themed activity for events and clubs, this generator keeps it simple, private, and ready to go—anywhere with a browser.

Printable Maze Generator FAQ

Is this maze generator free?

Yes. You can generate, print, and download mazes for free.

Can I create a maze with a solution?

Yes. Turn on the solution path option to create an answer key.

Can I download the maze as a PDF?

Yes. Use the Save as PDF button to create a printable maze handout.

Is this maze generator good for kids?

Yes. Use smaller grid sizes such as 10×10 or 15×15 for easier mazes.

Can I use the same maze again?

Yes. Enter the same seed and settings to recreate the same maze.

Can I use these mazes commercially?

Mazes you generate may be used for personal, classroom, and commercial projects. Starlight Tools does not claim ownership of mazes created with this browser tool.

5 Fun Facts about Mazes

Perfect = tree

A “perfect” maze is just a spanning tree: there’s exactly one route between any two cells. That’s why carving a single extra wall break instantly creates a loop and multiple solutions.

Maze theory

Algorithms leave fingerprints

Depth-first/backtracker mazes look snaky with long hallways, while Prim’s or Kruskal’s algorithms make bushier “cell” textures. Maze nerds can often guess the generator just by eye.

Visual clues

Seeds = secret coordinates

Type the same seed and you get the same maze—exactly how roguelike games and map editors share worlds. A short word is basically a shareable set of carving instructions.

Deterministic fun

Robotic trailblazer

In 1950, Claude Shannon built “Theseus,” a metal mouse that solved any electrified maze and remembered dead ends. It’s considered one of the first AI/robotics demos.

Retro robotics

World-scale puzzling

Hawaii’s Dole Plantation maze weaves nearly 2.5 miles of paths through 14,000 tropical plants and once held the Guinness record for largest permanent hedge maze.

Real-life giant

Explore more tools