Skip to guide content

How to Generate and Print an SVG Maze

Build a maze worksheet, save the settings that reproduce it, and download both the puzzle and answer key.

In this guide 6 sections

The SVG Maze Generator creates a maze from a seed and a set of layout controls. Choose the cell count, paper settings, and entrance positions, then download the puzzle and its solution as separate SVG files.

1. Start with the page and a manageable cell count

Choose a Maze Shape, Paper Size, and Portrait or Landscape orientation. Set Cells Wide and Cells Tall to control the maze density. More cells create smaller corridors at the same printed size; difficulty also depends on the layout and the person solving it.

For a first worksheet, try a rectangular maze with 12 cells across and 16 tall on an A4 portrait page. This is a starting example rather than a guaranteed age or difficulty rating. Preview and test it before preparing a set for a particular audience.

2. Save the seed and all relevant settings

Enter a Seed for a particular maze or use Random to explore another one. Keep the seed with the cell counts, shape, and entrance settings when you want to reproduce the same puzzle. A seed alone does not describe the entire result if those other inputs change.

For a series of worksheets, use clear names such as maze-12x16-seed2048 and keep a short record of the settings. Save a useful SVG before experimenting further so the download remains a reference even if you change the controls.

3. Set margins, walls, and openings

Margins (mm) leave space around the printed maze. Line Thickness (mm) controls the walls. Choose a weight that survives printing without making the corridors feel cramped.

Choose the Entrance Side and Exit Side, then use their offset controls to position the openings along those edges. Review the preview to make sure both openings are easy to find. Unusual silhouettes and dense layouts deserve a closer inspection before export.

4. Review the solution separately

Enable Show Solution Overlay to inspect the route in the preview. Use it to check the relationship between the entrance, exit, and generated maze. Turn the overlay off when reviewing how the unsolved worksheet looks.

Use Download Maze SVG for the puzzle and Download Solution SVG for the answer key. Keep the two files together with a shared name or seed so you do not accidentally pair a puzzle with a different solution.

5. Add instructions or prepare a print

Open the puzzle SVG in the editor to add a title, instructions, or a small decorative element. Keep text clear of the entrance and exit. Avoid stretching the maze unevenly, which changes the corridor proportions.

Print a sample at the intended scale and check margins, line visibility, and writing space. Make sure the print dialog has not cropped the edge or scaled it unexpectedly. For an image-only upload, convert a copy to PNG and retain the SVG master.

Fix common worksheet problems

If corridors are too small, reduce the cell count or use a larger page. If walls disappear, increase their weight and test again. If an opening feels awkward, adjust its side or offset. Changing the seed can produce another layout, but it does not replace checking the printed result.

Make it yours.

Keep this guide open and give it a try.

Create a maze