Free online tool · Patterns
Maze and labyrinth pattern generator
A procedural maze generator carves a complete, solvable labyrinth of corridors and dead ends using a randomized spanning-tree backtracker, so every cell connects cleanly with no unreachable islands. Rekarta draws crisp vector mazes from a seed: adjust corridor density, choose your wall and path colours, and export as a PNG.
- Free downloadUp to 1024 px PNG
- Drawn asVector shapes
- Settings2
Last updated
Generate your own (free, no sign-up)
Tune the settings below for an instant preview, then download a PNG up to 1024×1024 px — no account or AI credits needed.
Samples
The same engine drew every picture here. Seeds and palettes are deterministic, so the same numbers always produce the exact same image.






What it is
Because the maze is built with a depth-first spanning tree, there is a unique continuous path between any two points on the grid. Lower density creates bold architectural walls, while higher density makes dense intricate labyrinths.
Maze generation algorithm on Wikipedia
Good for
- Puzzle books, editorial illustrations and escape-room flyers
- Geometric poster backgrounds and minimalist book covers
- Top-down dungeon and labyrinth references for game design
What you can change
| Setting | What it does |
|---|---|
seed | Picks one version. The same seed always gives the same picture, so you can recreate it later. |
density | How many elements there are: cells, tiles, lines or points. |
Colours come from a palette: yours, or the default of this pattern.
Or use it inside a full design with AI
Paste this into Rekarta's chat, or into your own AI assistant once it is connected. Change the words to yours.
Make a minimalist conference poster with a dark navy and cyan vector maze pattern background and the title "Find the Path" in white.Or place it yourself
Inside a design, a pattern is one line. Each tag below draws a different version.
<Procedural id="bg" kind="maze" seed={1} />
<Procedural id="bg" kind="maze" seed={2} palette="#0b132b,#1c2541,#3a506b,#5bc0be" />Common questions
Is every generated maze guaranteed to be connected?
Yes. The randomized depth-first spanning-tree algorithm connects every cell into one continuous labyrinth with no isolated pockets.
How do I make the maze corridors tighter or wider?
Use the density slider: lower values produce wide bold walls, while higher values pack more corridors into the canvas.
Can I download a maze and labyrinth pattern PNG for free without signing up?
Yes. Use the generator on this page to preview at 512 px and download free PNG files up to 1024×1024 px (or 1280×720 px), up to 15 downloads per hour without an account. Sign up on Rekarta for 2K/4K exports, SVG, or full designs.
What can I change in a maze and labyrinth pattern?
seed, density. Anything else you ask for in chat is applied around it: the size, the text, the layout.
More free generators
Truchet tiles pattern generatorSimple tiles turned at random into flowing curves or mazes.
Brick and masonry pattern generatorStaggered bricks, cobblestone and herringbone paving.
Voronoi pattern generatorCells around points, like stained glass or cracked earth.
Seamless wood planks PBR texture generatorSeamless 3D PBR · Color, Normal, Roughness, AOStaggered wooden floorboards with grain, pores and plank joints
Make a maze and labyrinth pattern.
Download free PNGs up to 1024 px above, or open Rekarta for 2K/4K, vector SVG, and full AI-assisted designs.