Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to convert url text to clickable hyperlink in Excel?

Supposing you have multiple urls in your worksheet, but they are not linked, and now you need to convert all the unlinked urls to clickable hyperlinks, as following screenshots shown. Of course, you can double click them one by one to make them clickable, but this will be time consuming if there are lots of urls. How could you convert multiple unlinked urls to clickable hyperlinks automatically in Excel?


Convert plain text to clickable hyperlinks:

With Kutools for Excel’s Convert Hyperlinks utility can help you quickly extract the actual url addresses from hyperlinks and convert multiple plain text to hyperlinks at once.

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


arrow blue right bubble Convert url text to clickable hyperlink with VBA code


It seems there is no other effective way to solve this problem in Excel except using the following VBA code.

1. Select the range of url text that you want to convert to clickable hyperlinks.

2. Hold down the ALT + F11 keys to open the Microsoft Visual Basic for Applications window.

3. Click Insert > Module, and paste the following code in the Module Window.

Sub ConvertToHyperlinks()
'Updateby20140318
Dim Rng As Range
Dim WorkRng As Range
On Error Resume Next
xTitleId = "KutoolsforExcel"
Set WorkRng = Application.Selection
Set WorkRng = Application.InputBox("Range", xTitleId, WorkRng.Address, Type:=8)
For Each Rng In WorkRng
    Application.ActiveSheet.Hyperlinks.Add Rng, Rng.Value
Next
End Sub

4. Then press F5 key to run the code, a pop up dialog for you to select a range, then click OK, and the selected unlinked urls have been converted to the clickable hyperlinks. See screenshots:

 2

Remove all hyperlinks from selected range, sheets or whole workbook at once:

With Kutools for Excel's Delete Hyperlinks function, you can remove all the hyperlinks from a selected range, sheets or the whole workbook as you need.

doc remove hyperlinks 4


arrow blue right bubble Convert url text to clickable hyperlink with Kutools for Excel

Maybe, the VBA code is some difficult for you, here, I can introduce you an multifunctional tool-Kutools for Excel, with its Convert Hyperlinks feature, you can quickly deal with the following operations:

  • Extract actual addresses from hyperlinks;
  • Convert url text to clickable hyperlink
Kutools for Excel : with more than 300 handy Excel add-ins, free to try with no limitation in 60 days

If you have installed Kutools for Excel, please do as follows:

1. Select the range of url text that you want to convert to clickable hyperlinks.

2. Click Kutools > Link > Convert Hyperlinks, see screenshot:

3. In the Convert Hyperlinks dialog box, select Cell contents replace hyperlinks addresses, and click doc-button1 button from Result range to specify a cell to put the result.

4. And then click OK, all of the selected plain text links have been converted to the clickable hyperlinks. See screenshot:

Notes:

1. If you want to put the actual addresses to the original range, please check Convert source range.

2. If the hyperlink is linked to current document, please check Hyperlinks is a place in this document option.

Click Convert Hyperlinks to know more about this feature.

Download and free trial Kutools for Excel Now !


arrow blue right bubble   Demo: Convert url text to clickable hyperlink with Kutools for Excel

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


Related article:

How to extract actual addresses from hyperlinks in Excel?


Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Courtney · 2 months ago
    Oh crap.... it broke my Excel. By mistake I selected entire column and it forze for... ages!!
  • To post as a guest, your comment is unpublished.
    Babu · 11 months ago
    hi
    when i click on the hyperlink .. it wont take to me to email page ( as an Outlook or Gmail) Please support
  • To post as a guest, your comment is unpublished.
    Corey · 11 months ago
    I had to switch nearly 55,000 cells from plain text to hyperlinks. This helped me cut the time down from "the rest of my natural life" to five minutes. Thank you!
  • To post as a guest, your comment is unpublished.
    Zakir · 1 years ago
    This is very helpful...Thanks
  • To post as a guest, your comment is unpublished.
    Shawn · 1 years ago
    This is Great! Worked like a charm
  • To post as a guest, your comment is unpublished.
    Shanda · 3 years ago
    Man! This is so awesome, I've spent so long trying to find an easy way and this took seconds! Works great!!!
  • To post as a guest, your comment is unpublished.
    Swaroop! · 3 years ago
    Thanks a lot my friend! it worked! :lol:
  • To post as a guest, your comment is unpublished.
    jibbius · 3 years ago
    The code almost works, but author has left a small copy-paste error.

    You need to remove "" from the first line, and "" from the last line, and then it will work.

    Cheers.
  • To post as a guest, your comment is unpublished.
    MartyM · 4 years ago
    I wanted to do something slightly different - create words with hyperlinks to add into a website via a WYSIWYG (rather than HTML coding the whole thing)

    If you have good typing hands try:

    Command "C" the hyperlink > click to cell you want to link...
    Command "K" & paste Command "V" with text you want to hyperlink

    Repeat x n
  • To post as a guest, your comment is unpublished.
    Ruben · 4 years ago
    I do not know if it's just me or if perhaps everyone else experiencing problems with your website.
    It appears as if some of the text within your posts are running
    off the screen. Can someone else please comment and let me know
    if this is happening to them as well? This could be a issue with my web browser
    because I've had this happen previously. Kudos

    Feel free to visit my web site [url=http://culinotests.fr/news/vider-un-poulet-pour-la-premiere-fois]http://culinotests.fr/news/vider-un-poulet-pour-la-premiere-fois[/url]
  • To post as a guest, your comment is unpublished.
    Waqar · 5 years ago
    great job my friend!!!!!!! too good
  • To post as a guest, your comment is unpublished.
    Nathaniel · 5 years ago
    Why did you change it? This was a simple easy routine that worked every time. Now it is much larger and crashes Excel.
  • To post as a guest, your comment is unpublished.
    hind · 5 years ago
    you are great!!!
    Thanks a lot thank you thank you thank you!!!!! :lol: :D :-)