How to Fix PDF Hyperlinks Appearing as Boxes in Other Viewers
Question details
The user needs to remove the visible boxes that appear around hyperlinks when a PDF document is opened in certain third-party viewers.

- Product
- Device & OS
- macOS
- Scenario
- Viewing a PDF file containing hyperlinks in programs like macOS Preview or other third-party PDF readers.
- Observed behavior
- Hyperlinks are surrounded by an unwanted visible box or border instead of blending cleanly with the document text.
Verify if the issue is viewer-specific by opening the PDF in a standard application like Adobe Acrobat Reader or WPS Office before making structural changes to the document.
Set the Link Border Type to Invisible Rectangle
Adjusting the hyperlink properties directly in your PDF editor is the most effective way to ensure the border remains hidden across different viewing applications.
Many PDF viewers have different default rendering behaviors for interactive elements. By explicitly setting the border appearance to invisible in the PDF's metadata, you can override these defaults and prevent boxes from showing up.
Open your document in a professional PDF editor. Select the 'Edit' tool, right-click on the affected hyperlink, and choose 'Properties' from the context menu.
Navigate to the 'Appearance' tab within the properties window. Locate the 'Link Type' or 'Border Type' dropdown menu.
Select 'Invisible Rectangle' from the dropdown options to remove the visible border line.
Click 'OK' to apply the changes, save the PDF document, and test it by opening the file in macOS Preview or the viewer where the issue originally occurred.

Use Text Styling Instead of Link Borders
If compatibility issues persist in certain niche viewers, styling the text itself is a universally supported workaround that avoids PDF border rendering bugs entirely.
Seamlessly Edit PDF Hyperlinks with WPS Office
WPS Office provides a comprehensive PDF editor that allows you to easily insert, edit, and format hyperlinks. Ensure your links display perfectly across all devices without unwanted boxes or borders.
- 1. Open the PDF: Launch WPS Office and open your problematic PDF file.
- 2. Access link tools: Navigate to the 'Edit' tab on the top ribbon and click on the 'Link' button.
- 3. Edit link appearance: Double-click the existing hyperlink to open the Link Properties dialog box.
- 4. Apply invisible setting: Under the Appearance section, set the border to 'Invisible' and click OK, then save your file.

Frequently Asked Questions
Why do my PDF links show a black box when printed?
This happens when the hyperlink appearance property is set to a 'Visible Rectangle' instead of invisible. Changing the link properties in your PDF editor to 'Invisible Rectangle' will resolve the issue and prevent the boxes from printing.
Can I fix the macOS Preview hyperlink box issue without editing the PDF?
macOS Preview has known rendering quirks with certain PDF link annotations. Because the issue stems from how Preview interprets the file's metadata, you generally must edit the PDF's link properties in a dedicated editor to force the borders to be invisible.
Will setting an invisible border break the link functionality?
No, changing the border appearance to an invisible rectangle only affects how the link looks visually. The clickable area and the destination URL remain completely functional.
How do I know if the box issue is caused by the file or the viewer?
Test the file in a standard viewer like Adobe Acrobat Reader or WPS Office. If the boxes do not appear in these programs but do appear in your primary viewer, the issue is specific to how that primary viewer renders PDF link annotations.




