Skip to content
Word Made Easy Shop
Home Word Tutorials Word Templates Resources Google Docs PowerPoint Tutorials YouTube Videos
Home Word Tutorials Word Templates Resources Google Docs PowerPoint Tutorials YouTube Videos Shop

How to Create an Index in Word: 3 Easy Steps

Microsoft Word, Word Productivity & Automation

Updated 13 November 2026 · By Patrick Elliott

If you want to know how to create an index in Word, you only need to mark a few entries, insert the index field, and let Word generate the rest automatically. This is exactly the same logic behind a table of contents in Word, just keyword-driven instead of heading-driven. It’s the cleanest way to make a long document genuinely searchable.

In this guide, you’ll learn how to mark index entries, insert and format the index, update it after edits, build subentries, and fix the most common indexing problems.


Contents hide
1 What Is an Index in Word?
2 How to Create an Index in Word: Step-by-Step
3 Method 1: How to Create an Index in Word by Marking Entries
4 Why You See XE Codes After Marking Entries
5 Method 2: How to Create an Index in Word by Inserting the Index Field
6 Method 3: How to Create an Index in Word That Updates Automatically
7 Which Method Should You Use?
8 Create Subentries in an Index
9 Common Problems When Creating an Index in Word
10 Pro Tips for a Cleaner Index
11 FAQs
12 Conclusion
13 Related Tutorials
14 Word Tutorials

What Is an Index in Word?

An index is an alphabetised list of keywords and the page numbers where each one appears, usually placed at the very end of a long document. It’s the reader’s shortcut — instead of skimming chapters or running Ctrl+F, they jump straight to the topic they need.

Use one when your document is:

  • A book, eBook, or manual readers will reference repeatedly
  • A technical guide where specific terms matter more than chapter titles
  • An academic paper, dissertation, or long report
  • Training material where readers need to find concepts fast

Unlike a table of contents in Word, which is generated automatically from your heading styles, an index is built manually — you tell Word which words to track, and it does the page-number bookkeeping for you.


Watch the Video Tutorial

If you prefer to see this in action, the full video walkthrough is below, showing each method step by step.


How to Create an Index in Word: Step-by-Step

There are three core stages — mark the entries you want, insert the index, then keep it updated as the document grows. Follow them in order and Word handles the page numbering automatically.


Method 1: How to Create an Index in Word by Marking Entries

Word can’t guess which words you want indexed. Every entry has to be flagged first so it knows what to track.

Steps to Mark an Entry

  1. Highlight the word or phrase you want to index.
  2. Go to the References tab.
  3. Click Mark Entry, or press Alt + Shift + X.
Microsoft Word References tab Mark Entry button highlighted to create an index in Word
  1. In the Mark Index Entry dialog, confirm the term appears under Main Entry.
  2. Click Mark to index that one instance, or Mark All to index every occurrence in the document.
  3. Click Close when you’re done.
Mark Index Entry dialog box in Word showing Mark and Mark All buttons for indexing a keyword

👉 Word inserts a hidden field code that looks like { XE “your term” } next to the word. That’s the marker the index pulls from later — it doesn’t print and it doesn’t affect your layout.


Why You See XE Codes After Marking Entries

The moment you mark your first entry, Word switches formatting marks on automatically. That’s where the XE codes come from — they’re not damage, they’re the index doing its job.

  • XE codes mark every word you’ve indexed
  • They never appear in the printed or exported document
  • They make it easy to spot what’s already been indexed at a glance

To toggle them off (or back on) any time:

  1. Go to the Home tab.
  2. Click the Show/Hide (¶) button — or press Ctrl + Shift + 8.

👉 Keep them visible while indexing — it’s far easier to spot duplicates and missed terms when you can see what’s already tagged. If they’re getting in your way for unrelated reasons, see the full guide on how to remove formatting marks in Word.


Method 2: How to Create an Index in Word by Inserting the Index Field

Once your entries are marked, you can build the index itself. This is where Word turns all those hidden XE codes into a clean, alphabetised list.

Steps to Insert an Index

  1. Place your cursor where the index should appear — usually a new page at the very end of the document.
  2. Go to the References tab.
  3. Click Insert Index.
References tab Insert Index button in Word for creating an index page in a long document
  1. Choose your formatting options — number of columns, style (Indented or Run-in), and whether page numbers align right.
  2. Use the Print Preview panel to check how it will look.
  3. Click OK.
Index dialog box in Word showing column count set to one for formatting an index layout

👉 Word builds the index instantly — alphabetised, with every marked term and its page number. Two columns reads better in books and manuals; one column works fine for short reports.


Method 3: How to Create an Index in Word That Updates Automatically

The index doesn’t refresh itself. If you add entries, delete a paragraph, or your pagination shifts — and it will, especially if you’ve inserted page numbers in Word — you need to tell Word to rebuild it.

Steps to Update the Index

  1. Click anywhere inside the index to select it.
  2. Right-click and choose Update Field, or press F9.
Word document showing XE field codes and using F9 key to update and remove index entries

👉 To add a new entry later, highlight the term, press Alt + Shift + X, click Mark All, then hit F9 to pull it into the index. To remove an entry, find its { XE “…” } code, select the whole code including the braces, press Delete, and update with F9.


Which Method Should You Use?

MethodBest ForSpeed
Mark EntriesSelecting which keywords appear in the indexSlowest — manual
Insert Index FieldGenerating the alphabetised list of termsInstant
Update with F9Refreshing page numbers after editsInstant

👉 All three are part of the same workflow — mark, insert, update. Skip any one of them and the index won’t reflect what’s actually in the document.


Create Subentries in an Index

Subentries group related terms under a single parent — useful when you’ve got a topic with multiple facets. For example, a main entry of Formatting with subentries for Font Size, Line Spacing, and Margins.

  1. Highlight the related phrase in your document.
  2. Press Alt + Shift + X to open the Mark Index Entry dialog.
  3. Type the parent topic into the Main Entry field.
  4. Type the child term into the Subentry field.
  5. Click Mark, then close the dialog.
  6. Press F9 inside the index to refresh.

👉 The index now shows the parent term in bold with the subentries listed and indented underneath — much easier to scan than a flat alphabetical list.


Common Problems When Creating an Index in Word

Entries Not Appearing in the Index

The entry was never marked, or the index wasn’t refreshed after marking. Check the term has a visible { XE “…” } code next to it, click inside the index, and press F9.

Strange Codes Showing Throughout the Document

Those are XE field codes — completely normal. They’re visible because formatting marks are on. Press Ctrl + Shift + 8 to hide them. They won’t print or export either way.

Page Numbers Are Out of Date

The index doesn’t auto-refresh. Click inside it and press F9 after any edit that changes pagination — adding sections, inserting images, changing margins.

An Entry Won’t Go Away

You’ve deleted the visible word but the XE code is still there. With formatting marks on, find the { XE “…” } code, select it including both braces, press Delete, then update the index with F9.


Pro Tips for a Cleaner Index

  • Build the index after the document is finished — marking entries while you’re still writing means re-running F9 every time pagination shifts.
  • Be ruthless about what you index. Over-indexed documents read like a glossary and lose their usefulness.
  • Use consistent terminology — “formatting” and “formatting tools” will appear as two separate entries even though they’re the same idea.
  • For long technical documents, pair the index with structured navigation — see the guide on how to create automatic chapters in Microsoft Word so readers can move through the document by section and look things up by keyword.
  • Keep formatting marks visible while indexing, then toggle them off before final export.

FAQs

How do I create an index in Word?

To create an index in Word, highlight each term you want to include, press Alt + Shift + X to mark it, then go to References → Insert Index to generate the list. Press F9 inside the index any time you need to refresh it.

What’s the difference between an index and a table of contents?

A table of contents lists headings in the order they appear and is generated from heading styles. An index lists keywords alphabetically and is built from terms you mark manually. Most long documents use both.

Do XE index entries print in Word?

No. XE field codes are hidden text — they’re visible only when formatting marks are turned on. They never appear in printed copies, PDFs, or exported documents.

Can I add subentries to an index in Word?

Yes. In the Mark Index Entry dialog, put the parent term in the Main Entry field and the child term in the Subentry field. The index will list subentries indented under their parent.

How do I update an index in Word after editing?

Click anywhere inside the index, then press F9. Word rebuilds the whole index with the current page numbers and any newly marked entries.

How do I remove an index entry in Word?

Turn on formatting marks with Ctrl + Shift + 8, find the { XE “term” } code next to the word, select the entire code including both braces, and press Delete. Update the index with F9.

When should I create an index?

Create it once the document is structurally finished. Marking entries before final edits means refreshing the index repeatedly as pagination shifts.


Conclusion

Learning to create an index in Word turns a long, hard-to-navigate document into something readers can actually use. The workflow is short — mark the terms that matter, drop in the index field, refresh with F9 whenever the document changes.

Get the index right and the rest of your document organisation falls into place — pair it with a proper table of contents in Word and your readers have both top-down navigation and keyword-level search built straight into the document.


Related Tutorials

  • How to Create a Table of Contents in Word
  • How to Insert Page Numbers in Word
  • How to Remove Formatting Marks in Word

Word Tutorials

Recently Added on Word Made Easy

  • How to Mail Merge Certificates in Word: 7 Easy Steps

    November 12, 2026
  • How to Split a Cell in Word: 2 Easy Methods

    November 11, 2026
  • How to Add Mendeley Citations in Word: 9 Easy Steps

    November 11, 2026

Browse the complete collection for help with formatting, layout, pages, tables, images, and document setup.

View all Word tutorials
Watch on YouTube

For Microsoft support documentation, visit the official Microsoft guidance.

← PreviousHow to Turn Off Dark Mode in Word: 5 Easy Methods
Next →How to Do a Hanging Indent in Word: 3 Easy Methods

Leave a comment Cancel reply

Stuck on a step, or know a quicker way? Ask or share it below.

Meet the Author

Patrick Elliott standing outdoors holding his dog.

I’m Patrick Elliott, the creator of Word Made Easy. I’ve worked in schools for over 10 years and I’m now an Inclusion Lead in the UAE. I use Microsoft Word and PowerPoint every day for planning, documentation and classroom resources.

Every guide is tested step by step before publishing (usually in Microsoft 365), and every free template is one I made myself in Word. You’ll also find practical walkthroughs on my YouTube channel.

Browse

  • Word TutorialsStep-by-step guides for every feature
  • Word Beginners HubFree 12-chapter Word course
  • Word TemplatesFree, editable downloads
  • ResourcesWorksheets, posters and puzzles
  • Word Shortcut Cheat SheetsFree printable PDFs
  • Google Docs TutorialsStep-by-step Docs guides
  • PowerPoint TutorialsClear, simple slide guides
  • YouTube VideosWatch the video walkthroughs

Watch on YouTube

Prefer to watch? Most guides have a short video walkthrough on the Word Made Easy channel.

  • 147videos
  • 1.88Mviews
  • 8,000+subscribers
Subscribe on YouTube

Recently Added

  • Multiplication Arrays Worksheets: 10 Free Printables to 12 × 12 with AnswersNovember 20, 2026
  • Equivalent Fractions Worksheets: 10 Free Printables with Strips and AnswersNovember 20, 2026
  • Tally Marks Worksheets: 10 Free Printables with Tally Charts and AnswersNovember 20, 2026
  • Comparing Fractions Worksheets: 10 Free Fraction Strip Printables with AnswersNovember 20, 2026
  • Comparing Numbers Worksheets: 10 Free Greater Than Less Than PrintablesNovember 20, 2026

Most Downloaded

  • Free Microsoft Word Keyboard Shortcuts Bundle: 14 Cheat Sheets (PDF)78 downloads in the last 30 days
  • Microsoft Word for Beginners: Free Guide and PDF76 downloads in the last 30 days
  • Free ILAW Lesson Plan Templates for Word: English and Filipino (DO 16, s. 2026)67 downloads in the last 30 days
  • Free Fillable Form Templates for Word: 4 Easy Forms63 downloads in the last 30 days
  • Free Printable Alphabet Charts for Word: 5 Easy Designs52 downloads in the last 30 days

About

  • About Me
  • Contact
  • Shop

Microsoft Word

  • All Word Tutorials
  • Page Layout & Sections
  • Tables, Images & Media
  • Formatting Basics
  • Productivity & Automation
  • Beginners Hub
  • Shortcut Cheat Sheets

Word Templates

  • Business
  • Calendars and Planners
  • Home, Health and Money
  • School and Teacher Forms
  • Cards, Invitations and Labels
  • Paper and Grids
  • Holidays and Seasonal

Resources

  • Phonics and Reading
  • Handwriting
  • Writing
  • Maths
  • Puzzles and Activities
  • Classroom Display
  • Study Packs
  • Seasonal
  • Collections

More Tutorials

  • Google Docs Tutorials
  • PowerPoint Tutorials
  • YouTube Videos

Follow Us

  • YouTube
  • Facebook
  • Pinterest
Privacy Policy Cookie Policy Terms of Use
© 2012–2026 Word Made Easy. All rights reserved.
Manage your privacy

To provide the best experiences, we and our partners use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us and our partners to process personal data such as browsing behavior or unique IDs on this site and show (non-) personalized ads. Not consenting or withdrawing consent, may adversely affect certain features and functions.

Click below to consent to the above or make granular choices. Your choices will be applied to this site only. You can change your settings at any time, including withdrawing your consent, by using the toggles on the Cookie Policy, or by clicking on the manage consent button at the bottom of the screen.

Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Statistics

Marketing

Features
Always active

Special features

Special purposes
Always active

  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
Manage options
  • {title}
  • {title}
  • {title}
Manage your privacy
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Statistics

Marketing

Features
Always active

Special features

Special purposes
Always active

  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
Manage options
  • {title}
  • {title}
  • {title}