Change the visible text while keeping the link destination the same
When you edit a hyperlink, you can change what readers see on the page — the display text — without changing where the link actually goes. The steps differ depending on whether you are working in Microsoft Word, Google Docs, a website builder, or plain HTML. In all cases, you are separating the visible words from the underlying web address.
The display text is what appears in color on your screen. The URL (web address) is hidden underneath. Changing one does not affect the other unless you accidentally delete it. Most programs let you edit both separately, or edit just the display text while the URL stays locked in place.
Key Takeaways
- Right-click or control-click a hyperlink to open an edit menu in Word, Google Docs, and most web builders.
- Look for an option labeled "Edit Link," "Link Settings," or "Change Link" — the exact wording varies by program.
- Change only the display text field if you want to keep the same destination; change only the URL field if you want to keep the same visible words pointing somewhere new.
- In HTML, the display text goes between the opening and closing tags, and the URL goes in the href attribute — editing one does not touch the other.
- After you make changes, test the link by clicking it to confirm it still goes where you intended.
Editing hyperlinks in Microsoft Word
Right-click the hyperlink text in your document. A menu will appear with several options. Select "Edit Link" or "Edit Hyperlink" — the exact label depends on your Word version. A dialog box opens showing both the display text and the URL field.
To change only what readers see, edit the text in the "Display Text" or "Text to Display" field. Leave the "Address" field alone. To change where the link goes, edit the "Address" field and leave the display text unchanged. Click "OK" when you are done. The change takes effect immediately in your document.
If you cannot find an "Edit Link" option, try right-clicking again and looking for "Hyperlink" or "Link Options." In some Word versions, you may need to hold Ctrl and right-click instead of a single right-click.
Editing hyperlinks in Google Docs
Click anywhere on the hyperlink text. A small preview box will pop up showing the URL. Click the pencil icon (edit button) in that preview box. A larger editing window opens with fields for the display text and the URL.
Change the display text in the top field if you want readers to see different words. Change the URL in the bottom field if you want the link to point somewhere else. You can edit both at once or just one. Click "Update" to save your changes.
Alternatively, you can right-click the hyperlink and select "Edit Link" from the context menu. This opens the same editing window. Either method works equally well.
Editing hyperlinks in website builders and content management systems
The process varies slightly depending on which platform you use — WordPress, Wix, Squarespace, or others — but the principle is the same. Click or select the hyperlink text on your page. Look for a link icon in the toolbar, or right-click and choose "Edit Link" or "Link Settings."
A dialog or sidebar will appear with fields for the display text and the destination URL. Edit whichever field you need to change. Some builders show these fields side by side; others stack them vertically. After you make your changes, click "Save," "Apply," or "Update" depending on what your platform calls the confirmation button.
If you are working in a visual editor (what you see is what you get), you may also be able to simply select the display text and type new words without opening a dialog at all. The URL will remain unchanged as long as you do not touch the link settings.
Editing hyperlinks in HTML
In HTML, a hyperlink looks like this: <a href="https://example.com">Click here</a>. The URL goes inside the href attribute (the part in quotes after href=). The display text goes between the opening tag <a href="..."> and the closing tag </a>.
To change only the display text, edit the words between the tags: <a href="https://example.com">New text here</a>. The URL stays the same. To change only the destination, edit the URL inside the quotes: <a href="https://newsite.com">Click here</a>. The display text stays the same.
After you make changes, save your file and test the link in a browser to confirm it works as intended.
What to do if you cannot find the link editing option
If right-clicking does not show a link menu, the text may not actually be a hyperlink yet, or it may be formatted in a way your program does not recognize. Try clicking directly on the text first to select it, then right-click. Some programs require you to click precisely on the link itself, not just near it.
If you are in a document or editor that does not support hyperlinks (like a plain text file), you will need to switch to a program that does — Word, Google Docs, or a web editor. Plain text files cannot store hyperlinks at all.
If you are editing someone else's document and the link is protected or locked, you may not have permission to change it. Ask the document owner to unlock it or make the change for you.
Testing your changes
After you edit a hyperlink, always click it to make sure it still works and goes where you intended. A broken link or a link pointing to the wrong place will confuse readers and damage your credibility.
If the link does not work, go back and check both the display text and the URL. Make sure the URL is spelled correctly and includes the full web address (usually starting with http:// or https://). If you changed only the display text and the link still does not work, the URL itself may have been wrong to begin with.
Frequently Asked Questions
Can I change a hyperlink's display text without changing where it goes?
Yes. In the link editing dialog, change only the display text field and leave the URL field untouched. The link will point to the same destination but show different words to readers.
What if I accidentally delete the URL while editing?
The link will break. If you have not saved yet, use Undo (Ctrl+Z or Cmd+Z) to restore it. If you have saved, go back into the link editor and type the correct URL again. Keep a copy of important URLs in a separate document so you can paste them back if needed.
Does changing a hyperlink affect the original website or document it points to?
No. Changing a link in your document only changes what your document does. The website or file the link points to is not affected at all. You can change the display text or the destination URL without any impact on the target.
Can I change multiple hyperlinks at once?
In most programs, you have to edit hyperlinks one at a time. Some advanced tools or scripts can batch-edit links, but standard Word, Google Docs, and web builders require individual edits. Select each link and follow the steps above.
Why does my hyperlink look different after I change it?
Hyperlinks are usually formatted in a specific color (often blue) and underlined. If your new display text looks different, it may be because the formatting did not carry over. Re-apply the hyperlink formatting or copy the formatting from another link in the same document.