Skip to main content
Participant
Apr 7, 2010 2:16 PM UTC
Question

How can I find the total word count in my entire Indesign CS3 document?

I have a book that consists of 10 different files and many many different text boxes. I need to find out what the total word count is for the entire book. Is there a simple way to do this, or do I have to copy and paste all the text from InD into a word file to get the number? Your help is much appreciated.

24 replies

Participant
Sep 3, 2025 11:14 AM UTC

use word instead

Translate
Participant
Oct 4, 2019 8:30 AM UTC

You can export the pages you want to count to pdf. Then open this pdf in Word. Word will the open the file and convert it. Word then shows the word count.

Translate
Participating Frequently
Apr 7, 2010 4:03 PM UTC

rdmz wrote:

I have a book that consists of 10 different files and many many different text boxes. I need to find out what the total word count is for the entire book. Is there a simple way to do this, or do I have to copy and paste all the text from InD into a word file to get the number? Your help is much appreciated.

I seem to remember that there's a script or a plug-in that can do this, but it may be limited to one file at a time. Perhaps someone on the forum has a better memory than mine. Google finds links to scripts for "indesign export story script" (without quotes), but not for whole documents.

The differences between the find/replace methods mentioned in this thread may relate to whether or not text in master-page text, and paragraph auto-numbers and bullets are counted or ignored.

There's a button in the Find dialog box to ignore master-page text like headers, footers, and page numbers. To count auto-numbers and bullets, replace them with text. NOTE: Save a copy of the document set, and perform the replacement on the copy.

HTH

Regards,

Peter

_______________________

Peter Gold

KnowHow ProServices

Translate
Apr 7, 2010 4:25 PM UTC

Hello,

You could try this regex : \S+ in all documents. But \S include punctuation.

But you can use this Loic Aigon's script, Words count : http://www.loicaigon.com/fr/auto.php?file=words_count.jsx

Translate
BobLevine
Community Expert
Community Expert
Apr 7, 2010 2:24 PM UTC

Quick way is to use find/change. Find a space, change it to a space.

ID will tell you how many changes were made. Not an exact science but it's close. Other than that, the info panel shows word count by story.

Bob

Translate
Community Expert
Apr 7, 2010 2:28 PM UTC

Find space finds about 5700 in my current document.

The change find by GREP I posted finds c.6,100 for just the alnum sequence and c.6,900 for the punctuation included.

Translate
rdmzAuthor
Participant
Apr 7, 2010 2:31 PM UTC

Okay I am going to give that a try. Thank you!


Translate
Community Expert
Apr 7, 2010 2:23 PM UTC

A find and replace is your friend

Grep Find

([[:alnum:]]+)

Change to


$1

When you hit Change All you will get a "x amount of changes made", which is total amount of words and numbers (like 2010 and 50,000 etc.)

But that won't count symbols, like punctuation or €,$,£," etc.

To do that you need something like

Find

([[:alnum:]]+)|([,.;:'@#~!"£$%^&*()-+])

Change to:

$0

Then hit change all

Alternatively you could use just

([[:alnum:]]+)|([[:punct:]]+)

Change to

$0

To find all the numbers and text and punctuation in the document

the $0 will replace any found text, found text is represented by items in parenthesis.

Translate
Participating Frequently
Apr 7, 2010 4:33 PM UTC

Hey thanks, Eugene! This helped quite a bit in a project we had. I usually just did a Find/Change on each story and added them up, but this was a time-saver.

THANK YOU!

-Mikey

Translate
Community Expert
Apr 7, 2010 6:39 PM UTC

HeyMikey,

No problem.

Translate