How to Find and Format All Hyperlinks in a PDF Document
Question details
The user wants to identify all link annotations in a PDF and format them to make external hyperlinks easily recognizable on both desktop and mobile devices.

- Product
- PDF Editor
- Device & OS
- not provided
- Scenario
- Locating and modifying the visual appearance of external hyperlinks in a PDF to ensure they are clearly visible to readers.
- Observed behavior
- Hyperlinks currently blend in with regular text or lack recognizable formatting, requiring a way to globally locate and edit link annotations.
Ensure your PDF file is not corrupted or secured with a permissions password, as this will prevent link annotations from being accessed or edited.
Use Built-in PDF Link Tools to Find and Edit Hyperlinks
Manually inspect and edit link annotations using standard PDF editing tools to add visible borders or highlights.
Professional PDF editing software provides dedicated tools to reveal all hidden link annotations. By accessing the link properties, you can change how the hyperlink appears to users, adding borders or altering the text format.
Launch your preferred PDF editor and open the document containing the hyperlinks.
Navigate to the 'Edit' tab and select the 'Link' or 'Edit Link' tool. This action will display visible bounding boxes around all active link annotations in the document.
Double-click on an existing hyperlink bounding box, or right-click it and select 'Properties' from the context menu.
Go to the 'Appearance' tab in the dialog box. Adjust the link type, border color, line thickness, and highlight style to make the hyperlink easily recognizable, then apply the changes.

Use JavaScript to Format All Link Objects Globally
Run a custom JavaScript console script to automatically loop through and change the appearance properties of all link annotations.
Easily Find and Format PDF Hyperlinks with WPS Office
WPS Office provides a comprehensive PDF editor that allows you to quickly locate, edit, and format hyperlinks. Add visible borders, change text colors, and manage all external links with an intuitive interface without needing complex JavaScript.
- 1. Open the PDF File: Launch WPS Office and open the PDF file you wish to edit.
- 2. Navigate to the Edit Tab: Click on the 'Edit' tab located on the top ribbon menu.
- 3. Select the Link Tool: Click on the 'Link' button to instantly highlight and display all editable link annotations in your document.
- 4. Modify Link Appearance: Right-click any link, select 'Properties', and customize the border style, thickness, and color to make it highly visible.

Frequently Asked Questions
Why can't I edit the hyperlinks in my PDF document?
If hyperlinks are uneditable, the PDF file may be corrupted, digitally signed, or protected with a permissions password. Removing the security restrictions or exporting a fresh PDF from the original source file usually resolves this issue.
Is it possible to automatically highlight all links in a PDF without a script?
Most standard PDF editors do not have a built-in one-click button to permanently highlight all links simultaneously without using a JavaScript console. However, activating the 'Link' or 'Edit Link' tool will temporarily display a visible bounding box around all links for easy identification.
How do I make PDF links visible on mobile readers?
Mobile PDF readers often rely on the visual formatting of the text itself (like blue, underlined text) rather than invisible link annotations. To ensure visibility on mobile, format the actual text in the original document before exporting to PDF, or use a desktop PDF editor to add a permanent colored border around the link box.




