Insert Index Entry

Marks the selected text as index or table of contents entry.

To access this command...

Choose Insert - Table of Contents and Index - Index Entry

Open Insert toolbar, click



To edit an index entry, place the cursor in front of the index field, and then choose Edit - Reference - Index Entry...

You can leave the Insert Index Entry dialog open while you select and insert entries.



Select the index that you want to add the entry to.


Displays the text that is selected in the document. If you want, you can enter a different word for the index entry. The selected text in the document is not changed.

1st key

Makes the current selection a subentry of the word that you enter here. For example, if you select "cold", and enter "weather" as the 1st key, the index entry is "weather, cold".

2nd key

Makes the current selection a sub-subentry of the 1st key. For example, if you select "cold", and enter "weather" as the 1st key and "winter" as the 2nd key, the index entry is "weather, winter, cold".

Phonetic reading

Enter the phonetic reading for the corresponding entry. For example, if a Japanese Kanji word has more than one pronunciation, enter the correct pronunciation as a Katakana word. The Kanji word is then sorted according to the phonetic reading entry. This option is only available if Asian language support is enabled.

Main Entry

Makes the selected text the main entry in an alphabetical index. LibreOffice displays the page number of the main entry in a different format than the other entries in the index.


Entries using the paragraph format "Heading X" (X = 1-10) can be automatically added to the table of contents. The level of the entry in the index corresponds to the outline level of the heading style.

Note Icon

This option is available only for table of contents and user-defined index entries.

Apply to all similar texts

Automatically marks all other occurrences of the selected text in the document. Text in headers, footers, frames, and captions is not included.

You cannot use the function for an Entry that you entered manually in this dialog.

Tip Icon

To include all occurrences of a text passage in an index, select the text, choose Edit - Find & Replace, and click Find All. Then choose Insert - Table of Contents and Index - Index Entry and click Insert.

Match case

Distinguishes between uppercase and lowercase characters.

Whole words only

Searches for whole words or cells that are identical to the search text.


Marks an index entry in your text.


Closes the dialog.

New user-defined index

Opens the Create New User-defined Index dialog where you can create a custom index.


Enter a name for the new user-defined index. The new index is added to the list of available indexes and tables.

Using Tables of Content and Indexes