Skip to content
Once Books

AI maze generator: ask, get a PDF

The Once Books team1 December 2026 · 5 min read
On this page

The short answer

Ask your AI assistant for a maze and get a solvable one plus its exact solution path back as a print-ready PDF. Here's how, and why it beats a drawn maze.

An AI maze generator is just your chat assistant connected to a real maze engine. You ask for a maze in plain English, the assistant calls the generator, and you get a solvable maze plus its exact solution path as a print-ready PDF. The reason to route it through a generator, instead of asking the model to draw the maze itself, is that a drawn maze usually has walls that don't quite connect or a path that never reaches the exit. The generator carves a real route every time and marks it on the answer page. Here's how to make one.

The prompt to paste

Once you're connected, paste this:

Create a medium maze with its solution, as a printable PDF.

The assistant picks the maze generator, carves a medium maze with a single path from start to finish, and returns the puzzle with a second page showing the solution drawn through it. Ask for "easy" or "hard" to change how long and winding the route is.

Why a drawn maze doesn't solve

A maze looks simple, which is what makes it easy to get wrong. The walls all have to connect into one shape, and there has to be exactly one clear way from the entrance to the exit. A language model drawing that by hand leaves gaps where walls should meet, or paints a path that dead-ends short of the goal. You don't notice until you trace it with a pencil and run out of maze. The generator builds the route first and the walls around it, so a solution is guaranteed before you ever see the page.

What makes a maze hard

Difficulty isn't really about size. It's about how far the correct route travels and how deep the tempting wrong turns go, which is something we measured and wrote up in what actually makes a maze hard. When you ask for "hard", the generator leans on those levers, not just a bigger grid.

Mazes come at 8.25 by 11 inches, so they print cleanly at home or fit a book interior. The download link lasts 48 hours, then the file is deleted.

Prefer to make one by hand?

The free maze generator runs in your browser: pick a size and difficulty, generate, and print the maze and its solution with no sign-up. For the full list of what an assistant can make, see make printable puzzles with AI.

Try the tool

Free, in your browser, no sign-up. Make one, then build the whole book in the studio.

Common questions

How does an AI maze generator work?
You connect your assistant to the Once Books generator and ask for a maze. The assistant calls the generator, which carves a maze with one real path from start to finish and returns it, with the solution, as a print-ready PDF.
Why not let the AI draw the maze itself?
A model drawing a maze tends to leave walls that don't connect or a path that doesn't reach the exit. The generator builds a maze with a guaranteed route and marks the exact solution, so it always solves.
Can I set the difficulty?
Yes. Ask for easy, medium or hard and the generator adjusts how long and twisty the route is. The solution page shows the path through.

Related reading

Keep reading

← All guides