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...
This script is part of the Indexes and Concordances collection. See the full collection 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 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
Script Launcher with History List
The easy way to run a script: a script launcher with a configurable history list...
InDesign 101: Saving Your Work
Sandee Cohen covers all the the basics of creating and saving InDesign documents...
Text Anchors
It's not possible in InDesign to get an overview of what a document's text ancho...
