You can add an index to your Word exports. To do so, you must first generate index terms on your Confluence pages, which you can do by:

  • using page labels or 
  • using the Scroll Indexterm macro 

Secondly, you must add an index section in your export template. Following this, the defined index terms from your Confluence pages will be included in the export as an index.

Generate index terms using page labels 

Firstly, navigate to the page you want to insert an index term for, and add a label.

In the label, add your desired index term, and click Add. By default, a label is converted into a primary index term. To generate a secondary or tertiary index term, insert a forward slash character between the index terms.


The label fruits/apple/haralson will be converted into a primary index term 'Fruits', a secondary index term 'Apple', and a tertiary index term 'Haralson'.

Prior to exporting, within the export dialog box you must enable Index terms > Convert Labels to Index Terms, in order for the index to generated

Generate index terms using the Scroll Indexterm macro 

Firstly, insert the Scroll Indexterm macro in front of a term you want to index.

Then, edit the macro, and enter the primary index term in the Primary field, and (if wanted) add a secondary and tertiary index terms in the Secondary and Tertiary fields. 

Additionally, if you export content as context-sensitive help, you can also enter a keyword in the Title field and this will be displayed in a list when multiple link targets for a keyword are available.

Add an index to your export template

Once you have generated your index terms, you are ready to add an index to your export template.