Maze and Solution-Sheet Generator

Build a connected rectangular maze with a declared entrance and exit, plus a separate solution drawing.

On-device No sign-up Free to use

Generate maze controls

?

Between 4 and 40 columns. Columns multiplied by rows must stay at or under 900 cells.

?

Between 4 and 40 rows.

?

The corner where the route starts. The entrance is marked on the printed sheet.

?

The corner where the route ends. It must be a different corner from the entrance.

?

Draws the solved route on a second page and a second SVG file.

More options
?

Leave blank to draw with Web Crypto. Any text here switches to a repeatable mode: the same seed rebuilds the same maze on this page.

Processed in your browser. Your inputs stay on this device.

Showing an example. Change the fields, then use generate maze to update it.

Result

Showing an example.

Create a fresh 15-by-15 maze from the top-left corner to the bottom-right. Its 225 cells have 224 open passages; the actual route length varies.

A connected 15-by-15 maze with 225 cells and 224 open passages. The result reports that run’s entrance-to-exit route length. Downloads include maze-and-solution.pdf with puzzle and solution pages, maze.svg and maze-solution.svg.

Loading the tool. Your result will appear here.

https://usefreetools.net/maze-solution-sheet-generator · 20 November 2026

Was this helpful?

How to use Maze and Solution-Sheet Generator

  1. Choose 4 to 40 columns and rows, keeping their product at 900 cells or fewer. Size presets change the grid dimensions, not a certified difficulty level.
  2. Choose different entrance and exit corners. Leave Seed blank for a fresh random maze, or enter up to 200 characters for a repeatable layout with the same grid and settings.
  3. Choose Include the solution sheet. Turn it off before creating a learner PDF without a solved page.
  4. Generate and inspect the result. The displayed maze is the one exported in that run; generating again with a blank seed draws a fresh maze.
  5. Download maze-and-solution.pdf and maze.svg. With the solution switch on, the PDF has a solved second page and maze-solution.svg is also available.

Example: Maze and Solution-Sheet Generator

Create a fresh 15-by-15 maze from the top-left corner to the bottom-right. Its 225 cells have 224 open passages; the actual route length varies.

You add
Columns: 15 Rows: 15 Entrance: top-left Exit: bottom-right Seed (optional): (blank) Include the solution sheet: on
You get
A connected 15-by-15 maze with 225 cells and 224 open passages. The result reports that run’s entrance-to-exit route length. Downloads include maze-and-solution.pdf with puzzle and solution pages, maze.svg and maze-solution.svg.

Options

Grid size
More cells make a denser drawing. Choose a size that remains legible on your intended paper.
Solution path
The solution traces the unique route between the chosen corner cells. It is included only when the solution-sheet switch is on. The puzzle SVG itself has no solved route.

Supported inputs and limits

  • 4 to 40 rows and columns, with at most 900 cells and different entrance and exit corners.
  • A nonblank seed up to 200 characters uses a repeatable generator; preserve the seed and all settings to rebuild the same layout in this version.
  • A blank seed uses a new Web Crypto draw.
  • The PDF uses A4 paper and fits the maze within its margins.
  • SVG size can be changed when printing; check legibility at your intended scale.
More details

The optional solution is the second page of the same PDF, not a separate PDF file.

There is no interactive maze game or age/difficulty grading.

Where your input is processed

This tool does not upload your inputs. See the limits for anything saved on your device.

A connected maze still needs readable printing

The generator uses a finite perfect-maze structure rather than disconnected random walls. A dense grid can become difficult to trace when scaled down. Check a preview at the intended page size and keep the solution drawing separate from the puzzle.

Questions about Maze and Solution-Sheet Generator

Can the exit be reached?

The generated connectivity and solution path are checked.

Can I hide the solution?

Turn off Include the solution sheet before generating. The PDF then contains only the puzzle, and no solution SVG is offered. With the switch on, the same PDF includes a solved second page.

Will a larger maze fit any paper?

Check the downloaded drawing at your chosen print scale.

Page updated · Project managed by Tony Hines · Report a problem with Maze and Solution-Sheet Generator