Maze Generator

Generate maze puzzles with different algorithms and difficulty levels

Between 5 and 50 cells
Between 5 and 50 cells
Different algorithms create mazes with different characteristics
Difficulty affects the number of alternative paths in the maze
How to Use
  • Configure Size: Choose the width and height of your maze (5-50 cells)
  • Select Algorithm: Different algorithms create different maze patterns
    • Recursive Backtracker: Creates long, winding corridors
    • Prim's Algorithm: Creates shorter, more branching paths
    • Kruskal's Algorithm: Creates more uniform maze structure
  • Choose Difficulty: Easy mazes have multiple paths, hard mazes have only one solution
  • Generate: Click the button to create your maze
  • View Solution: Toggle to show/hide the solution path
  • Export: Download as text file or PDF for printing