Dynamic Endnotes
Convert endnotes (both static and dynamic) to InDesign's (dynamic) footnotes.
MS Word has dynamic footnotes and dynamic endnotes; InDesign has just dynamic footnotes. When you place a Word document with endnotes in InDesign, Word’s dynamic endnotes are therefore converted to static endnotes. This means that if you add or remove notes, you have to change note numbers and references manually.
The script described here converts the static endnotes to dynamic ones so that footnote references can be updated automatically after adding and deleting footnotes.
Use
Before you run the script, make sure that the endnote paragraph style has been applied to all endnotes and that that style is used for endnotes only. Then run the script.
The script shows a dialog with two dropdowns, one with the character styles defined in the active document, the other with the document’s paragraph styles. If the script finds the MS Word style names Endnote Text (a paragraph style) and Endnote Reference (a character style) in the document, these names (or a localised version) are preselected in the dialog:

If the script can’t find any standard name, select the style names used in the document for the endnote text and the references. To run the script, press Enter/Return or click OK.
Some details
The script converts static endnotes to dynamic endnotes by applying the method outlined by Peter Gold, mentioned elsewhere. It works as follows:
- It removes phantom note references. In placed Word documents you often find the character style for note references applied to white space. These must be removed, otherwise the script gets confused.
- It checks that there are as many endnote references as there are endnotes. What counts as an endnote is a paragraph (in the selected paragraph style) that starts with any tabs and a number. If the check fails, the script will tell you how many references and how many notes it sees.
- It adds a paragraph style
Endnote Text_numbered, based on theEndnote Textstyle, and adds paragraph numbering. It applies this style to each paragraph that has the paragraph styleEndnote Textapplied to it and that starts with a number. - The script adds a cross-reference format endnote.
- It creates cross-references by linking the endnote references and the endnotes.
- Finally, it removes the original, imported, note references.
Adding, removing, and updating notes
See Adding and deleting notes: managing cross-references for details on how to manage dynamic endnotes.
Troubleshooting
The notes must not be in an automatically numbered paragraph style. The script warns you if that’s the case. Exit the script and disable the style’s automatic paragraph numbering. Convert the numbers to plain text first if necessary: select all the notes, right-click, select Convert Numbering to Text.
Requires InDesign CS4 or later.
Version history
5 Feb. 2017: The script now supports styles in style groups.
30 Nov. 2016: Relaxed the recognition of endnotes: paragraph-initial tabs are now handled too.
6 May 2015: Needed a better check on the presence of a named cross-reference format.
22 March 2012: Groups of endnotes are now numbered so that each group starts at 1, for example, when endnotes are grouped by chapter at the end of a document. And the production of links is now more robust.
1 Oct. 2010: Endnotes with forced line breaks and endnotes consisting of more than one paragraph could create a problem. Fixed.
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
InDesign Tips and Tricks: Working Efficiently with Values
Anyone who uses InDesign for more than two minutes a day knows that there are a...
Dump Pasted or Embedded Images
Pasted images (images without a link in the Links panel) and embedded images mak...
Catalog Creation With Pagination Software
I’m Kristina Ormaza, graphic designer and marketing specialist for Crown Supply...
