Maze Generator (SVG)
Guide
Maze Generator (SVG)
Generate random perfect mazes as crisp, scalable SVG images directly in your browser. Pick a classic carving algorithm, set the grid size, optionally fix a seed for reproducible output, and download the result as SVG or PNG. Every maze is built from real graph theory — not a stock template — so each click produces a fresh puzzle.
How to Use
- Choose an algorithm: Recursive Backtracker (long, twisty corridors), Prim’s (organic and branchy), or Kruskal’s (uniform, balanced).
- Set the maze dimensions in columns and rows. Larger grids take longer to solve by eye.
- Optionally type a seed string. The same seed plus the same settings always produces the same maze, which is handy for sharing or reprinting.
- Tune the look: cell size, wall thickness, wall color, and background color.
- Toggle Show Solution Path to overlay the shortest route from start to exit.
- Click New Maze for a fresh random layout, then download the result as SVG (for clean printing or vector editing) or PNG.
Features
- Three real algorithms – Recursive Backtracker, Randomized Prim’s, and Randomized Kruskal’s each produce visibly different maze textures.
- Reproducible seeds – Any text seed deterministically reproduces the same maze, perfect for puzzle books and lesson plans.
- BFS solution overlay – Render the shortest entrance-to-exit path with a customizable highlight color.
- Entrance and exit markers – Optional arrow markers and open walls at top-left (in) and bottom-right (out).
- SVG and PNG export – Vector SVG for printing at any size, PNG for quick sharing or social posts.
- Pure client-side – No server processing, no upload limits, your mazes never leave your browser.
FAQ
Install Our Extensions
Add IO tools to your favorite browser for instant access and faster searching
恵 Scoreboard Has Arrived!
Scoreboard is a fun way to keep track of your games, all data is stored in your browser. More features are coming soon!
Must-Try Tools
View All New Arrivals
View AllUpdate: Our latest tool was added on May 20, 2026
