Working in Microsoft Word documents containing dynamic tables of contents, page numbers, hyperlinks, or mail merge fields occasionally results in an alarming visual transformation: entire sections of document text are suddenly replaced with cryptic syntax wrapped in curly brackets, such as { PAGE }, { NUMPAGES }, { HYPERLINK "https://..." }, or { MERGEFIELD CustomerName }. This is not document corruption; it occurs when Word’s field code display toggle is inadvertently triggered via keyboard shortcut or application preferences.
Toggle Global Field Codes View via Keyboard Shortcut
Microsoft Word includes a universal hotkey toggle that switches between raw field definitions and evaluated text values:
- Click anywhere inside your Microsoft Word document.
- Press Alt + F9 on your keyboard (or Option + F9 on macOS). On laptops with multimedia keys, press Fn + Alt + F9.
- Word will instantly evaluate all field codes across the entire document, replacing all bracketed syntax with clean formatted text, numbers, and active hyperlinks.
- If only a single specific field is displaying syntax (e.g. an individual page number in the header), click inside that specific bracketed area and press Shift + F9 to toggle that single field independently.
Disable Field Codes in Word Advanced Options
If Word continues opening documents with raw field codes displayed by default:
- Click File in the top-left corner and select Options.
- In the Word Options dialogue, click Advanced in the left sidebar.
- Scroll down to the section titled Show document content.
- Locate the checkbox labelled Show field codes instead of their values.
- Ensure this checkbox is unticked.
- Click OK to permanently save the preference.
Ensure Fields Update on Document Print Preview
Under File > Options > Display, verify that Update fields before printing is ticked so all fields render correct values when exporting to PDF or sending to physical printers.