Thanks for coming to, the world's #1 resource for all things InDesign!

Create Mazes in InDesign With a Script

An attendee I met at the recent CreativePro Conference contacted me to ask if I knew of any tools to help create puzzles, mazes, word finds, etc. in InDesign. While digging to locate some resources for her, I came across a gem of a script for creating challenging mazes right in InDesign with a couple of clicks. This script was created by the brilliant scripter Theunis de Jong (aka Jongware). It is, quite simply, amazing!

InDesign Mazes script example 1


InDesign Maze script example 2

How to Create Mazes in InDesign

  1. Download the script
  2. Install the script. You can find instructions for installing and running a script here.
  3. Create a shape for the outer bounds of the script. This can be any shape, but it must be a single object. Create the shape with the rectangle, polygon, ellipse, or pen tools, or combine multiple shapes into one using Object > Pathfinder > Add. The object must be on page 1 of your document.
  4. Select the shape you just drew, and run the script.

The resulting maze will consist of three objects. These are easy to select and manipulate in the Layers panel.

The maze lines will initially have a 1 pt white stroke. You can adjust the weight and color as desired. You can use the original shape to provide a background color or shade for the maze.

You can read a full description of the process by which the script was created on the Adobe Scripting Forum.

InDesign Maze script example 3

InDesign Maze script example 4

InDesign Maze script example 5

InDesign Maze script example 6

InDesign Maze script example 7

Keith Gilbert

Keith Gilbert

Keith Gilbert is a digital publishing consultant and educator, Adobe Certified Instructor, Adobe Community Professional, conference speaker, author, and contributing writer for various publications. His work has taken him throughout North America, Africa, Europe, and Asia. During his 30 years as a consultant, his clients have included Adobe, Apple, Target, the United Nations, Best Buy, General Mills, Lands' End, and Medtronic. Follow him on Twitter @gilbertconsult and at
Keith Gilbert

Latest posts by Keith Gilbert (see all)

  • - November 30, -0001
Related Articles

10 Comments on “Create Mazes in InDesign With a Script

  1. Note that the script doesn’t add any entry or exit points to the maze. You will need to do that manually, as I’ve done in the last screen shot.

    • I was skeptical of this (especially the part about making your own entry and exit points), so I tried several mazes and added random entry/exit points and so far they’ve all worked. Wow.

  2. Thanks for un-earthing this oldie of mine! Note; I just ran it for fun on a modern InDesign and noticed the default color for the new maze were blank (“None”). It may just be my system, but anyway, I amended the script to use “Black”, so you can see something happened. For added fun, set the Corner options of the inner part of the maze to a small Bevel or Rounded :)

Leave a Reply

Your email address will not be published. Required fields are marked *