Skip to content

Maze Generator

Generates a maze at any size with a chosen algorithm, exported with or without the solution path.

🔒 Runs entirely in your browsermazepuzzleprintgenerator

20 × 15

Cells

300

Shortest path

110 cells

Dead ends

33

Cells with only one way in.

Generated by randomised depth-first search, which gives long winding corridors rather than the bushy passages Prim’s algorithm produces. Every maze is perfect: exactly one path between any two cells, so the solution shown is the only route there is.

Feed it from

Next

These accept what this tool produces, so the result can go straight in.