Document Editing Problems

Fix Word Bookmarks and Hyperlinks That Show File Paths

Kushani NimanthikaKushani Nimanthika Nov 25, 2026 868 views

Question details

The user needs Word bookmarks and hyperlinks to display the intended text instead of local file paths after reopening a document.

Fix Word Bookmarks and Hyperlinks That Show File Paths
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.
Before you start

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.

Solution 1Recommended

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.

1
Toggle field codes

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.

2
Inspect the hyperlink

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.

3
Save and reopen

Select File > Save, close the document, and reopen it to check whether the intended link text remains visible.

Check Field-Code Display and Hyperlink Settings in Word
If Alt+F9 does not help: The reported document still showed the problem after this toggle. Check the link settings and consider rebuilding the manual table of contents.
Free Microsoft Office alternative

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.

Edit document text and hyperlinks in WPS WriterCompatible with Microsoft Word DOC and DOCX formatsFamiliar interface for a smoother transition from Microsoft OfficeFree and lightweight office tools
microsoft office alternative - wps office

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.