To clear links in Excel, right-click the cell or selected range and select Remove Hyperlink from the context menu. This process removes the clickable URL or internal document reference while keeping the original text intact, preventing accidental navigation and cleaning up the visual appearance of your spreadsheet. Depending on whether you are dealing with a single link, a large block of data, or external workbook references, the method varies from a simple right-click to using the Edit Links tool in the Data tab.
What You'll Need
- A computer with Microsoft Excel installed (Windows or macOS).
- An open Excel workbook containing the hyperlinks or external data links you wish to remove.
- Administrator or Edit permissions for the file if it is stored on a shared network drive or cloud service like OneDrive.
Step-by-Step
Method 1: Removing Individual or Small Groups of Hyperlinks
This is the most straightforward method for cleaning up a few scattered links. Note that menu labels may differ slightly based on your version of Excel or region.
- Open your Excel workbook and locate the cell containing the hyperlink.
- Right-click directly on the cell. A context menu will appear.
- Scroll to the bottom of the menu and select Remove Hyperlink.
- The blue underlined text will immediately convert to standard black text, but the words themselves remain in the cell.
- If you have a small group of adjacent links, click and drag to highlight the range first, then right-click any cell within that selection and choose Remove Hyperlink.
Method 2: Clearing All Hyperlinks in a Sheet Simultaneously
When dealing with hundreds of links, manual right-clicking is inefficient. Use this method to strip all hyperlinks from a specific area or the entire worksheet.
- Press Ctrl + A (Windows) or Command + A (Mac) to select all cells in the current worksheet. If you only want to clear a specific section, click and drag to select that range.
- Right-click anywhere inside the highlighted selection.
- Select Remove Hyperlinks from the menu.
- If you see an option that says Clear Hyperlinks instead, this will remove the link but may keep the blue underlined formatting. To remove both the link and the formatting, you may need to use the Clear menu on the Home tab.
- Navigate to the Home tab on the ribbon.
- In the Editing group (usually on the far right), click the Clear button (represented by an eraser icon).
- Select Clear Hyperlinks to remove the link functionality, or Clear All to wipe the cell content, formatting, and links entirely.
Method 3: Breaking External Workbook Links (Data Connections)
External links are different from hyperlinks; these are formulas that pull data from another Excel file. Removing these requires the Edit Links tool.
- Go to the Data tab on the top ribbon.
- In the Queries & Connections group, look for the Edit Links button. If this button is greyed out, your workbook contains no external formula links.
- Click Edit Links to open the Sources dialog box. This window lists every external file your current workbook is referencing.
- Select the source file(s) you want to disconnect from the list. You can hold Ctrl to select multiple sources.
- Click the Break Link button on the right side of the dialog box.
- A warning message will appear stating that breaking links converts formulas to their current values. Click Break Links to confirm.
- Click Close to return to your spreadsheet. The formulas are now static values.
Method 4: Preventing Excel from Creating Automatic Links
If you find it tedious to constantly clear links, you can stop Excel from automatically turning web addresses and emails into clickable hyperlinks as you type.
- Click the File tab in the top left corner.
- Select Options at the bottom of the left-hand menu.
- In the Excel Options window, select Proofing from the left sidebar.
- Click the AutoCorrect Options... button.
- Navigate to the AutoFormat As You Type tab.
- Under the Replace as you type section, uncheck the box labeled Internet and network paths with hyperlinks.
- Click OK on the AutoCorrect window and OK on the Excel Options window.
Common Mistakes
One of the most frequent errors is confusing Clear Hyperlinks with Remove Hyperlinks. In some versions of Excel, "Clear Hyperlinks" removes the underlying URL but leaves the blue, underlined font style. This often leads users to believe the link is still active when it is actually just a formatting remnant. To fix this, you must manually change the font color to black and remove the underline using the Home tab tools.
Another common mistake is attempting to use the Delete key on the keyboard to remove a link. Pressing Delete removes the entire content of the cell, including the text you wanted to keep. To keep the text but lose the link, you must use the right-click menu or the Clear tool.
Users also frequently try to break external data links by simply deleting the source file from their computer. This is a mistake because Excel will still look for that file every time the workbook opens, resulting in annoying "This workbook contains links to other data sources" alerts and potential "#REF!" errors in the cells.
Tips
For those who frequently handle large datasets with thousands of links, using a simple VBA macro can save hours of work. A basic script can be written to loop through all selected cells and execute the .Hyperlinks.Delete command, which is faster than the built-in UI for massive sheets.
If you want to keep the link but change how it looks, avoid clearing it. Instead, select the cell, go to the Home tab, and use the Cell Styles gallery. Selecting "Normal" will often strip the hyperlink styling while keeping the link functional.
When breaking external links, it is a best practice to save a backup copy of your workbook first. Once you break a link and save the file, the formula is gone forever and replaced by a static value. You cannot "un-break" a link to restore the original formula without reverting to a previous version of the file.
Troubleshooting
The Remove Hyperlink option is missing from the right-click menu: This usually happens if the cell is part of a protected sheet or a shared workbook with restricted permissions. Check the Review tab and see if Unprotect Sheet is an option. If the sheet is protected, you cannot modify the links until you enter the password and unlock it.
The Edit Links button is greyed out, but I still get a link warning: This occurs when the link is not a standard cell formula but is hidden in a Named Range, a Data Validation list, or a Conditional Formatting rule. To find these, go to the Formulas tab and click Name Manager. Look for any names that reference an external file path (e.g., =[Budget.xlsx]Sheet1!$A$1) and delete them.
Hyperlinks keep reappearing after I remove them: This is typically caused by an active AutoCorrect setting or a third-party add-in that automatically formats web addresses. Ensure you have followed the steps in Method 4 to disable automatic hyperlink creation in the Excel Options menu.
Breaking the link resulted in #REF! errors: This happens if the cell was referencing a specific range that no longer exists or was corrupted during the break process. To resolve this, undo the action immediately (Ctrl + Z) and check the source file to ensure it is open and accessible before attempting to break the link again.
Frequently Asked Questions
Can I remove hyperlinks without losing the text?
Yes. Using the Remove Hyperlink option from the right-click menu or the Clear Hyperlinks tool in the Home tab removes the clickable link while leaving the displayed text exactly as it was.
How do I remove all links in a workbook with multiple sheets?
Excel does not have a single button to remove hyperlinks across all sheets at once. You must select each sheet individually (or group them by holding Ctrl while clicking the sheet tabs), then use the Ctrl + A and right-click Remove Hyperlinks method.
What is the difference between a hyperlink and an external link?
A hyperlink is a clickable shortcut to a website, email, or another place in the document. An external link is a formula that pulls a value from a different Excel file into the current cell.
Will removing a link delete the destination file?
No. Removing a link in Excel only deletes the connection between the cell and the destination. It has no effect on the actual website, email address, or external file being referenced.
Can I use a keyboard shortcut to remove a hyperlink?
There is no direct single-key shortcut to remove a hyperlink. However, you can use the sequence Alt, then H, then E, then S to access the Clear menu on Windows.