Maze Generator

Generate perfect mazes with recursive backtracking

UtilityFreeNo Signup
4.5(74 reviews)
All Tools

Loading tool...

About Maze Generator

The Maze Generator creates perfect mazes using the recursive backtracking algorithm. Adjust the width (3-20) and height (3-20) using sliders to create mazes of any size. Each maze is guaranteed to have exactly one solution path with no loops or isolated sections. The output is ASCII art that can be copied and shared. Great for puzzle books, game design, education, or just maze-running fun.

Maze Generator Features

  • 3-20 width
  • 3-20 height
  • ASCII output
  • Perfect mazes
  • Copy result
  • Recursive backtracking
Share this tool: