Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, and 2013. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Getting Rid of Many Hyperlinks.

Getting Rid of Many Hyperlinks

by Allen Wyatt
(last updated September 13, 2014)

4

Do you create documents by pasting information that was copied from the Internet? This is not unusual for some people, as there is quite a bit of public-domain information that can be copied from the Internet. When you paste your information into a document, you may notice that there are quite a few hyperlinks in your documents. What if you want to get rid of those hyperlinks?

There are several ways you can approach this problem. One of the easiest ways is to simply change how you paste your information. If you do a simply Ctrl+V to paste, then Word tries to retain as much of the formatting and other attributes of the original text as it can, including hyperlinks. (This is not to say that hyperlinks are strictly formatting; they are not. They are really fields—but more on that in a moment.)

Instead of pasting using Ctrl+V, use Paste Special to paste Unformatted Text. (You use Paste Special by displaying the Home tab of the ribbon, clicking the down arrow under the Paste tool, and then choosing Paste Special.) Word then inserts the information as plain text, without any formatting. It also does not make hyperlinks active in the document. After pasting in this method, you can proceed to format the text as you want.

Another solution is to convert all the hyperlinks to regular text. After doing your paste, press Ctrl+A to select the entire document and then press Ctrl+Shift+F9. As mentioned earlier, hyperlinks are implemented through the use of fields. If you press Ctrl+Shift+F9, then any selected fields are converted to their results and the fields are removed. Thus, the hyperlinks are removed.

There are two drawbacks to this approach. First, not only are the hyperlinks removed, but so are all the other fields in your document. (If you have other fields, you should understand that they will be affected, as well.) The second drawback is that the formatting of your hyperlinks is still there—they show as blue and underlined.

The first drawback is easy to compensate for, provided you don't mind using a macro. The following macro quickly removes all hyperlinks in a document, without affecting any other fields:

Sub KillLinks()
    Do Until ActiveDocument.Hyperlinks.Count = 0
        ActiveDocument.Hyperlinks(1).Delete
    Loop
End Sub

Even after running the macro, the formatting issue still remains—they hyperlinks are formatted as blue and underlined. You can get rid of the formatting by using the Find and Replace feature of Word, but how you use it depends on how the hyperlinks were created.

When you are typing in a document and you type some sort of recognizable electronic address (an e-mail address or a URL), Word automatically formats the address using the Hyperlink style. In that case, you can search for any text using the Hyperlink style, and replace it without the Hyperlink style. (Remember—this doesn't remove the hyperlink, just the Hyperlink style.)

When you paste information in a document, the hyperlinks are formatted differently; Word doesn't use styles to format them. Instead, it formats the hyperlinks explicitly as blue and underlined. In this case, you need to search explicitly for blue and underlined text and replace it with text that is not blue and not underlined.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (13244) applies to Microsoft Word 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Word here: Getting Rid of Many Hyperlinks.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Printing AutoCorrect Entries

If you want to print a list of all the AutoCorrect entries in your document, Word doesn't provide a method. You can use the ...

Discover More

Unhiding Columns that are Persistently Hidden

If you were trying to format a worksheet and nothing you did could make the first two columns appear, would you be ...

Discover More

Controlling the View in Drive

Drive lets you organize and work with files that it stores for you. It also gives you control over how you view the files it ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More WordTips (ribbon)

Counting Internal Links

Word allows you to easily add hyperlinks to your documents. These links can be to either a bookmark within your document or ...

Discover More

Weird Hyperlink Behavior

When you insert a hyperlink, you expect it to look like, well, a hyperlink. But what if it really looks like some strange ...

Discover More

Associating a Name with a Position

Wouldn't it be great if Word allowed you to have a small pop-up that showed you some information associated with a special ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 9 - 2?

2015-03-17 17:37:48

lemmy caution

"Another solution is to convert all the hyperlinks to regular text. After doing your paste, press Ctrl+A to select the entire document and then press Ctrl+Shift+F9. As mentioned earlier, hyperlinks are implemented through the use of fields. If you press Ctrl+Shift+F9, then any selected fields are converted to their results and the fields are removed. Thus, the hyperlinks are removed."

This is beautiful. This just saved me from a fricking nightmare.


2014-09-16 07:09:55

Rick Irwin

I so the following macro to remove hyperlinks, color and underline.
Sub RemoveHyperlinks()
' Removes the hyperlink the color and underline

Dim oField As Field
For Each oField In ActiveDocument.Fields
If oField.Type = wdFieldHyperlink Then
oField.Unlink
End If
Next
Set oField = Nothing
Selection.WholeStory
Selection.Font.Color = wdColorAutomatic
Selection.Font.Underline = wdUnderlineNone
End Sub

End Sub


2014-09-15 00:07:15

Phil Reinemann

I have a Word macro that handles this much better... I've used it since Word 2003 or before. Put some or all of this in a macro:

If Selection.StartIsActive Then
Selection.Delete
End If
Selection.PasteSpecial DataType:=wdPasteText

That last part (the actual pasting) is one line of adjacent characters except for a space between ...Special and DataType. (I only mention that because this comment box is so narrow it wraps.) Deleting what was there is because I'm often replacing selected text. If you have your caret (mouse pointer) between two characters the text is inserted (assuming you don't have overwrite turned on).


2014-09-13 10:57:51

Michael (Micky) Avidan

As a fair disclosure only - you may "save" one key by using the keys combination: Ctrl+6.
(The key "6" on the horizontal keyboard digits line)
Michael (Micky) Avidan (MVP - Excel)
“Microsoft® Answers" - Wiki author & Forums Moderator
“Microsoft®” MVP – Excel (2009-2015)


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.