Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, and Word in Office 365. 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: Weird Hyperlink Behavior.

Weird Hyperlink Behavior

by Allen Wyatt
(last updated February 1, 2020)

9

Has this ever happened to you? You go to insert a hyperlink in your document (either by inserting it or copying it from another location) and the URL for the hyperlink appears with brackets and the word "hypertext" in front of it. What's going on?

The solution is quite simple, if you understand how Word handles hyperlinks behind-the-scenes. Hyperlinks are managed through the use of field codes. Chances are good that this weird behavior is an indication that you are seeing the field code for the hyperlink, instead of the result of that field code (just the link itself).

Try this the next time you see the weird hyperlink: just move the insertion point somewhere between the two brackets and press Shift+F9. The field code for the hyperlink should disappear, replaced with the actual text you have associated with the link. The Shift+F9 shortcut controls the one field code under the insertion point. If you want to display the results of all field codes in your document, instead of viewing the codes themselves, press Alt+F9. You can also follow these steps:

  1. Display the Word Options dialog box. (In Word 2007 click the Office button and then click Word Options. In Word 2010 or a later version, display the File tab of the ribbon and then click Options.)
  2. Click Advanced at the left side of the screen.
  3. Scroll through the available options until you see the Show Document Content section. (See Figure 1.)
  4. Figure 1. The Show Document Content section of the Word Options dialog box.

  5. Clear or select the Show Field Codes Instead of Their Values check box, as desired.
  6. Click on OK.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (12863) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and Word in Office 365. You can find a version of this tip for the older menu interface of Word here: Weird Hyperlink Behavior.

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

AutoFilling with Weekdays

Need to fill a range of cells with the days of the week? Excel makes it easy to do so using AutoFill.

Discover More

Renaming a File

Need to rename a disk file from within a macro? You can do it using the Name command, described in this tip.

Discover More

Understanding Hyphens and Dashes

Word provides you with three types of hyphens and two types of dashes that you can use in your documents. Understanding ...

Discover More

The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies today!

More WordTips (ribbon)

Word Link to Create a New Excel Workbook

It's easy to create and include links in your documents to other sources, in and out of Word. There are some limitations ...

Discover More

Getting Rid of Many Hyperlinks

Need to get rid of hyperlinks that result when you paste information from the Internet into your document? Here's some ...

Discover More

Updating Document Links

If you establish dynamic links between documents, then you can force Word to update those links whenever you want. How ...

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 + 4?

2021-01-19 09:29:03

Shannon

Thank you for this! My cat walked across my keyboard and I couldn't figure out how to undo whatever magic she pulled. This article was quick and concise and helped me fix the problem!


2020-12-20 13:19:23

Bala

Thanks a lot !

Your Tip for the weird behaviour made me save valuable time today. This tip was very much useful and is written in a simple manner without any jargon.

Please keep up the good work.

Thanks once again.

Have a good wek-end!


2020-12-10 14:15:30

TEX

Thank you. I had to unchecked the box to see the link. It worked.


2020-12-10 10:49:59

Mahesh

it worked, Thank you very much


2020-10-16 21:32:35

Kari

Hi Allen
Much gratitude for your "Weird Hyperlink Behavior" - solved the issue for me ❤ Thank you!


2020-09-12 22:35:05

Dorla Grant

Thank you so very much. I forgot I enabled the shift F9 when I was completing mail merge. It did work.


2020-05-19 10:09:08

Kirsten

Thank you, this was so helpful! Instantly fixed the issue I've been having.


2020-05-06 09:13:27

Adam Anderson

Thank you so much for this article. I just started a new job and this was the default behavior and it was driving me nuts.


2020-04-03 17:50:09

Annie

Thanks for all the great info about how to use Word efficiently!

I'm encountering an issue with hyperlinks. Yesterday I could copy and past a hyperlink, and it would be blue and underlined. Today, I get this:

{ HYPERLINK "https://www.google.com/..." }

The Shift+F9 solution above does make it the blue, underlined link (thank you!!!), but how do I revert it to pasting like that automatically?

I tried unchecking the AutoFormat As You Type box "Internet and network paths with hyperlinks" box, to no avail.

Any ideas?
Thanks!


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.