We use cookies.This website uses essential cookies to operate core features. With your consent, we also use analytics cookies to understand traffic and improve the service. For more details, see our .
Was this tool helpful to use?
Your feedback helps us make it better
Create reproducible mazes by size, algorithm, exit layout, and seed. View the shortest path or distance heatmap, play online, and download as SVG.
Maze settings
Adjust the size, algorithm, and exit placement to generate a reproducible grid maze.
Creates longer corridors with fewer branches for a smoother solving experience.
Use the same size, algorithm, exit placement, and seed to reproduce the exact same maze.
m22e26wzOverview
Understand what the tool solves, how it works, and the boundaries of its data.
Create a rectangular maze by choosing a column count and row count from 5 to 50, a generation algorithm, an exit layout, and an optional seed. If the seed is blank, a new seed is generated; reusing the same seed with the same dimensions and options makes the same maze reproducible. Seven algorithms are available: backtracker, Prim, Kruskal, Wilson, hunt-and-kill, sidewinder, and binary tree.
The start and finish are placed on the maze boundary. Choose horizontal or vertical exits, or the hardest exit option, which places the finish at the farthest reachable cell from the start. The result includes a shortest route and distance values that can be displayed as overlays; those views are alternatives, so the solution line and distance heatmap are not shown together.
Guide
Follow the workflow and verify inputs and outputs with practical examples.
Set width and height in cells. Each side accepts 5 through 50 cells; a rectangular size lets you fit a particular worksheet or screen layout.
Pick one of the seven algorithms and an exit arrangement. If you need to recreate a particular result, enter a seed of up to 64 characters and keep the same settings.
Generate the maze. Turn on the shortest-path overlay to reveal a route from start to finish, or show the distance heatmap to inspect how far cells are from the start. Turn either view off to return to the plain puzzle.
Download the generated drawing as SVG when you want a scalable vector file. To solve it on screen, start play and move through adjacent open passages with the direction controls or arrow/WASD keys.
Use cases
See how the tool fits into real work and everyday tasks.
Choose a smaller grid for a quick paper or screen puzzle, then use the solution overlay to check the route. The SVG download can be placed into a worksheet layout or opened in compatible vector software.
For a lesson or presentation, save the seed and generation settings with the file. Re-entering them reproduces the same maze so the group can discuss the same route and distance map.
Use the on-screen controls or keyboard movement to reach the exit. The play view tracks elapsed time and move count for that attempt.
Q&A
Find concise answers to common questions and confusing cases.
The confirmed download is SVG. You can print the SVG from compatible software or convert it using a separate workflow, but a PDF or PNG export is not provided in this tool.
It marks a shortest route from the maze start to its finish. The distance heatmap is a separate view showing cell distances from the start; enabling one hides the other.
Keep the seed, row and column counts, algorithm, and exit setting unchanged. A blank seed creates a fresh maze.
Each side is limited to 50 cells, so the largest square grid is 50 by 50. Choose a smaller size if you need a more open puzzle for young solvers or print clarity.
Notes
Review scope, result limitations, and important precautions before use.
A dense grid can be difficult to follow on a small screen or after printing at reduced size. Check the exported SVG at the scale where it will be used. The path and distance overlays help inspect generated routes, but they do not add an answer key as a separate PDF or printable page.
Related
Discover related tools, collections, and available API capabilities.