Preserve Relative PDF Hyperlinks in Word for Mac and OneDrive
Question details
Keep links from a Word document to PDF files portable, or make them accessible when the document is stored online.

- Product
- Microsoft Word for Mac and OneDrive
- Device & OS
- Mac (macOS)
- Scenario
- A Word document links to PDFs and needs to be distributed with working links or shared through OneDrive or SharePoint.
- Observed behavior
- Saving the document in OneDrive or SharePoint may convert relative PDF links into SharePoint URLs.
Decide whether recipients need a portable folder or access to files online. Check the locations of the Word document and its PDFs, and make sure you can create sharing links if you choose the online option.
Keep the Word document and PDFs in a local ZIP folder
Use this method when recipients need portable links that do not depend on OneDrive or SharePoint URLs.
In Finder, create a folder outside OneDrive and place the Word document and PDFs inside it. You can also put the PDFs in a subfolder.
In Word, select the text to link and choose Insert > Link. Enter a relative path in the address field, such as PDFs/guide.pdf for a PDF in a PDFs subfolder, and save the document locally.
Open the saved document and select each link to check that it opens the intended PDF. In Finder, Control-click the folder and choose Compress.
Send the ZIP file and ask recipients to extract the entire folder before opening the Word document. Test the extracted copy to confirm that its links still work.

Use OneDrive or SharePoint sharing links for online files
Use this method when the Word document and PDFs must remain accessible online.
Edit Word Documents with WPS Writer
WPS Office is a free, lightweight alternative with a familiar interface for opening and editing Word documents. Its format compatibility helps you move existing files into WPS; test PDF links after moving or sharing a document, since WPS does not change how OneDrive or Word handles cloud paths.

Frequently Asked Questions
Why did my relative PDF links become SharePoint URLs?
Word for Mac may convert local relative paths to web-based SharePoint URLs when a document is saved in OneDrive or SharePoint. For portable local paths, keep and test the document outside OneDrive.
Can I share the document and PDFs without relying on cloud links?
Yes. Keep the document and PDFs together in a local folder, use relative paths, and choose Compress in Finder to create a ZIP file. Recipients should extract the whole folder before opening the document.
How do I make a PDF link work for people using OneDrive?
Upload the PDF to OneDrive, select it, and choose Share or Copy link. Set permissions for the intended recipients, then paste the URL into Word using Insert > Link.
Will a relative link work if I move the PDF?
Not necessarily. A relative link depends on the PDF's location relative to the Word document. Keep the same folder structure, or update the link through Insert > Link in Word.




