Fix Word Bookmarks and Hyperlinks That Show File Paths
Question details
The user needs Word bookmarks and hyperlinks to display the intended text instead of local file paths after reopening a document.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- A document contains bookmarks and hyperlinks, including a manually created table of contents.
- Observed behavior
- Local file paths appear in the document after it is reopened. Toggling field codes with Alt+F9 did not resolve the reported case.
Open the affected document and identify whether the visible path appears as part of a hyperlink or as a field code in braces. Check whether the affected links are in a manually created table of contents.
Check Field-Code Display and Hyperlink Settings in Word
Use this check to distinguish visible field codes from hyperlinks with incorrect display text or targets.
In Word for Windows, press Alt+F9 to switch between field codes and their results. Alternatively, open File > Options > Advanced and clear “Show field codes instead of their values” under Show document content.
Right-click an affected hyperlink and select Edit Hyperlink. Check “Text to display” and the address or bookmark destination, then correct either value if needed.
Select File > Save, close the document, and reopen it to check whether the intended link text remains visible.

Replace a Manual Table of Contents with an Automatic Word TOC
Use an automatic table of contents when manually created entries or links are causing problems.
Create a Replacement Document or Repair Office
Try a replacement document if the problem is limited to one file; consider an Office repair if it also occurs in other documents.
Work with Word Documents in WPS Writer
WPS Office is a free, lightweight alternative with a familiar interface for working on documents. Open compatible Word files in WPS Writer to continue editing as you migrate between office suites; it does not repair Microsoft Word itself.

Frequently Asked Questions
Why does Word show a hyperlink field code instead of link text?
Field-code display may be enabled. In Word for Windows, press Alt+F9, or open File > Options > Advanced and clear “Show field codes instead of their values” under Show document content.
How do I check where a Word hyperlink points?
Right-click the hyperlink and select Edit Hyperlink. Review the address or bookmark destination and the “Text to display” setting.
What can I do if Alt+F9 does not fix the visible paths?
Check each affected link using Edit Hyperlink. If the links are part of a manual table of contents, apply Heading styles and insert an automatic table from References > Table of Contents.
When should I repair Microsoft Office?
If the behavior occurs in multiple documents, an Office repair may help. On Windows, find Microsoft 365 or Office under Settings > Apps > Installed apps, select Modify, and follow the repair prompts.




