How to Fix Visio Hyperlinks Breaking in Exported PDFs
Question details
Users need to prevent hyperlinks in Visio diagrams from breaking or converting to invalid relative paths when saving the diagram as a PDF.

- Product
- Microsoft Visio, PDF
- Device & OS
- not provided
- Scenario
- Exporting a diagram containing SharePoint URLs from Microsoft Visio to a PDF file.
- Observed behavior
- Hyperlinks are incorrectly converted to relative paths (e.g., ../../../:p:/r/sites) instead of maintaining the direct SharePoint URLs, causing the links to fail when clicked in the resulting PDF.
Ensure you have the exact, absolute HTTPS URL for your SharePoint destination copied to your clipboard before editing the hyperlinks in your diagram.
Update to Absolute SharePoint URLs and Re-export
Manually replace the auto-generated relative paths in Visio with complete HTTPS URLs to ensure the links function correctly after PDF conversion.
When dealing with files stored in synchronized OneDrive or SharePoint directories, Visio sometimes defaults to relative linking. Forcing an absolute URL resolves this translation error during export.
Right-click the shape or text containing the broken link in your Visio diagram and select 'Edit Hyperlink' from the context menu.
In the 'Address' field, delete the relative path (such as ../../../:p:/r/sites) and paste the complete, absolute HTTPS SharePoint URL.
Click 'OK' to save. Hold the Ctrl key and click the shape to verify that the hyperlink successfully opens the correct SharePoint page in your browser.
Go to File > Export > Create PDF/XPS Document. Click 'Options' in the save dialog and ensure that the setting to include Document structure tags for accessibility and hyperlinks is checked.
Open the newly exported PDF document and click the hyperlinks to confirm they now route to the proper SharePoint destination.

View and Manage Your PDFs Easily with WPS Office
While Microsoft Visio is required to build specific diagram files, WPS Office provides a free, lightweight, and highly compatible alternative for viewing, testing, and managing your exported PDFs. Enjoy seamless document handling and a familiar user interface without expensive subscription fees.
- 1. Install WPS Office: Download and install the free WPS Office suite on your device.
- 2. Open your exported PDF: Launch WPS PDF and open the document you exported from Visio.
- 3. Verify hyperlinks: Hover over your diagram elements and click the links to test their functionality directly within WPS PDF.

Frequently Asked Questions
Why do my Visio links change to relative paths like ../../../?
This commonly occurs when Visio attempts to create relative links between files located in synchronized SharePoint or local OneDrive folders, rather than using absolute web addresses.
Can I fix the broken hyperlinks directly in the exported PDF?
Yes, if you use a premium PDF editor, you can edit the hyperlink properties directly within the PDF document and replace the broken relative path with the correct HTTPS URL without re-exporting from Visio.
Do standard print-to-PDF options preserve hyperlinks?
Standard 'Print to PDF' virtual drivers typically flatten the document for printing, which strips out interactive elements like hyperlinks. You should always use the 'Export' or 'Save As PDF' options to preserve clickable links.




