To remove a link in Excel, right-click the linked cell and select Remove Hyperlink to keep its text. For several linked cells, select them together, right-click the selection, and choose Remove Hyperlinks. These steps apply to ordinary cell hyperlinks in Excel for Microsoft 365 and Excel 2024 for Windows.
A link created with a HYPERLINK formula needs a different approach: replace the formula with its displayed value. The Windows instructions below apply to those same Excel editions unless another requirement is specified, while Mac and web options are identified separately.
The short version
- One cell: Right-click the linked cell and choose Remove Hyperlink to keep its text.
- Several cells: Select the linked cells, right-click, and choose Remove Hyperlinks.
- Keep formatting: In Windows Excel, select Home > Editing > Clear > Clear Hyperlinks.
- Formula links: Pasting Values over a copied formula replaces it with its displayed result.
- Future links: Turn off automatic hyperlink creation in Excel’s AutoCorrect settings.
| What you need | Method | Applies to |
|---|---|---|
| Keep text when removing one link | Remove Hyperlink or Remove Link | Windows |
| Remove several or all worksheet links | Select cells, then Remove Hyperlinks | Windows |
| Keep text and formatting | Clear Hyperlinks on the ribbon | Windows |
| Replace a formula with its displayed result | Copy, then paste Values | Windows |
| Remove an ordinary link in a browser | Remove Hyperlink | Excel for the web |
| Discard a link and its cell text | Delete | Windows and web |
| Discard content, formatting, and comments | Clear All | Windows |
| Discard a graphic and its link | Select the graphic with Ctrl, then Delete | Windows |
| Undo a newly created automatic link | AutoCorrect Options > Undo Hyperlink | Windows |
| Stop automatic links from the popup | Stop Automatically Creating Hyperlinks | Windows |
| Prevent typed addresses becoming links | AutoFormat As You Type setting | Windows |
| Prevent automatic links on Mac | AutoCorrect preference | Microsoft 365 and Excel 2024 for Mac |
| Prevent automatic screenshot links | Do not automatically hyperlink screenshot | Windows where the option is available |
| Paste external text without links | Ctrl + Shift + V | Web in Edge or Chrome |
| Reach removal with the keyboard | Shift + F10, then Remove Hyperlink | Windows and web |
| Clear ordinary links with VBA and keep formatting | Selection.ClearHyperlinks | Desktop Excel with VBA on Windows or Mac |
| Remove ordinary links and formatting with VBA | Selection.Hyperlinks.Delete | Desktop Excel with VBA on Windows or Mac |
| Remove links with Office Scripts | ExcelScript.ClearApplyTo.hyperlinks | Eligible Microsoft 365 accounts on supported platforms |
Remove a hyperlink from one cell
Removing an ordinary cell hyperlink keeps the cell’s text. In Windows Excel, right-click the linked cell and select Remove Hyperlink. Microsoft also uses the label Remove Link in its Windows instructions, so choose that command when your menu uses that wording.
You can reach the removal command with the keyboard, too. Use the ↑, ↓, ←, or → key to select the linked cell, then press Shift + F10 to open its context menu. Use ↑ or ↓ to select Remove Hyperlink, then press Enter.
Remove several links or clear a whole worksheet
Bulk removal clears ordinary hyperlinks from the selected cells while retaining their text. In Windows Excel, select the cells containing the links, right-click the selection, and choose Remove Hyperlinks.
For a sheet-wide change, use Ctrl + A to select all cells. If the worksheet contains data, the first press can select only the current region, so press Ctrl + A again until the entire worksheet is selected, or select the Select All button where the row and column headings meet. Then right-click the selection and choose Remove Hyperlinks. Repeat the process on other worksheets that contain links you want to remove.
Keep text and formatting with Clear Hyperlinks
The ribbon’s Clear Hyperlinks command removes hyperlinks attached to cells while retaining their text and formatting. In Windows Excel, select the relevant cells, rows, or columns. Select Home > Editing > Clear > Clear Hyperlinks.
Choose this option when keeping the existing cell formatting matters. Check the command carefully: Clear Contents also removes cell content, and Clear All discards content, formatting, and comments. For a link produced by a HYPERLINK formula, use the values conversion below.
Fix links created by a HYPERLINK formula
Converting a HYPERLINK formula to a value removes the formula and keeps its displayed result. In Windows Excel, select the cell containing the formula and press Ctrl + C. Right-click the same cell and choose Values under the paste options.
The cell now contains the displayed value in place of the formula. Use this method for formula-based hyperlinks; the ordinary hyperlink removal methods above apply to links attached to cells.
Remove links in Excel for the web
For an ordinary hyperlink in Excel for the web, removal keeps the cell’s text. Select the linked cell with ↑, ↓, ←, or → to avoid opening its destination. Right-click the cell and select Remove Hyperlink.
The keyboard route also works in the web version. With the cell selected, press Shift + F10, use ↑ or ↓ to select Remove Hyperlink, and press Enter. The Windows Menu key is another way to open the context menu in Excel for the web.
When bringing text into Excel for the web from another application, you can paste it without carrying its hyperlinks across. In Microsoft Edge or Chrome, copy the external text, select the destination in Excel for the web, and press Ctrl + Shift + V to paste plain text. This method applies specifically to content copied from outside Excel for the web.
Stop Excel from creating links automatically on Windows
Immediately after Excel turns entered text into a hyperlink, you can undo that automatic conversion. Point to the text, select the AutoCorrect Options button, and choose Undo Hyperlink. This AutoCorrect feature applies to Windows Excel and excludes Excel for the web.
To prevent further automatic links from the same popup, point to the text Excel just converted. Select AutoCorrect Options > Stop Automatically Creating Hyperlinks. This changes future automatic link creation rather than removing existing links in bulk.
You can also change the setting through Excel’s options. Select File > Options > Proofing > AutoCorrect Options > AutoFormat As You Type. Uncheck Internet and network paths with hyperlinks, then select OK and OK again.
After that change, subsequently typed addresses will not automatically become hyperlinks. Existing hyperlinks remain, so remove those separately with the cell, selection, or formula method that matches them.
Stop automatic hyperlinks on Mac
Excel for Microsoft 365 for Mac and Excel 2024 for Mac have a separate AutoCorrect preference for future automatic hyperlinks. Select Excel > Preferences... > AutoCorrect. Uncheck Replace internet and network paths with hyperlinks to prevent subsequent automatic hyperlink creation.
Remove ordinary hyperlinks with VBA
If you use VBA macros, you can remove ordinary hyperlinks from selected cells or the active worksheet. These methods apply to desktop Excel with VBA, including Microsoft 365 and Excel 2024 on Windows and Mac. For HYPERLINK formulas, use the Windows values-conversion method instead.
The ClearHyperlinks method retains cell formatting. Select the cells you want to change, then execute this line in a VBA macro:
Selection.ClearHyperlinksTo clear ordinary hyperlinks across the active worksheet instead, execute ActiveSheet.Cells.ClearHyperlinks in the macro. To run the procedure, select Developer > Macros, select its name, and select Run.
The alternative Hyperlinks.Delete method removes cell formatting as well as hyperlinks. If you want both removed, select the target cells and execute this line in a VBA macro:
Selection.Hyperlinks.DeleteUsing the worksheet version also removes cell formatting along with its hyperlinks. To apply it to the active worksheet, execute ActiveSheet.Hyperlinks.Delete instead. Select Developer > Macros, select the procedure’s name, and select Run.
Remove hyperlinks with Office Scripts
Office Scripts is an option for eligible Microsoft 365 accounts using Excel for the web, Windows version 2210 or later, or Mac. For organizational accounts, availability depends on licensing and administrator settings. Microsoft lists Personal and Family availability as a preview requiring the Microsoft 365 Insider program.
Select the target cells, then select Automate > New Script > Create in Code Editor. The next step replaces the script’s default code. Replace it with the following code, then select Run:
function main(workbook: ExcelScript.Workbook) { workbook.getSelectedRange().clear(ExcelScript.ClearApplyTo.hyperlinks); }The alternative below removes cell formatting as well as hyperlinks. If you want that result, substitute ExcelScript.ClearApplyTo.removeHyperlinks for ExcelScript.ClearApplyTo.hyperlinks in the script, then select Run.
Frequently Asked Questions
How do you delete both a hyperlink and its cell text?
This removes the hyperlink and the cell’s text. Select the linked cell and press Delete in Excel for Microsoft 365 or Excel 2024 for Windows, or in Excel for the web. In those Windows editions, you can also right-click the cell and choose Clear Contents, or select Home > Editing > Clear > Clear Contents.
How do you clear a linked cell completely, including its formatting?
Using Clear All discards the selected cells’ content, formatting, and comments. In Excel for Microsoft 365 or Excel 2024 for Windows, select the relevant cells, then choose Home > Editing > Clear > Clear All.
How do you delete a picture that contains a hyperlink?
Deleting a linked graphic removes both the graphic and its hyperlink. In Excel for Microsoft 365 or Excel 2024 for Windows, hold Ctrl and click the graphic to select it, then press Delete.
Can you stop Excel from automatically linking inserted screenshots?
Excel for Microsoft 365 and Excel 2024 for Windows include a screenshot hyperlink setting in installations that provide this option. Select File > Options > Advanced, then under Editing options, select Do not automatically hyperlink screenshot and select OK. This setting applies to screenshot hyperlinks, not ordinary typed URLs.