GREP Style Report
Print a report of all GREP styles defined in a document's paragraph styles (CS4 and later). The GREP expressions are printed using syntax highlighting to make them more readable.
This script is part of the GREP collection. See the full collection here.ย
The script creates a list of all GREP styles defined in a document’s paragraph styles. The screenshot shows some sample output. The name of the paragraph style is printed after Paragraph style:. Under that heading follow pairs of lines. In each pair, the first line is the name of the character style applied by the GREP expression shown in the second line.

Styles in style groups are shown in the format myStyleGroup > mySubGroup > myStyle.
Use
Open the document whose GREP styles you want printed and run the script; it has no interface.
Version history
9 Nov. 2012: Fixed some errors in the order in which the styles are listed. And the script no longer needs the template document, it creates styles on the fly.
10 Sept. 2011: The script now includes styles in style groups.
Nov. 2009: First posted. Note: Works for InDesign CS4 and later.
Peter Kahrel Script Repository
Hosted as a community service, and with deep appreciation, by CreativePro.com
Scripts by Topic | Script Index
Basic Script Installation and Use
How to Modify or Configure These Scripts
Resources for Scripting and Publishing Automation
About This Repository
Contact Peter Kahrel
Note to users: You run scripts at your own risk: CreativePro and the author accept no liability for anything that may be caused by any of these scripts. Always take the necessary precautions. We encourage you to save backups and test scripts on copies of your documents.
This article was last modified on August 22, 2026
This article was first published on November 3, 2025
Commenting is easier and faster when you're logged in!
Recommended for you
Selecting Horizontal and Vertical Spaces with GREP
by Erica Gamet If you use GREP in InDesign, you either know the name P...
Indesign Basics: Numbering Pages
InDesign can number your pages, but a little bit of setup goes a long way, as Er...
InDesign Basics: Working With Bleeds in InDesign
Bleed is printing that extends beyond the edge of where the paper will be trimme...
