56 free macros indexedAll toolsHow to runBlogGitHub ↗

How to Convert Text URLs to Clickable Hyperlinks in Excel

How to make a column of URL text clickable in Excel: F2-Enter trick, HYPERLINK formula, and a free macro that bulk-converts hundreds at once.

2026-04-28

The "URLs aren't clickable" problem

You imported a column of URLs from a CSV. Each cell shows https://example.com but nothing is clickable. Hovering doesn't show the cursor change. Clicking does nothing. Excel only auto-links URLs when you type them directly into cells, not when they come in via paste or import.

Here's how to make them clickable, with options for one cell, a few cells, or hundreds.

TL;DR — Key takeaways

  • The F2-Enter trick works for one cell at a time: click cell, F2, Enter. Excel auto-links.
  • The =HYPERLINK() function creates clickable links from a formula, but the result is a formula not a real hyperlink object.
  • Flash Fill can sometimes pattern-match the F2-Enter behavior but it's unreliable.
  • A VBA macro converts every URL-shaped cell in a selection to a real hyperlink in one pass.

Method 1: F2 then Enter (one cell at a time)

The simplest manual method:

  1. Click the cell with the URL text.
  2. Press F2 to enter edit mode.
  3. Press Enter.

Excel detects the URL pattern and auto-creates the hyperlink. Works for http://, https://, www., and email addresses (mailto:).

The catch: one cell at a time. For 100 URLs, that's 100 cells of F2-Enter.

Method 2: =HYPERLINK() formula

=HYPERLINK(A2, A2)

The first argument is the URL, the second is the display text. Drop in a helper column, fill down.

The catch: the result is a formula. The cell shows a clickable link, but if you copy and paste-as-values, you lose the click. To get a real hyperlink object, you'd have to copy the formula result and paste-as-values into the destination, then re-trigger the F2-Enter on each.

Method 3: Flash Fill

Type the first URL formatted as https://example.com next to the source. Press Ctrl+E. Sometimes Excel learns "make these into hyperlinks." Often it doesn't.

The catch: unpredictable. Flash Fill is great for predictable transformations; hyperlink creation isn't its strongest pattern.

Method 4: The free VBA macro

Download Bulk Add Hyperlinks. Free .xlsm with one macro.

  1. Select the range with URL text.
  2. Alt + F8, pick the macro, click Run.
  3. Macro detects URL-shaped text (http://, https://, www.) and creates real hyperlink objects on each cell. Skips cells that don't look like URLs.

In place. Real hyperlinks (not formulas). One pass for any number of cells.

A common scenario: bibliographic reading list

Research librarian builds a graduate seminar reading list with 60 URLs from various journal databases. URLs come from copy-paste so they're plain text.

  1. Select the URL column.
  2. Run Bulk Add Hyperlinks.
  3. 60 cells become 60 clickable links in 1 second.

Versus F2-Enter on each: 60 keystroke pairs, about 5 minutes.

What counts as a URL?

The macro looks for text starting with http://, https://, or www.. Anything starting with www. gets auto-prefixed with https:// when the hyperlink is added. Other schemes (ftp://, mailto:) aren't auto-detected; if you need them, edit the .bas source.

Frequently asked questions

Will it convert email addresses to mailto: links?

Not by default. Email addresses don't match the URL pattern. To extend the macro for emails, add a check for @ in the cell text and use mailto: prefix. About a 5-line edit in the .bas source.

Does it work on cells with a URL embedded in prose?

No. The macro checks if the entire cell starts with a URL pattern. For embedded URLs in prose, see Extract Email Addresses From Text as a starting template (the URL extractor would be similar).

Will it preserve cell formatting?

Yes, except that the hyperlink underline and color get applied (Excel's default). To suppress the blue-underline appearance, format after running.

What if a cell already has a hyperlink?

The macro removes the existing hyperlink and creates a new one based on the cell's current text. So out-of-sync hyperlinks get fixed.

Can I undo it?

Yes, Ctrl/Cmd + Z right after running.

What to do next

For the reverse direction (extract URL text from clickable cells, removing the hyperlink object), use Convert Hyperlinks to Plain Text.