OneDrive File Issues

Preserve Relative PDF Hyperlinks in Word for Mac and OneDrive

John WilsonJohn Wilson Nov 22, 2026 868 views

Question details

Keep links from a Word document to PDF files portable, or make them accessible when the document is stored online.

Preserve Relative PDF Hyperlinks in Word for Mac and OneDrive
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.
Before you start

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.

Solution 1Recommended

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.

1
Create a local folder

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.

2
Insert relative links

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.

3
Test and compress the folder

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.

4
Distribute and retest

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.

Keep the Word document and PDFs in a local ZIP folder
Keep the folder structure intact: Moving the document into OneDrive may convert its local relative paths into SharePoint URLs. Renaming or moving the PDFs within the extracted folder can also break the links.
Free Microsoft Office alternative

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.

Open and edit Microsoft Word DOC and DOCX filesWork with hyperlinks in documents using WPS WriterFamiliar editing tools make migration from Microsoft Office easierFree and lightweight office suite
microsoft office alternative - wps office

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.