How to Rename a Hyperlink in Word, Google Docs, Gmail, Excel and More
To rename a hyperlink, change its display text and leave the address alone. In most editors you click inside the link and press Ctrl+K (Cmd+K on a Mac) to open the link dialog, then edit the Text to display (or Text) field and confirm. The URL stays the same; only the words people click change.
- Click anywhere inside the existing link (do not follow it).
- Press Ctrl+K on Windows or Cmd+K on a Mac, or right-click the link and choose Edit Hyperlink or Edit link.
- Replace the text in the Text to display field.
- Click OK, Apply or Save.
The shortcut works in Word, PowerPoint, Outlook, Google Docs and Gmail. Below are the exact steps for each app, plus Excel, Slack, Markdown and HTML, where it works differently.
Microsoft Word
Word calls the visible words Text to display.
- Right-click the hyperlink and choose Edit Hyperlink, or click inside it and press Ctrl+K.
- In the Edit Hyperlink dialog, change the Text to display box at the top.
- Leave the Address box unchanged and click OK.
On a Mac, Control-click the link and choose Edit Hyperlink, or press Cmd+K.
For descriptive link text, write what the reader gets ("2026 pricing sheet") rather than "click here". That also makes the document more accessible, because screen readers often read links out of context.
Google Docs and Google Slides
- Click the link. A small link preview appears beneath it.
- Click Change (the pencil icon labeled Edit link in some versions).
- Edit the Text field. The Link field holds the address.
- Click Apply.
Ctrl+K (Cmd+K on Mac) also opens the link editor when your cursor is inside a link. In the Google Docs mobile app, tap the link, then tap Edit link.
In Google Sheets, right-click the cell with the link and choose Edit link to get the same Text and Link fields.
Gmail
In a message you are writing:
- Click the link in the compose window. A bubble appears with Change and Remove.
- Click Change.
- Edit Text to display, then click OK.
To create a link with custom text from scratch, select the words, press Ctrl+K (Cmd+K on Mac), paste the address and click OK. You cannot change the link text in a message you have already sent.
Outlook
In a new email, reply or forward in classic Outlook, the new Outlook for Windows, or Outlook on the web:
- Click inside the link.
- Press Ctrl+K, or right-click the link and choose the edit link option.
- Change the display text and click OK or Save.
As in Word, Outlook will turn pasted URLs into links automatically. Selecting a pasted URL and pressing Ctrl+K lets you replace the raw address with readable text.
Microsoft PowerPoint
- Right-click the link text and choose Edit Link (or Edit Hyperlink, depending on version), or select it and press Ctrl+K.
- Change Text to display and click OK.
If the link is on a picture or a shape rather than on text, there is no display text to rename. Edit the text inside the shape instead, or add a ScreenTip in the same dialog so people see a description when they hover.
Microsoft Excel
Excel has two kinds of links, and they are renamed differently.
Links inserted with Ctrl+K: right-click the cell, choose Edit Hyperlink, change Text to display and click OK.
Links made with the HYPERLINK function: the display text is the second argument, called friendly_name. Edit the formula:
=HYPERLINK("https://example.com/report", "Q3 sales report")The first argument is the address and the second is what the cell shows. If you leave friendly_name out, the cell displays the address itself. The second argument can also point to another cell, so you can rename a whole column of links by editing the cells they reference:
=HYPERLINK(B2, A2)Slack
Slack's message box has no "edit link" dialog, but you can set the text before you send:
- Type the words you want people to click and select them.
- Press Ctrl+Shift+U (Cmd+Shift+U on Mac), paste the URL and confirm. Or, with a link already copied, select the text and press Ctrl+V to link it directly.
To rename a link in a message you already sent, open the message's menu, choose Edit message, and change the linked text. If you have switched Slack to markup formatting, use [text](url) as in Markdown.
Markdown
In Markdown, the text in square brackets is the display text and the address goes in parentheses. Rename the link by editing the bracketed part:
[Read the setup guide](https://example.com/setup)This works on GitHub, in Notion (where you can also select the link and use Cmd/Ctrl+K), Obsidian, Reddit's Markdown mode and most documentation tools.
HTML
In HTML, the link text is whatever sits between the opening and closing a tags:
<a href="https://example.com/setup">Read the setup guide</a>Change the words between <a ...> and </a> and leave the href alone. If the link is an image, the accessible name comes from the image's alt text instead.
Renaming a Link vs Renaming What It Points To
Changing link text only changes the label. If the link points to a file on your computer or in a shared drive, renaming that file will break the link instead: the address still has the old name. Update the address in the same dialog after renaming the file. For renaming the files themselves, see how to rename a file, how to rename a Word document and how to rename an Excel file.
Frequently Asked Questions
How do I rename a hyperlink in Word?
Right-click the link and choose Edit Hyperlink, or click inside it and press Ctrl+K. Change the Text to display box, leave the Address unchanged, and click OK.
How do I change the text of a link in Google Docs?
Click the link, click Change in the preview that appears, edit the Text field and click Apply. Pressing Ctrl+K (Cmd+K on Mac) inside the link opens the same editor.
How do I change the display name of a hyperlink in Excel?
For a normal link, right-click the cell, choose Edit Hyperlink and change Text to display. For a HYPERLINK formula, edit the second argument, friendly_name, for example =HYPERLINK("https://example.com", "Report").
Does changing the link text change where the link goes?
No. The display text and the address are stored separately. Editing the text only changes what people see and click; the destination stays the same unless you also edit the address.
How do I hyperlink text instead of showing the URL?
Select the words you want to link, press Ctrl+K (Cmd+K on Mac), paste the address and confirm. This works in Word, Outlook, PowerPoint, Google Docs and Gmail. In Markdown, write your text.
Related Posts
How to Rename a Word Document (Windows, Mac, Web, Phone and Google Docs)
How to rename a Word document in File Explorer, Finder, Word for Microsoft 365, Word for the web and the mobile app, plus what to do when the file is open.
TutorialHow to Rename an Excel File (and How to Rename a Sheet Tab)
How to change the file name of an Excel workbook on Windows, Mac and the web, how to rename a sheet tab, and how to rename many files from an Excel list.
GuideHow to Rename a Column in Google Sheets (What Actually Works)
Google Sheets column letters can't be renamed, but you can name columns with a header row, a named range or a table. Step-by-step for each, plus freezing.
Ready to organize your files?
Try AI renaming right away. No sign-up needed until you download.
Try It Free