Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, and 2021. 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: Making Live URLs Into Normal Text.

Making Live URLs Into Normal Text

Written by Allen Wyatt (last updated June 29, 2019)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, and 2021


Word, being the well-connected program that it is, has a feature that automatically converts a URL into a hyperlink. While you can turn off the feature so that Word doesn't do the conversion, you may have documents that already contain the link fields. That, or you may get a file from someone else who did not disable the feature. In these instances, you may be looking for ways in which to remove the existing hyperlinks. There are several ways you can approach this problem.

The first (and easiest) way to remove the hyperlinks is to simply position the insertion point somewhere within the link and then press Ctrl+Shift+F9. This converts the field code back to regular text, without the link. In fact, if you don't use fields in your document for anything except hyperlinks, you can remove every hyperlink by simply selecting the entire document (press Ctrl+A) and then pressing Ctrl+Shift+F9. You should realize, however, that if there are other fields in your document, this action results in them being converted to plain text as well.

Another easy way to convert hyperlinks to regular text is to right-click the hyperlink you want to remove and choose Remove Hyperlink from the Context menu. If you have quite a few documents where you need to remove hyperlinks or you have quite a few hyperlinks in your document, then even this simple technique can become tedious after a while. In this instance, you may want to create a macro to do the work for you. The following macro, RemoveHyperLinks, removes all the hyperlinks in a document and makes sure that the AutoFormat feature for creating hyperlinks is turned off:

Sub RemoveHyperlinks()
    While ActiveDocument.Hyperlinks.Count > 0
        ActiveDocument.Hyperlinks(1).Delete
    Wend
    Application.Options.AutoFormatAsYouTypeReplaceHyperlinks = False
End Sub

This macro does not harm any other fields within your document. You should note, however, that it only affects hyperlinks that appear within the main portion of your document. If you have hyperlinks in other areas (such as in footnotes or endnotes), then those won't be touched. Instead, you'll need a macro that specifically looks at hyperlinks in the "story" used by those elements. Here's a macro that will work for both footnotes and endnotes, removing all the hyperlinks they may contain:

Sub RemoveFNH()
    Dim h As Hyperlink
    Dim J As Integer

    With ActiveDocument
        If .Footnotes.Count >= 1 Then
            With .StoryRanges(wdFootnotesStory)
                For J = .Hyperlinks.Count To 1 Step -1
                    .Hyperlinks(J).Delete
                Next J
            End With
        End If

        If .Endnotes.Count >= 1 Then
            With .StoryRanges(wdEndnotesStory)
                For J = .Hyperlinks.Count To 1 Step -1
                    .Hyperlinks(J).Delete
                Next J
            End With
        End If
    End With
End Sub

Note that this macro takes a different approach than the earlier one. Not only does it work in the proper stories for footnotes and endnotes, but it steps backward through the Hyperlinks collection instead of continually deleting the first hyperlink in the Hyperlinks collection.

Note:

If you would like to know how to use the macros described on this page (or on any other page on the WordTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (8713) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and 2021. You can find a version of this tip for the older menu interface of Word here: Making Live URLs Into Normal Text.

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

Jumping to Styles in the Task Pane

Mouse versus keyboard selection of styles in Word.

Discover More

Searching for Comment Marks

Got a bunch of comments in your document? You can easily jump from one comment to the other by using the Object Browser, ...

Discover More

Non-PivotTable Slicers and Timelines

When working with a PivotTable, slicers and timelines can make short work of large data sets. This tip looks at all the ...

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2013. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word 2013 Step by Step today!

More WordTips (ribbon)

Closing Documents after a Hyperlink

When you click a hyperlink that takes you to another document, Word dutifully opens the new document in its own window. ...

Discover More

Pasting a Hyperlink

When you paste information into a document, you can specify that it be inserted as a hyperlink rather than as normal ...

Discover More

Hyperlink Formatting

Word, as you type, normally formats hyperlinks automatically. If you don't like the way that hyperlinks look in a ...

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}] (all 7 characters, in the sequence shown) 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 7 - 7?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


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.

Videos
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.