OneDrive File Issues

How to Keep Local Excel and Word Links from Changing to OneDrive URLs

Natalie TaylorNatalie Taylor Nov 2, 2026 870 views

Question details

The user wants to prevent linked objects in Excel and Word documents from automatically changing from local file paths to OneDrive web URLs when files are saved in a local OneDrive folder.

How to Prevent Local Excel and Word Links from Changing to OneDrive URLs
Product
Microsoft Office / OneDrive
Device & OS
not provided
Scenario
Working with linked Office documents stored within a local OneDrive backup folder.
Observed behavior
When reopening synced Office files, local file links automatically change to online paths, causing the links to either fail or open the source document in a web browser instead of the local desktop application.
Before you start

Ensure you have access to your OneDrive settings and note that modifying Office sync settings will disable Microsoft AutoSave for these documents.

Solution 1Recommended

Disable Office Synchronization in OneDrive Settings

By turning off the Office integration feature within OneDrive, you can force the application to treat files as local documents, preserving local file links.

OneDrive and Microsoft Office work together to enable real-time co-authoring and AutoSave. As part of this integration, OneDrive automatically treats files inside its synced folders as online documents, converting local link paths into SharePoint or OneDrive URLs. Disabling this specific sync setting stops the conversion.

1
Open OneDrive Settings

Click the OneDrive cloud icon located in your system tray or menu bar. Click on the gear icon (Help & Settings) and select 'Settings' from the menu.

2
Navigate to the Office Tab

In the Microsoft OneDrive settings window, click on the 'Office' tab at the top.

3
Disable Office Sync

Clear the checkbox that says 'Use Office applications to sync Office files that I open'. Click 'OK' to save your changes.

4
Reinsert Linked Objects

Open your Excel or Word documents, delete the broken or web-linked objects, and reinsert them using the standard local file path.

Disable Office Synchronization in OneDrive Settings
Impact on AutoSave: Disabling this setting means Microsoft AutoSave will no longer function for files in OneDrive. You must remember to save your documents manually (Ctrl+S).
Free Microsoft Office alternative

Use WPS Office to Keep Local Links Intact Easily

If disabling AutoSave in Microsoft Office is not a viable option, consider switching to WPS Office. WPS Office respects local file paths and allows you to build robust, locally linked documents without forcing unwanted cloud URL conversions.

  1. 1. Download and Install WPS Office: Visit the official WPS website, download the free installation package, and install it on your computer.
  2. 2. Open Your Office Files: Launch WPS Office and open your existing Excel and Word documents directly from your local OneDrive folder.
  3. 3. Work Locally with Confidence: Insert your local links and edit your files knowing that WPS Office will not automatically rewrite your local paths into web URLs.
Maintains local file paths for linked documents and objects without forced URL conversionsFully compatible with Microsoft Excel and Word formats (.xlsx, .docx)Free, lightweight, and easy to use without aggressive cloud integrationsFamiliar user interface requires no learning curve to migrate
QA img-9

Frequently Asked Questions

Why does OneDrive change my local file links to URLs automatically?

When Office sync is enabled in OneDrive, it prioritizes features like AutoSave and live co-authoring. To facilitate this, it treats local files as cloud documents, rewriting local paths (like C:\Users\...) to SharePoint or OneDrive web URLs.

Can I keep Microsoft AutoSave enabled while preserving local links?

Unfortunately, no. In Microsoft Office, the AutoSave feature requires the document to be processed as an online file. If you require strict local linking within a synced OneDrive folder, you must disable the Office sync setting, which turns off AutoSave.

How do I fix links that have already been converted to web URLs?

You will first need to change your OneDrive settings by unchecking 'Use Office applications to sync Office files that I open'. Afterward, you must open your document, remove the objects that have web URLs, and manually insert them again using their local file paths.