Printing Problems

How to Print Full Hyperlink URLs in Microsoft Word

Amos GikundaAmos Gikunda Nov 22, 2026 868 views

Question details

The user needs a printed Word document to show complete web addresses instead of descriptive hyperlink text.

Product
Microsoft Word
Device & OS
not provided
Scenario
A document contains hyperlinks displayed as words such as "here," but the reader needs to see their URLs on paper.
Observed behavior
The printed document should show the full web address for each relevant hyperlink.
Before you start

Check whether the links point to external web addresses or to locations within the document. If you plan to change all hyperlink display text, work on a separate copy because the changes may be difficult to reverse.

Solution 1Recommended

Replace hyperlink display text with URLs using a Word macro

Use this method to change the display text of external hyperlinks throughout a document before printing.

The macro replaces each hyperlink's visible text with its external address. It skips links without an external address, such as links to locations within the document. A separate bookmark or anchor stored in a hyperlink's subaddress may not appear in the replacement text.

1
Create a document copy

In Word, choose File > Save As and save a separate copy to use for printing.

2
Open the macro editor

Open the Developer tab and select Visual Basic. If the Developer tab is hidden, enable it under File > Options > Customize Ribbon.

3
Add the macro

In the Visual Basic editor, select Insert > Module and paste the following code: Sub ReplaceHyperlinkDisplayText() Dim i As Hyperlink For Each i In ActiveDocument.Hyperlinks If i.Address <> "" Then i.TextToDisplay = i.Address Next i End Sub

4
Run and review

Return to Word, select Developer > Macros, choose ReplaceHyperlinkDisplayText, and select Run. Review the document to confirm that the addresses appear as intended.

5
Print the copy

Choose File > Print, check the preview, and select Print.

Replace hyperlink display text with URLs using a Word macro
Check the results: The macro can also change hyperlinks in other document elements. Review the copy before printing, and use Undo immediately if the result is not what you expected.
Print URLs with WPS Writer

Show full hyperlink addresses before printing in WPS Writer

Open the document in WPS Writer and change each hyperlink's display text to its address before printing. This is useful when you have a small number of links to update.

  1. 1. Open the document: Open WPS Writer, select Open, and choose your Word document.
  2. 2. Edit a hyperlink: Right-click the linked text and choose Edit Hyperlink. Copy its address into the display-text field and confirm the change.
  3. 3. Update remaining links: Repeat the hyperlink-editing action for each address you want readers to see.
  4. 4. Preview and print: Select Menu > Print, review the print preview, and print the document.
Make web addresses visible on the printed pageOpen and edit Microsoft Word DOC and DOCX filesReview the result in print preview before printingUse a familiar document-editing interface
microsoft office alternative - wps office

Frequently Asked Questions

Why does Word print "here" instead of the web address?

Word normally prints the hyperlink's display text. Right-click the link, select Edit Hyperlink, and change Text to display to the address if you want the URL to appear.

Can I show all hyperlink addresses without editing them one by one?

In a separate document copy, run the macro in Developer > Macros to replace external hyperlink display text with their addresses. Review the document before printing.

Will printing field codes affect page numbers?

Yes. File > Options > Advanced > Print field codes instead of their values affects other fields as well, including page numbers and tables of contents. Clear the option afterward to restore normal printing.

What happens to links within the same document?

Internal links may not have an external address. The macro above skips links with an empty Address value, so check those links separately before printing.