
This free online hand-drawn maze generator creates random mazes that look like they were drawn with a pen on paper: the corridors bend in smooth curves, the corners are round, and every line wobbles and changes its thickness a little, like a real ink line. Every maze is different, and you can download it as a PNG image, ready to print.
Choose between a classic maze built on a grid of cells, and an organic maze of free curves, where the corridors wander, curl and branch in every direction, with no rows and no columns.
The mazes can also have bridges: places where one corridor passes over or under another one, like a road on a viaduct. Bridges make the maze look richer and much harder to solve, because the path can cross itself. You can turn them off to get a classic maze.
Everything runs directly in your browser: nothing is uploaded to a server.
The maze image is 100 x 100 pixels. The checkered squares show the transparent areas of the image: they are not part of the downloaded PNG file.
To create your hand-drawn maze, follow these simple steps:
This tool generates two very different types of maze. Both are perfect mazes: there is exactly one path between any two points, so there is always exactly one solution.
| Type of maze | Description |
|---|---|
| Grid of cells | The classic maze, built on a grid of square cells. The corridors go from cell to cell, and then the whole maze is bent with smooth curves so it looks drawn freehand. The entrance is at the top left corner and the exit at the bottom right corner. |
| Free curves | A maze with no rows and no columns. The corridors are drawn by small circles that move through the maze: every circle turns all the time, with a rotation speed that changes at random (like a brownian motion), and from time to time it splits in two, starting a new corridor. A circle stops when it reaches the border of the maze or when it gets close to another corridor, so the corridors never join. When there are no more circles, new corridors grow from the existing ones into the empty space, until there is no more room. The first circle starts at the entrance (top left), and the exit is a corridor that reaches the right side of the maze, near the bottom right corner, which goes on out of the maze. |
A bridge is a place where two corridors of the maze cross without meeting: one corridor goes over the other one, and the corridor below passes under it like a tunnel. When you walk through a bridge you must keep going straight, because you cannot turn into the other corridor. Mazes with bridges are also called weave mazes.
In this tool, the walls of the corridor that goes under a bridge stop a little before the walls of the bridge, so it is easy to see which corridor is on top. The solution line also disappears under the bridges it passes below.
In a maze of free curves, a bridge is created when a growing corridor reaches another corridor: instead of stopping there, it may jump over it with a short straight bridge, if it crosses at a wide angle and lands on free space on the other side.
Bridges make a maze much harder to solve at a glance: the paths cross each other, so you cannot simply follow the empty space with your eyes, and a path that seems to be blocked may continue on the other side of a bridge.
Below are all the options you can configure when generating a hand-drawn maze.
| Field | Description |
|---|---|
| Type of maze | "Grid of cells" or "Free curves". See the table of the types of maze above. |
| Columns and rows | Grid of cells only: the number of cells of the maze, horizontally and vertically. |
| Cell size | Grid of cells only: the size of one cell in pixels. The size of the image is calculated from it. Large cells show the hand-drawn details better, and are also sharper when printed. |
| Corridors | Grid of cells only: the texture of the maze. "Long winding corridors" uses the recursive backtracker algorithm, which creates long paths with few dead ends. "Many short branches" works like the Prim's algorithm, which creates many short dead ends. "Mixed" is halfway between them. |
| Width and height of the maze | Free curves only: the size of the area filled by the corridors, in pixels. The image is a little larger, because of the margin and the entrance mark. |
| Corridor width (px) | Free curves only: the width of the corridors, in pixels. |
| Space between corridors | Free curves only: the minimum space, in pixels, between two corridors that are not connected. A small space makes a dense maze, and a large space makes the walls look thick. |
| Turning | Free curves only: how much the corridors change direction while they grow. The rotation speed of each corridor changes at random all the time, so the corridors meander, curl and straighten up again. With 0% the corridors are straight lines. |
| Branching | Free curves only: how often a growing corridor splits in two. A high branching creates many short branches and dead ends, and a low branching creates long corridors (the empty space is always filled by new corridors at the end, so the maze never has large holes). |
| Bridges | Allows the corridors to pass over or under other corridors. Turn it off to generate a maze where the corridors never cross. |
| Bridge frequency | How often the maze creates a bridge when it has the chance. With 100%, the maze has as many bridges as possible. |
| Seed | The number that defines the maze and the way it is drawn. The same seed, with the same options, always generates exactly the same image. The button "Generate a new maze" simply picks a new random seed. |
| Quick styles | Sets the colors and the lines at once to one of the ready-made looks: ink on paper, pencil sketch, blueprint, chalkboard or solid walls. The maze itself does not change. |
| Corridor width (%) | Grid of cells only: the width of the corridors, as a percentage of the size of the cell. The rest of the cell is the space between neighbor corridors. Narrow corridors make the bridges easier to see. |
| Roundness of the corners | Grid of cells only: how round the corners of the corridors are. With 100% the corridors turn in smooth curves and the dead ends are round, and with 0% the corners are sharp. |
| Roundness of the junctions | Free curves only: how round the corners are where a corridor branches off another one. With 0% the corners of the junctions are sharp. |
| Curviness | How much the whole maze is bent. The straight corridors become smooth curves, as if the maze were drawn freehand. 0% keeps the corridors as they were generated. |
| Size of the curves | The size of the bends, in cells (or in corridors, for a maze of free curves). Small values give many small waves, and large values give a few long and gentle bends. |
| Hand wobble | How much every line shakes, like the small movements of a hand holding a pen. Use 0 for perfectly clean lines. |
| Line thickness | The average thickness of the lines of the walls, in pixels. |
| Thickness variation | How much the thickness of the lines changes along the way, like the pressure of a real pen. Use 0% for lines of constant thickness. |
| Sketchy double lines | Draws every wall twice with slightly different lines, like a quick pencil sketch. |
| Pen color | The color of the walls of the maze. |
| Transparent background | Generates the maze with a transparent background, so you can place it over any image later. |
| Paper color and paper texture | The background color of the image, and the strength of the grain and of the soft stains that make it look like real paper. Use 0% for a flat color. |
| Fill the corridors with a color | Paints the inside of the corridors with its own color. Choose the same color for the pen and for the paper to get a maze of solid walls, where the corridors are carved out of the background. |
| Margin | The empty space, in pixels, around the maze. |
| Show arrows at the entrance and the exit | Draws a hand-drawn arrow pointing into the entrance (top left) and another one pointing out of the exit (bottom right). In a very small maze of free curves, where no corridor can reach the right side, the exit is a dead end inside the maze, and it is marked with a star instead. |
| Show the solution | Draws the shortest path from the entrance to the exit, under the walls of the maze. Use it to generate the answer key of your puzzle. |
| Thickness of the solution | The thickness of the line of the solution, as a percentage of the width of the corridor. |
Yes. The tool is completely free, there is no registration, and the maze is generated by your own browser: nothing is uploaded to a server.
Can I use the generated mazes commercially?Yes. The mazes you generate are yours, and you can use them in puzzle books, worksheets, games, websites or any other project.
Does every maze have a solution?Yes. Every maze has exactly one path between the entrance and the exit, and every corridor can be reached. The bridges do not create loops: a corridor that goes under a bridge is simply another part of the same tree of corridors.
What is the difference from the regular maze generator?The Maze Generator draws precise mazes with straight walls, and offers many maze algorithms and shapes (rectangular, hexagonal, triangular and circular). This tool draws mazes that look drawn by hand, with curved corridors, round corners, wobbly lines of variable thickness, paper textures and bridges, and it can also grow organic mazes of free curves, with no grid at all.
Where is the exit of a maze of free curves?The corridors of a maze of free curves grow from the entrance at the top left corner, and every corridor ends in a dead end, except one: the exit is a corridor that reaches the right side of the maze, near the bottom right corner, and goes on out of it, marked with an arrow. Turn on "Show the solution" to see the path to it.
How do I generate the answer key?Download the maze with the solution turned off, then turn on "Show the solution" and download the image again, without changing any other option. Both images show exactly the same maze, because the seed did not change.
Why do the corridors of my maze touch each other?With a very high curviness and small curves, the distortion can squeeze some parts of the maze. Reduce the curviness, increase the size of the curves or reduce the corridor width.
How do I print the maze?Download the PNG file and print it from any image viewer or document editor. For a sharp print, use a large cell size (40 pixels or more) so the image has enough resolution for the paper.
In which format is the maze downloaded?The maze is downloaded as a PNG image, which supports transparency. Turn on "Transparent background" if you want to place the maze over another image later.






