Maze Generator
Create random mazes with adjustable size
Maze Size
15
15
2
10
What is Maze Generator?
Generate random solvable mazes using depth-first search algorithms. Adjust maze dimensions, wall thickness, and path width. Watch the maze being constructed step-by-step or generate it instantly, then solve it manually or let the algorithm find the path.
How to use
- Set the maze dimensions (rows and columns) and choose the generation algorithm (recursive backtracking or randomized Prim's).
- Click 'Generate' to create the maze. Optionally enable the animation to watch the algorithm carve paths in real time.
- Solve the maze by clicking cells to trace a path, or click 'Show Solution' to reveal the optimal route from start to finish.
Result
Generate a 25×25 maze with recursive backtracking, watch the animation carve through the grid, then click 'Show Solution' to see the shortest path highlighted in orange from the top-left entry to the bottom-right exit.
Related Tools
Word Search Generator
Create custom word search puzzles
Tetris
Play the classic Tetris block-stacking game
Minesweeper
Play the classic mine-sweeping puzzle game
Chess vs AI
Play chess against a computer opponent
Crossword Puzzle Maker
Create custom crossword puzzles
Jigsaw Puzzle
Solve drag-and-drop jigsaw puzzles