Index Statistics
The script displays a simple window showing the number of topics used in the active document together with the number of subtopics and the number of unused topics. It also...
Oops, you’re not logged in!
Log in or sign up for a free account.
This script is part of the Indexes and Concordances collection. See the full collection here. For more information about working with indexes and concordances in InDesign, see here.
The script does some number crunching on the document’s index and shows the results as follows:

To view the unused topics, click OK. They’re printed to a text file named UnusedTopics.txt which is placed on your desktop. The file is opened in your OS’s default text editor.
Note: The script deals only with InDesign’s index, reading all the information from the Index panel, not from a generated index. It’s therefore not necessary to generate the index before collecting the statistics.
Version history
10 Feb. 2019: Unused topics weren’t counted correctly; fixed.
31 Jan. 2015: posted.
Peter Kahrel Script Repository
Hosted as a community service, and with deep appreciation, by development.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 January 25, 2026
Commenting is easier and faster when you're logged in!
Recommended for you
Accessibility-Compliant Table of Contents
InDesign creates hyperlinks for the table-of-contents (TOC) entries when a TOC i...
Using AI Tools in a Design Workflow
Amybeth Menendez demonstrates how ChatGPT and OMATA MATE can work together to au...
