Document Editing Problems

How to Fix Hyperlinks Merging in a Word Email Mail Merge

Rana GarciaRana Garcia Oct 21, 2026 878 views

Question details

The user needs a solution to stop multiple hyperlinks from combining into one large link when running an email mail merge in Word.

How to Fix Hyperlinks Merging Together in a Word Email Mail Merge
Product
Word Document Editor
Device & OS
not provided
Scenario
Sending personalized emails containing multiple independent hyperlinks using the mail merge feature.
Observed behavior
During the mail merge, the multiple hyperlinks incorrectly merge together, causing the first link to cover the entire email message body.
Before you start

Ensure your data source containing the correct individual URLs is properly prepared and linked to your main mail merge document before adjusting the field codes.

Solution 1Recommended

Use Hyperlink Field Codes to Keep Links Independent

Toggle the field codes of your hyperlinks to manually insert the specific merge fields into the URL paths, ensuring each link functions separately in the final merged emails.

By default, the mail merge process might treat subsequent text as part of the first hyperlink if the field boundaries are not explicitly defined. Modifying the underlying field codes forces the document to treat each link as a separate entity.

1
Insert the initial hyperlink

Highlight your display text, right-click, and select 'Hyperlink' (or press Ctrl+K) to insert a standard hyperlink into your document as you normally would.

2
Toggle the field codes

Select the inserted hyperlink in your document and press Shift+F9 to reveal its underlying field code structure.

3
Insert the merge field into the link path

Delete the static URL path located after the word 'HYPERLINK' within the brackets, and use the 'Insert Merge Field' button on the Mailings tab to place your specific URL merge field there instead.

4
Update remaining links

Repeat the previous steps for every individual hyperlink you need to include in your email message to ensure they all have distinct merge fields assigned.

5
Update all fields to finalize

After completing the mail merge setup, press Ctrl+A to select the entire document, then press F9 to update all fields. This resets the display and ensures each hyperlink remains independently clickable.

Use Hyperlink Field Codes to Keep Links Independent
Keyboard Shortcuts: Shift+F9 toggles the display of a specific field code, Alt+F9 toggles all field codes in the document, and F9 forces the document to update the values of the selected fields.

Easily Manage Mail Merges and Hyperlinks with WPS Office

WPS Writer provides robust mail merge capabilities, allowing you to seamlessly integrate personalized hyperlinks into your mass emails or letters with an intuitive interface.

  1. 1. Open the Mailings Tab: Launch WPS Writer, open your email template document, and navigate to the Mailings tab located on the top ribbon.
  2. 2. Connect Data Source: Click 'Open Data Source' to browse and connect your spreadsheet or database containing the unique URLs for your recipients.
  3. 3. Insert Merge Fields: Click 'Insert Merge Field' to place your personalized data and dynamic link paths directly into the document's hyperlink codes.
  4. 4. Execute the Email Merge: Click 'Merge to E-mail', fill in the appropriate subject line, and send your personalized messages out with perfectly functioning independent links.
Fully compatible with Microsoft Word formats (.docx, .doc)Intuitive Mailings tab for straightforward data source connection and field mappingEasily toggle field codes to customize dynamic hyperlinksFree and lightweight office suite for Windows, Mac, and Linux
microsoft office alternative - wps office

Frequently Asked Questions

Why do my mail merge hyperlinks point to the same web address?

This usually happens if the display text is populated by the merge, but the underlying hyperlink path remains static. You must edit the hyperlink field code (using Shift+F9) to replace the static URL with your dynamic merge field so each link updates based on the recipient data.

How do I hide field codes after editing them in my document?

Once you have finished adding your merge fields into the hyperlink code, you can press Shift+F9 again while selecting the specific field, or press Alt+F9 to toggle all field codes in the entire document back to their normal, clickable display text.

Can I format the text of a hyperlink inserted via mail merge?

Yes. You can select the merge field placeholder or the resulting hyperlink text and apply standard text formatting such as bolding, colors, or fonts directly from the Home tab. The formatting will persist after the merge is completed.