How To Remove Hyperlink In Excel

8 min read

Hyperlinks in Excel spreadsheets are incredibly useful for navigating to external websites, linking to other files, or jumping to specific locations within a workbook. That said, they often become a nuisance when data is imported from web pages, copied from emails, or generated automatically by Excel’s AutoCorrect feature. Whether you are cleaning up a messy dataset, preparing a professional report, or simply prefer plain text, knowing how to remove hyperlink in Excel efficiently is a fundamental skill. This guide covers every method available, from quick keyboard shortcuts to advanced VBA macros, ensuring you can handle any scenario—whether it is a single cell, a selected range, or an entire worksheet Easy to understand, harder to ignore. No workaround needed..

Understanding Why Hyperlinks Appear Automatically

Before diving into the removal techniques, it helps to understand why these links appear in the first place. ) or an email address (containing @) into a clickable hyperlink. By default, Excel’s AutoFormat As You Type feature automatically converts text that looks like a URL (starting with http://, https://, www.Additionally, copying data from a browser frequently brings over underlying HTML formatting, embedding links you neither want nor need. While convenient for some, this behavior often clutters spreadsheets used for data analysis or printing. Recognizing the source helps you decide if you need a one-time cleanup or a permanent settings change.

You'll probably want to bookmark this section Most people skip this — try not to..

Method 1: The Right-Click Context Menu (Single or Few Cells)

This is the most intuitive method for beginners and works perfectly when dealing with a small number of links.

  1. Select the cell or range of cells containing the unwanted hyperlinks.
  2. Right-click anywhere inside the selection to open the context menu.
  3. Click Remove Hyperlink (or Remove Hyperlinks if multiple cells are selected).

Important Distinction: You will also see an option labeled Clear Hyperlinks. The difference is subtle but critical:

  • Remove Hyperlink: Strips the link but keeps the cell formatting (font color, underline, background color).
  • Clear Hyperlinks: Removes the link and resets the cell formatting to the default style.

Choose Remove Hyperlink if you want to preserve your custom styling; choose Clear Hyperlinks if you want a completely clean slate.

Method 2: Keyboard Shortcuts for Speed (Excel 2013 and Later)

For power users who hate reaching for the mouse, keyboard shortcuts are the fastest way to remove hyperlink in Excel without disrupting workflow. Microsoft introduced a dedicated shortcut sequence in newer versions.

  1. Select the target cells.
  2. Press Alt, then H, then F, then R in sequence (do not hold them all down at once; press and release each key).

This sequence navigates the Ribbon: Alt opens Key Tips -> H selects the Home tab -> F opens the Clear dropdown -> R executes Remove Hyperlinks. If you prefer to clear formatting simultaneously, press Alt, H, F, H (for Clear Hyperlinks).

Method 3: The "Paste Values" Technique (Bulk Removal & Data Cleaning)

When you have imported a large dataset where every row in a column is a hyperlink, manipulating the original cells can sometimes be risky or slow. The "Paste Values" method is a classic workaround that strips all formatting and formulas, leaving only the raw text strings No workaround needed..

  1. Select the column or range containing the hyperlinks.
  2. Press Ctrl + C to copy.
  3. With the same range still selected, press Ctrl + Alt + V to open the Paste Special dialog box.
  4. Select Values (or press V).
  5. Click OK (or press Enter).

The result is a column of plain text. Consider this: note that this also removes any formulas, number formatting, or conditional formatting applied to those cells. Use this when the data integrity (the text itself) is the only thing that matters The details matter here. Turns out it matters..

Method 4: Disabling Automatic Hyperlink Creation (Prevention)

If you find yourself constantly removing links created by Excel’s AutoCorrect, the most efficient solution is to stop them from forming in the first place. This changes the application behavior globally And that's really what it comes down to..

  1. Click the File tab and select Options at the bottom.
  2. In the Excel Options dialog, choose Proofing from the left sidebar.
  3. Click the AutoCorrect Options... button on the right.
  4. Go to the AutoFormat As You Type tab.
  5. Uncheck the box labeled Internet and network paths with hyperlinks.
  6. (Optional) Uncheck E-mail addresses with hyperlinks if you want to stop those as well.
  7. Click OK on all open dialogs.

From this moment forward, typing or pasting a URL will result in plain text. Existing hyperlinks in the workbook will remain untouched; this only affects future entries That's the whole idea..

Method 5: Using a Formula to Extract Text (Non-Destructive)

Sometimes you need to keep the original hyperlinked column intact (perhaps for a colleague who needs the links) but display a clean version elsewhere. Excel formulas allow you to extract the display text without altering the source data.

If you are using Excel 365 or Excel 2021+, the TEXTAFTER and TEXTBEFORE functions are powerful, but the simplest universal method for "display text" extraction involves the HYPERLINK function logic or simple cell referencing.

Actually, a standard cell reference (=A1) copies the value but often renders it as a hyperlink again if the source is a hyperlink. To strictly get the text displayed in the cell (the "friendly name"), you historically needed a User Defined Function (VBA). Even so, modern Excel handles this better Turns out it matters..

This is the bit that actually matters in practice It's one of those things that adds up..

The Modern Formula Approach (Excel 365/2021): If cell A1 has a hyperlink with display text "Click Here" pointing to google.com, simply referencing it in B1 (=A1) usually returns "Click Here" as text without the hyperlink active in the new cell, provided the source hyperlink was created via formula. If the source is a manually inserted hyperlink, =A1 often replicates the link Worth keeping that in mind..

The Foolproof VBA User Defined Function (All Versions): For a guaranteed text-only extraction that works on manually inserted links:

  1. Press Alt + F11 to open the VBA Editor.
  2. Go to Insert > Module.
  3. Paste this code:
    Function GetLinkText(Cell As Range) As String
        On Error Resume Next
        GetLinkText = Cell.Text
        If Cell.Hyperlinks.Count > 0 Then
            GetLinkText = Cell.Hyperlinks(1).TextToDisplay
        End If
    End Function
    
  4. Close the editor.
  5. In your sheet, use =GetLinkText(A1).

This extracts exactly what the user sees (the "Text to Display") regardless of the underlying URL.

Method 6: VBA Macros for Whole Sheets or Workbooks (Automation)

When you need to remove hyperlink in Excel across an entire worksheet, multiple sheets, or a whole workbook instantly, a macro is the only practical solution. This is common in monthly reporting cycles where raw data dumps arrive riddled with links That's the part that actually makes a difference. Worth knowing..

Macro to Remove Hyperlinks from Active Sheet:

Sub RemoveAllHyperlinksActiveSheet()
    ActiveSheet.Hyperlinks.Delete
End Sub

Macro to Remove Hyperlinks from Entire Workbook:

Sub RemoveAllHyper

```vba
Sub RemoveAllHyperlinksWorkbook()
    Dim ws As Worksheet
    For Each ws In ActiveWorkbook.Worksheets
        ws.Hyperlinks.Delete
    Next ws
End Sub

Macro to Remove Hyperlinks from Current Selection Only (Safest for Targeted Cleanup):

Sub RemoveHyperlinksFromSelection()
    On Error Resume Next
    Selection.Hyperlinks.Delete
    On Error GoTo 0
End Sub

How to Install and Run These Macros

  1. Press Alt + F11 to open the VBA Editor.
  2. In the Project Explorer (left pane), right-click your workbook name (e.g., VBAProject (YourFile.xlsm)).
  3. Select Insert > Module.
  4. Paste the desired code(s) into the large white window on the right.
  5. Close the VBA Editor window.
  6. Back in Excel, press Alt + F8, select the macro name (e.g., RemoveAllHyperlinksWorkbook), and click Run.

Critical Note: Macros cannot be undone with Ctrl + Z. Always save a backup copy of your workbook before running destructive macros on an entire workbook.

Method 7: Power Query (Best for Recurring Data Imports)

If you regularly import data from databases, web pages, or CSV files that consistently arrive with unwanted hyperlinks, Power Query (Get & Transform) is the superior long-term solution. It records the cleaning steps once and reapplies them automatically every time you refresh the data.

  1. Select your data range or go to Data > Get Data > From Table/Range.
  2. In the Power Query Editor, the hyperlink display text is usually already separated from the URL in the column values.
  3. If the column shows a Link icon or structured record, right-click the column header > Extract > Text Before Delimiter (or similar) to isolate the display text.
  4. Go to Home > Close & Load.
  5. Next month? Just hit Refresh All on the Data tab. The hyperlinks are stripped automatically—no manual repetition required.

Summary: Choosing the Right Tool for the Job

Scenario Recommended Method Why? On the flip side,
Quick fix for a few cells Right-Click > Remove Hyperlinks Fastest UI access, no formatting damage. Here's the thing —
Large contiguous block Ctrl + A → Right-Click > Remove Hyperlinks Selects all data instantly.
Scattered cells / Non-adjacent Find & Replace (Format > Hyperlink) Selects only hyperlinked cells automatically.
Preserve source data VBA UDF (GetLinkText) or Power Query Non-destructive; creates a clean parallel column.
Daily/Weekly reporting cleanup VBA Macro (Workbook/Sheet level) One-click automation for entire files.
Recurring external data imports Power Query "Set it and forget it"; survives data refreshes.

Conclusion

Hyperlinks in Excel are a double-edged sword: essential for navigation, but frustrating when they clutter data exports, interfere with mail merges, or trigger accidental browser launches during data entry. As we have seen, there is no single "best" way to remove them—only the right tool for your specific workflow Easy to understand, harder to ignore..

Not the most exciting part, but easily the most useful The details matter here..

For the casual user, the Right-Click context menu or the Find & Replace trick (Method 3) solves 90% of problems in seconds without touching code. For power users managing recurring reports, investing five minutes to install a VBA macro or build a Power Query pipeline pays dividends in saved time and reduced human error No workaround needed..

Strip it back and you get this: control. Whether you need to strip links from a single column, an entire workbook, or an automated data feed, you now have the full toolkit to decide exactly what stays and what goes—without sacrificing your cell formatting or your original data integrity That's the whole idea..

Just Hit the Blog

Straight from the Editor

Worth Exploring Next

If You Liked This

Thank you for reading about How To Remove Hyperlink In Excel. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home