When you paste or type a URL in Word, the application automatically converts it into a hyperlink with blue underlined text. This behavior is controlled by Word’s AutoFormat As You Type settings, which apply globally to the entire document. If you want to keep hyperlinks in most of your document but prevent them from appearing in specific paragraphs such as a reference list, code block, or legal disclaimer, you need a targeted method. This article explains how to stop automatic hyperlink formatting on selected paragraphs without turning off the feature for the whole document.
Key Takeaways: Disable Hyperlink Formatting on Specific Paragraphs Only
- Ctrl+Shift+F9 (Insert > Quick Parts > AutoText > Paste as plain text): Pastes a URL as plain text, removing any hyperlink formatting that would otherwise be applied automatically.
- File > Options > Proofing > AutoCorrect Options > AutoFormat As You Type > Internet and network paths with hyperlinks: Turning this off globally stops ALL automatic hyperlinks, but is not the targeted method described here.
- Paste Special > Unformatted Text (Alt+Ctrl+V): Inserts the URL without any formatting, including hyperlinks, and can be used on a per-paragraph basis.
How Word’s Automatic Hyperlink Feature Works
Word’s AutoFormat As You Type feature detects text that matches a URL pattern, such as “https://example.com” or “www.example.com”, and automatically applies the Hyperlink character style. This style is defined by blue font color and underlining. The feature is enabled by default and applies to all paragraphs in the document. The underlying mechanism is a real-time pattern-matching process that runs as you type or paste text. When Word identifies a string that looks like a web address, it instantly modifies the formatting and inserts a hyperlink field code. This field code stores the target URL and makes the text clickable. Disabling the feature globally removes this behavior everywhere, but it also means you lose the convenience of automatic hyperlinks in sections where you want them, such as in the body of an email or a citation.
Steps to Disable Automatic Hyperlink Formatting on Specific Paragraphs
The most reliable method to prevent hyperlink formatting on a specific paragraph is to paste URLs as plain text. This bypasses Word’s automatic detection. The following steps assume you have already typed or pasted a URL that Word has formatted as a hyperlink. If you are pasting new content, use method one. If you need to fix existing hyperlinks, use method two.
Method 1: Paste URLs as Plain Text
- Copy the URL
Select the URL from your browser or source and press Ctrl+C to copy it. - Position your cursor in the target paragraph
Click at the exact location where you want the URL to appear in the paragraph. - Use Paste Special
Press Alt+Ctrl+V to open the Paste Special dialog box. Alternatively, go to the Home tab, click the Paste drop-down arrow, and select Paste Special. - Select Unformatted Text
In the Paste Special dialog, choose Unformatted Text and click OK. The URL is inserted as plain text without any hyperlink formatting. - Repeat for each URL in that paragraph
If the paragraph contains multiple URLs, repeat steps 1 through 4 for each one.
Method 2: Remove Hyperlinks from Existing URLs in a Specific Paragraph
- Select the entire paragraph
Triple-click inside the paragraph to select it, or drag your cursor across all the text. - Remove all hyperlinks at once
Press Ctrl+Shift+F9. This command removes all field codes in the selection, including hyperlinks. The text remains, but the blue underline formatting is removed. - Restore the original font color (optional)
If the text was blue, select the paragraph and press Ctrl+Spacebar to reset the font to the default paragraph font, or manually change the font color to Automatic or black. - Verify the result
Hover over the former URL text. The hyperlink tooltip should no longer appear, and the text should not be clickable.
Method 3: Configure Word to Not Hyperlink in a Specific Style
If you frequently need to prevent hyperlinks in a certain type of paragraph, such as code blocks or disclaimers, you can modify the paragraph style to suppress hyperlinks. This method is more advanced and requires using the VBA editor or a custom style.
- Create a custom paragraph style
On the Home tab, in the Styles group, click the Styles dialog launcher. Click New Style. Name it something like “NoHyperlinks.” Set the font to your desired appearance. - Apply the style to your target paragraphs
Select the paragraphs where you want to disable hyperlinks and click the new style in the Styles pane. - Use a macro to remove hyperlinks on style apply (optional)
Press Alt+F11 to open the VBA editor. Insert a new module and paste the following code:Sub AutoOpen()
Dim para As Paragraph
For Each para In ActiveDocument.Paragraphs
If para.Style = "NoHyperlinks" Then
para.Range.Hyperlinks.Delete
End If
Next para
End Sub
This macro runs when the document opens and removes all hyperlinks from paragraphs using the custom style.
Common Issues and Things to Avoid
Word Reapplies the Hyperlink After You Remove It
If you remove a hyperlink using the right-click menu or the Backspace key, Word may reapply it when you type a space after the URL. This happens because the AutoFormat As You Type feature is still active. Use Ctrl+Shift+F9 to permanently remove the hyperlink field code, or paste the URL as plain text from the start.
The Paste Special Dialog Does Not Appear
If Alt+Ctrl+V does not open the Paste Special dialog, the keyboard shortcut may be assigned to another function. Go to File > Options > Customize Ribbon > Customize next to Keyboard shortcuts. Reset the keyboard shortcuts to default, or manually assign the PasteSpecial command to a new shortcut. You can also access Paste Special from the Home tab by clicking the Paste drop-down arrow.
Turning Off Hyperlinks Globally Affects All Paragraphs
Some users try to disable hyperlinks by going to File > Options > Proofing > AutoCorrect Options > AutoFormat As You Type and unchecking Internet and network paths with hyperlinks. This stops all automatic hyperlinks in the document. If you only want to disable them in specific paragraphs, do not use this method. Use the per-paragraph techniques described above instead.
Copying and Pasting from a Web Browser Keeps Hyperlinks
When you copy text from a web page and paste it into Word, the hyperlinks are preserved as field codes. To strip them, always use Paste Special > Unformatted Text, or paste with Ctrl+Shift+V if your version of Word supports that shortcut. Alternatively, paste normally and then press Ctrl+Shift+F9 on the pasted paragraph.
Paste Methods for URL Text: Plain Text vs Keep Source Formatting
| Item | Paste as Plain Text (Alt+Ctrl+V) | Paste with Keep Source Formatting (Ctrl+V) |
|---|---|---|
| Hyperlink behavior | No hyperlink is created | Hyperlink is created automatically |
| Font formatting | Inherits the paragraph’s font | Retains source font color and size |
| Field code inserted | None | HYPERLINK field code |
| Best used for | Reference lists, code blocks, legal disclaimers | Body text where clickable links are desired |
You can now prevent automatic hyperlink formatting on specific paragraphs in Word without disabling the feature for your entire document. Use Paste Special with Unformatted Text when entering new URLs, and press Ctrl+Shift+F9 to clean up existing hyperlinks. For repeated use in a document, consider creating a custom paragraph style and applying it to target paragraphs. As an advanced tip, combine the Ctrl+Shift+F9 shortcut with a keyboard macro to remove hyperlinks from the entire selection with a single keystroke.