Maze Generator
Create printable maze worksheets and puzzle book pages for kids activity book creators, teachers, parents, printable sellers, and …
Free and unlimited, no account. Generated in your browser — nothing is uploaded. Every maze has exactly one solution. For an answer key, print once, then press Show answer and print again. Print opens your browser’s print dialog, where you can also save the maze as a PDF.
The maze maker above draws a new maze every time you press New maze: pick Easy, Medium or Hard, or choose Custom and set any width and height from 5 to 50 cells. Show answer draws the solution path, Print sends just the maze to your printer (or to a PDF from the print dialog), and PNG saves a sharp image. No sign-up, no watermark, no limit. Use it as a quick maze creator for a single worksheet, or to test sizes before you plan a whole book.
Can you sell what you make? Yes. Mazes generated here are yours to use, including in a book or printable you sell, with no credit line required. That is not true of every free maze generator, so the comparison below shows what each popular one says about commercial use on its own site.
"Free to make" and "free to sell" are different promises. These are the terms each site states on its own pages, read on 13 October 2026. Terms change, so read the licence on the site again before you publish.
| Maze generator | Free to sell what you make? | Credit required? | Sizes and shapes | Downloads and answer key |
|---|---|---|---|---|
| Octozia (this page) | Yes, including books you sell | No | 11×11, 17×17, 23×23, or custom 5 to 50 cells a side; rectangular | Print or save as PDF, PNG; answer path on demand |
| freemazegenerator.org | Yes: it grants full commercial usage rights, KDP books included | No | Rectangular, circular and math mazes; width and height fields | PDF, PNG, SVG; a solve option |
| jigsawmake.com | Yes: exports are free for commercial use | No | 5×5 up to 200×200 | PDF, PNG, SVG; separate answer-key PDF |
| puzzlegenio.com | Yes: it says its SVG and PDF downloads carry a licence notice permitting commercial use, puzzle books included | Not stated | 5×5 up to 200×200 | PDF with the answer on page 2, PNG, SVG |
| mazegenerator.net | No, free for non-commercial use only. A commercial licence costs 49 SEK per maze, or 1,025 SEK a year for unlimited mazes (both with attribution); 98 SEK and 2,050 SEK without attribution, excluding VAT | On the cheaper licences | Rectangular, circular, triangular and hexagonal; 2 to 200 cells | PNG, SVG, PDF |
| mazesforfun.com | No, personal use only; commercial use needs a premium membership | Not stated | Rectangular, circular and shaped mazes; adjustable width, height and cell size | PDF, SVG, PNG; solution button |
| twolimeprints.com | Only with an active membership plan | Not stated | Dozens of shapes, heart, star and letters among them; grids above 30 cells marked PRO | PDF with puzzle and solution, PNG, SVG |
Two things stand out. First, mazegenerator.net charges for commercial use, and its yearly licence works like a subscription: when it lapses you keep the mazes you downloaded during it but cannot download new ones for commercial use. Second, shapes are where the licences differ most: freemazegenerator.org offers circular mazes under the same free commercial rights, while mazegenerator.net's circular, triangular and hexagonal mazes need its paid licence before you sell them, and twolimeprints.com's heart, star and letter shapes need a membership. For rectangular grids bigger than 50 cells, jigsawmake.com and puzzlegenio.com go up to 200 × 200 and state that their output can be sold.
A terms page or a line next to the download button. A blog post or a forum reply saying "it's fine for KDP" is not a licence.
Some licences require text such as "Licensed from…" printed in the book. That costs nothing but has to be on the page.
Some sites attach the commercial licence to particular exports, for example the SVG and PDF but not a screenshot of the page.
A yearly licence may stop new commercial downloads when it ends. Download everything you need for a book while it is active.
Buyers of maze books expect a solution for every maze. A generator that cannot show its own answer path doubles your work.
One more point applies to every generator: a computer-generated maze is not exclusive. Anyone can make mazes with the same tool, so the value of a maze book is in its theme, cover, difficulty curve and layout, not in owning the grid.
Grid size is what drives difficulty: more cells means more junctions, more dead ends and a longer route. The averages below come from running this generator 1,000 times at each size on 13 October 2026, rounded because every batch differs slightly.
| Size | Grid | Cells | Average solution length | Average dead ends | Suggested for |
|---|---|---|---|---|---|
| Easy | 11 × 11 | 121 | About 38 cells | About 14 | Ages 3 to 5, first mazes |
| Medium | 17 × 17 | 289 | About 80 cells | About 31 | Ages 6 to 9 |
| Hard | 23 × 23 | 529 | About 134 cells | About 55 | Ages 10 and up, adults |
| Custom | 30 × 30 | 900 | About 210 cells | About 92 | Adult puzzle books |
| Custom | 50 × 50 | 2,500 | About 500 cells | About 252 | Large-format challenge pages |
The averages hide a wide spread: hard mazes ranged from roughly 30 to 340 cells of solution across those runs. Press New maze until one looks right for the page you are making. For a preschool book stay on Easy all the way through; for adult brain-training books, 30 × 30 and up is where a maze page holds its own beside sudoku and word search.
Each maze is carved by a recursive-backtracker algorithm, the standard method for a "perfect" maze: every cell can be reached and there is exactly one path between any two cells, so the solution is unique. Nothing is assembled from templates; every maze comes from its own random seed.
The entrance and exit move on each generation, on opposite edges, so consecutive pages in a book do not look like copies. The answer path is found by a breadth-first search between the two openings, which is why the solution line never doubles back.
Print sends only the maze to the printer and shrinks a large grid to fit one sheet. The on-screen maze is drawn at two to three times screen resolution so lines stay crisp on paper, and PNG saves at three times. Two settings matter more than anything else:
For an answer key, print once, press Show answer and print again. In a classroom set, staple the answer pages to the back.
The free maker is built for one maze at a time. For a paperback you need dozens at a fixed trim size with solutions, which leaves two routes:
| Route | How it works | Cost |
|---|---|---|
| Free, by hand | Save each maze and its answer as PNG, place them in KDP's free manuscript template at your trim size, export the PDF | $0, roughly two minutes a page |
| KDP Creator | Generates the maze pages in a batch: a ZIP of numbered 300-DPI page images with title and copyright pages, the mazes, then a solutions divider and every solution at the back, at 5 × 8, 5.5 × 8.5, 6 × 9 or 8.5 × 11. You still assemble the PDF. | $9.99 a month or $99.99 a year; the 3-day trial (card required) makes one watermarked sample of up to five puzzles a day |
Either way, set margins from KDP's own rules: for an interior of 24 to 150 pages the inside (gutter) margin must be at least 0.375 in, and the outside margins at least 0.25 in without bleed. The KDP interior templates guide has every trim size.
KDP pays a royalty rate on the list price minus the printing cost. On Amazon.com the rate is 50% at a list price of $9.98 or less and 60% at $9.99 or more, and an 8.5 × 11 black-ink book on white or cream paper with 24 to 110 pages costs a flat $2.84 to print (KDP's printing cost and royalty pages, read 13 October 2026). So a 100-page 8.5 × 11 maze book earns:
| List price | Royalty rate | Calculation | Royalty per copy |
|---|---|---|---|
| $7.99 | 50% | 0.50 × $7.99 − $2.84 | $1.16 |
| $9.99 | 60% | 0.60 × $9.99 − $2.84 | $3.15 |
Two dollars more on the cover nearly triples what each copy pays, which makes $9.99 the first price to test. Check your own numbers in the KDP royalty calculator and the printing cost calculator, which carry the same rate tables.
Grid size sets the difficulty; the theme and cover sell the book. These angles come up again and again on maze books:
| Theme | Typical audience | Size to use |
|---|---|---|
| Animals: zoo, farm, ocean | Preschool to early elementary | Easy |
| Space and planets | Elementary, STEM gift buyers | Easy to Medium |
| Holidays: Christmas, Halloween | Seasonal gift books | Medium |
| Dinosaurs | Early elementary | Easy to Medium |
| Brain training | Adults and older children | Hard or custom 30 × 30 and up |
Check demand yourself before committing to a theme: search "[theme] maze book" on Amazon and look at how many results come back and how the leaders rank. For seasonal themes, research 60 to 90 days before the holiday. The puzzle book publishing guide walks through the upload.
Yes. Mazes you generate here are yours to use, including in a book, worksheet pack or printable you sell, and no credit line is required.
Among the popular ones, this generator, freemazegenerator.org, jigsawmake.com and puzzlegenio.com all state on their own sites that output can be used commercially. mazegenerator.net is free for non-commercial use only and sells commercial licences; mazesforfun.com and twolimeprints.com tie commercial use to a paid membership. Checked 13 October 2026.
Not for free. Its site says mazes are free for non-commercial use and that making money from them needs a commercial licence: 49 SEK per maze, or 1,025 SEK a year for unlimited mazes with attribution, more without attribution, excluding VAT (prices read 13 October 2026).
Yes. Choose Custom and enter any width and height from 5 to 50 cells. Wide mazes such as 40 × 20 print well on a landscape page.
Press Print to print the maze, then press Show answer and Print again for the key. PNG saves either version as an image, and the print dialog can save a PDF.
Start with Easy, an 11 × 11 grid with an average solution of about 38 cells. Medium suits most 6 to 9 year olds once they have solved a few easy ones; Hard is for ages 10 and up.
Not here: this generator makes rectangular mazes. freemazegenerator.org offers circular mazes with full commercial rights; twolimeprints.com has a heart and dozens of other shapes, but selling them needs a membership; mazegenerator.net offers circular, triangular and hexagonal mazes, free for non-commercial use only.
KDP Creator generates numbered maze and solution pages at your trim size, solutions at the back. $9.99 a month or $99.99 a year after a 3-day trial, card required.