Maze Generator

100% Free · Client-Side

Create custom randomized mazes instantly. Choose your difficulty, customize wall thickness and colors, reveal solutions, and export as printable PNG or SVG.

Maze Settings

Maze Preview

The maze starts at the green circle and ends at the red circle. Use the Wall Thickness slider to adjust how bold the walls appear—thicker walls are great for printing large posters.

Free Online Maze Generator

Create custom randomized mazes for any purpose. Whether you need a simple maze for a children's activity or a complex labyrinth for a puzzle book, our procedural generator has you covered. Customize the design and export in high-resolution vector formats.

Infinite Maze Variety

Our generator uses a recursive backtracking algorithm to ensure every maze is unique and has exactly one path from start to finish.

Scalable Quality

Export your mazes as SVG files. These are vector-based, meaning they remain perfectly sharp at any print size, from a small flyer to a huge banner.

Instant Solutions

Never get stuck again. Use the solution toggle to instantly reveal the correct path through the labyrinth you just created.

Custom Design

Take full control over the aesthetic. Change wall colors, thickness, and background transparency to match your project's visual style.

What is a 'Perfect Maze'?

A perfect maze is a maze which has no loops and no unreachable areas. Every cell in a perfect maze is connected to every other cell by exactly one unique path.

How do I solve the maze?

The maze starts at the top-left corner and ends at the bottom-right corner. You can toggle the 'Show Solution' button to see the unique path between these two points.

Which format should I use for printing?

SVG is the best format for printing as it is a vector format. This means you can scale the maze to any size (even a full wall-sized poster) without it becoming pixelated or blurry.