How to Remove or Hide HYPERLINK Field Codes in Word on Mac
Question details
The user needs to remove or hide raw HYPERLINK field codes and URLs that are displaying in a Word document instead of the normal clickable hyperlink text.

- Product
- Microsoft Word
- Device & OS
- macOS
- Scenario
- Editing an existing document where hyperlinks unexpectedly display their underlying field codes, disrupting the readability of the text.
- Observed behavior
- The document shows raw HYPERLINK codes and URLs instead of standard linked text. The default Option+F9 shortcut sometimes fails to toggle the view, especially in older or conflicting versions of Word.
Before making bulk changes to field codes, ensure your Mac's Function (Fn) key is working correctly, and save a backup copy of your document to prevent accidental data loss when unlinking fields.
Toggle Field Codes Using the Option+F9 Shortcut
This is the fastest method to switch between displaying raw field codes and their normal text values. Use this if the document accidentally entered field code view.
Microsoft Word has a built-in shortcut designed to toggle the display of all field codes in a document. Depending on your Mac's keyboard settings, you may need to hold the Fn key to make the F9 key register properly.
Launch Microsoft Word and open the document displaying the HYPERLINK field codes.
Press 'Option + F9' simultaneously on your keyboard. If your Mac requires the Function key for F-row commands, press 'Fn + Option + F9' instead.
Check the document to confirm that the HYPERLINK codes have been replaced by standard clickable text.

Manually Disable Field Codes in Word Preferences
If the keyboard shortcut does not work, you can manually disable the field code view through Word's global view preferences.
Unlink the HYPERLINK Fields
Use this method if you want to permanently remove the field code logic and convert the display into static, plain text.
Open and Edit Word Documents on Mac Flawlessly with WPS Office
If you are dealing with Microsoft Word for Mac version conflicts, licensing issues, or stubborn field code errors, try WPS Office. It is a highly compatible, free, and lightweight alternative that opens your .docx files seamlessly without layout or formatting glitches.
- 1. Download and Install: Visit the official WPS website to download the free WPS Office suite for Mac and follow the simple installation prompts.
- 2. Open WPS Writer: Launch WPS Office and open the Writer application, which is fully compatible with Microsoft Word documents.
- 3. Load your document: Open your .docx file to immediately view your hyperlinks correctly formatted without exposed field codes.

Frequently Asked Questions
Why does my Word document suddenly show HYPERLINK field codes instead of text?
This usually happens when the 'Show field codes instead of their values' setting is accidentally toggled on, often by inadvertently pressing Option+F9 or due to specific document-level preferences overriding your global Word settings.
What should I do if Option+F9 doesn't work on my Mac?
Depending on your Mac's keyboard configuration, standard F-keys might be mapped to system controls (like screen brightness). You may need to press the 'Fn' key simultaneously (Fn + Option + F9) to trigger the shortcut in Word.
Does unlinking a hyperlink field remove the text?
No, unlinking a field (by pressing Cmd+Shift+F9 on Mac) does not delete your text. It simply removes the underlying code and the clickable link functionality, converting the field into static, plain text.
Can an outdated version of Word cause field code display issues?
Yes. Older versions of Word can sometimes experience rendering bugs or conflicts with newer macOS updates. If field code toggles do not respond, updating to a more recent version of Word may resolve the problem.




