How to Add Complete URLs and SSO Links to a PDF
Question details
The user needs to insert long URLs and Single Sign-On (SSO) links into a PDF document without them breaking or being truncated.

- Product
- PDF Editors
- Device & OS
- not provided
- Scenario
- Adding clickable links, specifically long URLs and complex SSO authentication links, to a PDF document for users to access seamlessly.
- Observed behavior
- Long URLs and SSO links pasted as plain text are truncated or incorrectly detected by standard PDF viewers, causing the links to fail when clicked.
Ensure you have the full, unbroken URL copied to your clipboard and are using a dedicated PDF editor with link annotation tools, rather than a basic PDF reader.
Use Link Annotations to Embed URLs
Instead of pasting raw text, use the dedicated link tool in your PDF editor to define a clickable area and embed the complete URL.
Relying on PDF readers to automatically detect plain-text URLs often leads to broken links, especially with long SSO URLs that contain complex parameters. Creating a dedicated link object ensures the entire URL is preserved and triggered correctly regardless of line breaks.
Launch your professional PDF editing software (such as Adobe Acrobat or WPS Office) and open the PDF document you want to modify.
Navigate to the 'Edit' menu or toolbar and select the 'Link' or 'Add Link' tool.
Use your cursor to draw a rectangular box over the text or image that you want to act as the clickable hyperlink.
In the link properties dialog box that appears, choose the action to 'Open a Web Page' or 'Open URL'. Paste your complete, unbroken SSO link or long URL into the destination field.
Click 'OK' to apply the link and save your PDF document.

Format Plain Text Links to Prevent Truncation
If you must use plain text instead of link annotations, format the URL properly to help PDF viewers detect the full link string.
Easily Add and Edit Links in PDFs with WPS Office
WPS Office offers a comprehensive PDF editor that allows you to easily insert, modify, and manage hyperlinks, ensuring your long URLs and SSO links work flawlessly without truncation.
- 1. Open your PDF in WPS Office: Launch WPS Office and open the PDF file where you need to add the URL.
- 2. Access the Link tool: Navigate to the 'Edit' tab on the top ribbon and click on the 'Link' button.
- 3. Draw the link area: Click and drag to select the specific text or image area on the page where you want to insert the clickable link.
- 4. Paste your URL: In the pop-up window, paste your complete, unbroken SSO link or long URL and click 'OK'.
- 5. Save changes: Save the document. The link is now securely embedded behind the content and ready to be used.

Frequently Asked Questions
Why do my PDF links break when they span across two lines?
When a long URL wraps to a second line, most PDF readers treat the line break or space as the end of the web address. To fix this, use a dedicated link tool to embed the URL behind a text element instead of displaying the raw URL on the page.
What is a Single Sign-On (SSO) link and why does it fail in PDFs?
SSO links often contain long authentication tokens, parameters, and special characters. If pasted as plain text, automatic PDF link detectors might fail to recognize the special characters or truncate the token, causing the authentication to fail. Using proper link annotations resolves this.
Can I make an image clickable in a PDF?
Yes. By using the 'Add Link' or 'Link Annotation' tool in a professional PDF editor, you can draw a clickable area over an image just as you would over text, and assign your desired web URL to it.




