Data Import & Export

Export Complete Hyperlink URLs from Excel to CSV or Text

Nimra MalikNimra Malik Nov 22, 2026 869 views

Question details

Export the complete URLs stored in Excel hyperlinks rather than only their displayed filenames or labels.

Product
Microsoft Excel
Device & OS
not provided
Scenario
A worksheet contains cells that display filenames while linking to external URLs, and the user needs those URLs in a CSV or text file.
Observed behavior
CSV and text exports contain the displayed cell text, such as a filename, rather than the hidden hyperlink address.
Before you start

Open the worksheet and check a hyperlink's address by right-clicking the cell and selecting Edit Hyperlink. If you plan to extract several addresses into a separate column, make sure the column immediately to the right is empty.

Solution 1Recommended

Change the hyperlink display text to the full URL

Use this method when you have a small number of hyperlinks and want their URLs to appear directly in the exported cells.

CSV and text files store cell text, not Excel hyperlink objects. Changing the displayed text makes the address available to the export.

1
Open the hyperlink settings

Right-click a linked cell and select Edit Hyperlink.

2
Copy the address

In the Edit Hyperlink dialog, copy the full URL from the Address field. If the address is relative, replace it with the complete URL you need to export.

3
Update the displayed text

Paste the URL into Text to display and select OK. Repeat for each hyperlink you want to export.

4
Export the worksheet

Select File > Save As, choose CSV or a text format, and save the file. Open the exported file in a text editor to check that the URLs are present.

Change the hyperlink display text to the full URL
CSV stores text only: The exported URL is plain text; the original Excel hyperlink object and its hidden address are not preserved.
Export URLs with WPS Spreadsheet

Export hyperlink URLs with WPS Spreadsheet

In WPS Spreadsheet, change a hyperlink's displayed text to its full address, then save the worksheet as a CSV file containing the URL as plain text.

  1. 1. Open the workbook: Launch WPS Spreadsheet and use Open to select your Excel workbook.
  2. 2. Edit a hyperlink: Right-click a linked cell and choose Edit Hyperlink. Copy the full address from the hyperlink dialog.
  3. 3. Show the full URL: Paste the address into the display text field and confirm the change. Repeat for the other links you need to export.
  4. 4. Save as CSV: Select File > Save As, choose CSV as the file type, and save. Open the CSV in a text editor to verify the URLs.
Put full hyperlink addresses in exported CSV cellsOpen and edit Microsoft Excel XLS and XLSX filesWork in a familiar spreadsheet interfaceSave worksheet data in CSV format
microsoft office alternative - wps office

Frequently Asked Questions

Why does my CSV contain the filename instead of the hyperlink URL?

CSV stores cell text, not Excel hyperlink objects. If the cell displays a filename, that filename is exported unless you put the URL in the displayed text or another cell.

Can I keep the filename and export the URL too?

Yes. Keep the filename in its original cell and put the URL in a separate column before using File > Save As to create the CSV.

How do I get the URL from a HYPERLINK formula?

Select the cell and inspect the formula bar. The first argument of HYPERLINK is the link location; copy that URL or the value from the cell it references into an export column.

Will a relative hyperlink become a complete URL when exported?

Not automatically. Check the Address field in Edit Hyperlink or the extracted address column, and replace relative paths with complete URLs before exporting.