How Do You Create An Index? | Steps For MS Word

You create an index by identifying specific terms in your document using the Mark Entry tool, then inserting the compiled list via the References tab.

A well-structured index transforms a dense manuscript into a navigable resource. Readers rely on this alphabetical list to locate specific concepts, names, and topics without scanning every page. While automated search functions exist, a curated index provides context and hierarchy that simple searching cannot match. Most academic and professional documents require this feature for final publication.

Microsoft Word remains the standard tool for this task, though methods exist for other word processors. The process involves two distinct phases: marking the keywords throughout the text and generating the final layout. You control the depth, cross-references, and formatting to suit your specific audience.

Getting Started With Index Markers

The foundation of any index is the “tagging” process. Word processors do not automatically know which words matter. You must explicitly tell the software which terms belong in the back of the book. This creates a hidden code next to the word, known as an XE (Index Entry) field.

Viewing hidden formatting

Before you begin, you need to see what you are doing. Index markers are invisible by default. If you mark a word and see nothing happen, you might repeat the action and clutter the file.

  • Go to the Home tab — Locate the Paragraph group in the ribbon.
  • Click the Paragraph mark (¶) — This toggles the display of non-printing characters.
  • Verify the view — You should now see dots between words and paragraph symbols at the end of lines.

Keeping this view active prevents accidental deletions of index markers later. It also helps you spot spacing errors that might affect the final page count.

How Do You Create An Index? – MS Word Steps

Microsoft Word offers the most robust tools for indexing. The workflow moves from detailed selection to broad generation. You can handle this entry-by-entry or apply a bulk change for specific terms.

Marking Individual Entries

This method offers the highest precision. You choose exactly which occurrence of a word points to a meaningful reference, ignoring casual mentions that might frustrate a reader.

  • Select the text — Highlight the specific word or phrase you wish to index.
  • Open the dialog box — Go to the References tab and click Mark Entry in the Index group. Alternatively, press Alt + Shift + X.
  • Configure the entry — The selected text appears in the “Main entry” field. You can edit this text to appear differently in the index (e.g., changing “cats” to “Felines”).
  • Mark the location — Click Mark to tag just this instance. Click Mark All to tag every instance of this exact text in the document.

Once you click Mark, Word inserts a field that looks like { XE "Text" }. This code holds the data for the final compilation. The dialog box stays open so you can click back into the document, highlight a new word, and repeat the process immediately.

Creating Sub-entries

Complex topics often require a hierarchy. A main heading like “Planets” might need sub-headings for “Mars,” “Venus,” and “Jupiter.”

  • Type the main category — In the Mark Entry box, ensure the “Main entry” field contains the broad topic (e.g., Planets).
  • Add the specific detail — Type the specific term (e.g., Mars) in the “Subentry” field.
  • Check the format — The index will eventually display “Planets” with “Mars” indented beneath it.

Adding Cross-References

Sometimes a reader looks for a term you did not use. For example, they look for “Automobiles” but you indexed them under “Cars.” You need a cross-reference.

  • Select the referenced option — In the Mark Entry box, look under Options.
  • Choose Cross-reference — The radio button usually defaults to “Current page.” Switch it to “Cross-reference.”
  • Type the directive — After the word “See,” type the term where the information actually lives (e.g., Cars).

This tells Word not to list a page number for “Automobiles,” but instead to print “See Cars.” This keeps the index clean and directs traffic to the correct terminology.

Generating And Formatting The List

Once you have marked your entries, you must compile them. This step reads all the XE codes and builds the physical list with page numbers.

Inserting the field

Move your cursor to the end of the document. Most writers place the index on a fresh page after the bibliography or appendices.

  • Go to References — Click the Insert Index button.
  • Choose the layout — A dialog box appears offering style choices. You can set the number of columns (usually two) and the language.
  • Right align page numbers — Check this box if you want page numbers to line up on the right margin. This often looks cleaner for academic texts.
  • Add tab leaders — If you right-align numbers, choose a leader style (dots or lines) to connect the word to the number visually.

Applying styles

Word provides several preset formats in the “Formats” dropdown menu. “From Template” uses your document’s default styles. “Classic,” “Fancy,” and “Modern” apply specific fonts and spacing rules. Preview the look in the top window before committing.

Click OK. Word scans the file and produces the index. If you see code like { INDEX \c "2" \z "1033" } instead of a list, press Alt + F9 to toggle field codes off.

Automating With A Concordance File

Marking every word manually in a 300-page book takes hours. If you already know your keyword list, you can use a concordance file (AutoMark) to speed up the process.

Building The Source Table

You need a separate Word document to act as your dictionary.

  • Create a two-column table — Open a blank document and insert a 2×10 table (or however many rows you need).
  • Fill column A — Type the exact word you want Word to find in your manuscript (e.g., “labrador”).
  • Fill column B — Type the index entry you want generated (e.g., “Dogs: Labrador”).
  • Save the file — Name it clearly, like “IndexList.docx”.

Running The AutoMark

Return to your main manuscript to apply this list.

  • Open Insert Index — Go to References > Insert Index.
  • Select AutoMark — Click the AutoMark… button on the right side.
  • Choose your file — Navigate to “IndexList.docx” and select it.

Word will instantly search the entire manuscript. Wherever it finds the text from Column A, it inserts an XE code using the text from Column B. This handles the bulk of the work, allowing you to review and refine rather than starting from zero.

Updating And Editing The Index

Documents change. You might add a paragraph that pushes a topic from page 10 to page 11. The index does not update live; you must trigger it.

Refreshing the data

Click anywhere inside the gray area of the generated index. Press F9 on your keyboard, or right-click and select Update Field. Word re-scans the document and adjusts all page numbers to match the current layout.

Fixing typos

You cannot simply type over the final index text. If you fix a typo in the generated list, it will revert to the error next time you update. You must fix the source.

  • Locate the error — Turn on paragraph marks (¶).
  • Find the XE code — Use Ctrl+F to find the misspelled entry in the body text.
  • Edit the bracket text — Change { XE "Elephent" } to { XE "Elephant" } directly in the code.
  • Update the index — Right-click the index list and hit Update Field.

Indexing In Google Docs

Google Docs does not have a native “Mark Entry” feature comparable to Word. When you ask how do you create an index in this cloud software, the answer involves manual linking or third-party add-ons.

Manual method

This approach requires typing the list yourself and hyperlinking page numbers. Since Google Docs page numbers shift with browser sizing, this is unreliable for print. It works best for digital-only PDFs where you link to headings (bookmarks) rather than page numbers.

Using extensions

For a true back-of-book index, you need an add-on. Tools like “Page Sizer” or specific indexing extensions available in the Google Workspace Marketplace can mimic Word’s functionality. They scan the doc and generate a list, but they often lack the granular control of sub-entries and cross-references found in desktop software.

Best Practices For A Professional Index

Knowing the technical steps differs from building a useful tool. A bad index lists every occurrence of the word “and.” A good index anticipates how the reader thinks.

Select Significant References

Do not Mark All for common nouns unless every mention adds value. If a book mentions “Einstein” 50 times, but only three pages discuss his theories in depth, index only those three pages. A string of page numbers like “5, 8, 12, 15, 22, 29…” looks messy and helps no one.

Use Consistent Naming

Decide early on your naming conventions. Do not index “Cars” on page 5 and “Automobile” on page 10. Pick one primary term and use cross-references for the others. Group singular and plural forms under one heading to avoid splitting information.

Limit The Depth

Avoid going deeper than three levels (Main Heading > Sub-heading > Sub-sub-heading). Anything deeper becomes difficult to read in narrow index columns. If you need a fourth level, consider breaking the main heading into its own distinct category.

Troubleshooting Common Errors

Even with careful marking, strange formatting can occur. Here are quick fixes for common issues.

Bold or Italic Page Numbers

If the page numbers appear bold in the index, the XE code likely copied the formatting of the marked word. If you marked a bold heading, the index tag might be { XE "Heading" \b }. Delete the \b inside the hidden brackets to un-bold the page number in the final list.

Missing Entries

If a marked term fails to appear, check that the field code is correct. Ensure the brackets are standard field braces created by the system, not typed characters. Also, check that you did not accidentally mark the entry as a “Page Range” without defining the bookmark.

Wrong Alphabetical Order

Sometimes you want to sort items differently than they spell. For example, “St. John” should arguably be sorted as “Saint.” You can force this sort order in the Mark Entry dialog box by using the “Options” area to define a specific sort key.

Key Takeaways: How Do You Create An Index?

➤ Mark specific words using the Alt+Shift+X shortcut for speed.

➤ Reveal hidden formatting to see and edit your XE field tags.

➤ Use the Insert Index command to compile marked tags into a list.

➤ Update the index field manually (F9) after any text changes.

➤ Automark with a concordance file to speed up long documents.

Frequently Asked Questions

Can I create an index for a PDF?

You cannot generate a dynamic index directly inside a finished PDF. You must create the index in the source file (like Word or InDesign) before exporting. If you only have the PDF, you need specialized PDF editing software to build linked bookmarks manually, which is tedious.

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

A table of contents appears at the front and lists chapters in chronological order to show the book’s structure. An index appears at the back and lists specific terms alphabetically to help readers find isolated details, names, or concepts across non-sequential pages.

How do I delete an index entry?

You cannot delete an entry by editing the final index list. You must find the hidden { XE } code next to the word in the document body and delete that code. After deleting the code, update the index field to remove the line.

Why are my page numbers wrong?

Page numbers shift whenever you add or remove text. If your index numbers do not match the content, you likely haven’t updated the field. Right-click the index and select “Update Field” to sync the numbers with the current layout.

Can I index two words under one entry?

Yes. You can mark “cats” and “kittens” to both appear under the entry “Felines.” In the Mark Entry box, simply type “Felines” in the Main Entry field for both words. They will point to their respective pages under the single header.

Wrapping It Up – How Do You Create An Index?

Building an index requires a mix of technical execution and editorial judgment. While tools like Microsoft Word automate the heavy lifting of page tracking and alphabetizing, the quality of the output depends on your selection of terms. You must distinguish between a casual mention and a valuable reference.

Start by marking your entries as you write, or dedicate a specific editing phase to tagging. Use the “Show/Hide” feature to manage your codes and keep the document clean. Remember to update the field as your final step before printing/exporting. By following these steps, you ensure your document is accessible, professional, and easy to navigate for any reader.