In the article below, we will introduce you how to find, change and delete hyperlinks in your Word document.
Hyperlinks in a Word document are very convenient. We can click it to quickly jump to the corresponding web page. Moreover, Word provides a feature which can convert the text into hyperlink automatically. However, sometimes it is not desirable. In one of our article “3 Ways to Prevent Word from Auto Creating Hyperlink“, we show you how to prevent Word from auto convert text into hyperlink. Actually, there is one more way to do that task.
Use “Paste Special” Option
- When you finish copying a text, click “Paste” in “Clipboard” group. For example, we here copy a sample text as below:
- Then choose “Paste Special”.
- In “Paste Special” dialog box, choose “Unformatted Text”.
- And click “OK”.
Now you can see all formats disappear including hyperlinks.
Now let’s see another situation. If you get a long document with thousands of hyperlinks from your colleague, you may want to change or delete some of them.
Below we will first introduce the basic two parts of a hyperlink, and then propose a method to quickly find or locate multiple hyperlinks. And finally, we will give out several methods to modify or remove the hyperlinks in your document.
Two Parts of a Hyperlink
Actually, hyperlink in Word document is a special text, which contains the following two parts:
- Anchored Text: this is the visible and clickable text in a hyperlink. In the example below, the blue words “DataNumen Word Repair” is the “Anchored Text”:
- Link: this refers to the Internet address to which the anchored text links. You cannot see it directly.
Usually, it is the “Anchored Text” that is shown on your document. To view the “Link” part, you can press “Alt + F9”. Below is an example:
Simply press “Alt + F9” again, and you can switch back to “Anchored Text”.
Find All Hyperlinks in a Document
- First, press keyboard shortcuts “Alt+ F9”. You can see all hyperlinks turn into their “Link” parts now.
- Press “Ctrl + H” to open the “Find and Replace” dialog box.
- Click “Find”.
- Then type “^d HYPERLINK” in “Find what” text box.
- Next click “Reading Highlight”.
- Choose “Highlight All”.
Now you can achieve the effect as below:
- Then all the hyperlinks will be highlighted.
- You can also click “Find Next” button to locate each hyperlink one by one.
Change Multiple Hyperlinks in Batch
Let’s say, if you want to migrate your website from http to its secure version, i.e., https. Then you need to change the following link:
to its https version:
It is obviously not convenient to change all links one by one manually, especially when a file contains thousands of them. Following is the solution:
Since there are two parts in a hyperlink, you need to change both of them.
To change the “Anchored Text” part of the hyperlink:
- Press “Ctrl + H” to open the “Find and Replace” dialog box.
- Type “http://” in “Find what” text box.
- Then type “https://” in “Replace with” text box.
- Click “Replace All”. Now you shall finishing replacing the “Anchored text” part.
To change the “Link” part of the hyperlink:
- Press “Alt + F9” to switch to the “Link” part.
- And press “Ctrl + H” to open the “Find and Replace” dialog box.
- Type “https://www.datanumen.com” in “Find what” text box.
- Type “https://www.datanumen.com” in “Replace with” text box.
- Click “Replace” or “Replace All” button.
Now you have replaced both parts of the hyperlink.
Other than finding or changing hyperlinks, sometimes you may also want to remove them. Following are four methods you can use:
Remove Hyperlinks – Method 1: Right Click
- First thing, select a hyperlink in your Word document.
- Then right click.
- Choose “Remove Hyperlink” option on the menu.
Now you can see the Hyperlink no more. Generally speaking, this is perhaps the most common way to carry out the performance. It’s simple. However, it’s probably not the quickest way to do so when there are thousands of hyperlinks in a document.
Method 2: Use “Format Painter”
In case you have no patience to delete hyperlinks one by one manually, you can check out the following steps.
- First, repeat steps in method 1.
- Next, select the row where the disabled hyperlink lies.
- Now, double click the “Format Painter” icon in “Clipboard” group.
- Then drag your cursor to select the content which contains the rest hyperlinks.
Check the video below:
When you finish the steps above, all hyperlinks shall be gone. Comparing with method 1, this one can be a real time saver. Meanwhile, it’s not that complicated.
Method 3: Use “Replace” Feature
- To use this way, you have to finish all steps in “Steps to Find All Hyperlinks in a Document” first. Make sure you have pressed “Alt + F9” to change to the “Link” view.
- Then in “Find and Replace” dialog box, click “Replace”.
- Type “^d HYPERLINK” in “Find what” text box.
- Finally click “Replace All”.
Method 4: Use Macro in Word
You can also realize deleting hyperlinks in batch by using macro in Word.
- To begin with, press “Alt+ F11” to open “Microsoft Visual Basic for Applications” window.
- Next, double click “This Document” on the left tree view.
- Copy the following code and paste them on the right editing area:
Sub RemoveLinks()
‘ Enumerate all the hyperlinks and remove them in the document
While ThisDocument.Hyperlinks.Count > 0
ThisDocument.Hyperlinks(1).Delete
Wend
End Sub
- Then click the green “Run Sub” button. Or you can simply press “F5”. Both operations can start running the macro.
Comparison of 4 Removal Methods
Methods | Advantages | Disadvantages |
Right Click |
Simple |
You can only remove one hyperlink at a time, which can waste you much time. |
Use “Format Painter” |
1. Simple
2. It’s able to remove multiple hyperlinks in batch, but you need to manually select the related contents. |
You have to click and hold on to scroll down so as to select the whole document which can cost time. |
Use “Replace” Feature |
It’s able to remove multiple hyperlinks in batch. |
You have to remember the codes “^d HYPERLINK”. |
Use Macro in Word |
It’s able to remove multiple hyperlinks in batch. |
You have to use VBA codes which is a bit complex for beginners. |
Deal with Crashed Files
Frequent switching between webpages and documents can result in Word file corruption. To recover word and bring back your files, you need to use the built-in recovery function in Word. Certainly, for better recovery experience, you can take a third-party tool to do it.
Author Introduction:
Vera Chen is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including excel recovery and pdf repair software products. For more information visit www.datanumen.com