SharePoint Document Issues

Why SharePoint Changes Word Files Without Editing

Nimra MalikNimra Malik Oct 20, 2026 869 views

Question details

The user needs to understand why Microsoft Word documents change in file size and MD5 hash after being uploaded or synced to SharePoint and OneDrive, even when no user edits the content.

Why SharePoint Changes Word Document Files Without Editing Them
Product
Microsoft Word
Device & OS
Windows
Scenario
Uploading, downloading, or synchronizing Word documents via SharePoint or OneDrive.
Observed behavior
The Word document's file size and MD5 hash change due to underlying OOXML component updates, despite the visible text content remaining identical.
Before you start

Before troubleshooting, keep a backup copy of your original Word document outside of SharePoint to compare its file size and XML package later.

Solution 1Recommended

Upload Directly to the SharePoint Web Library

Bypassing the OneDrive desktop sync folder can help determine if the local synchronization client is causing the file modifications.

SharePoint and OneDrive often update components of a Word document package during synchronization. Testing via the web interface isolates the issue.

1
Open SharePoint library in browser

Navigate to your SharePoint document library using a web browser instead of Windows Explorer.

2
Upload the Word document manually

Click the Upload button and select a test copy of your original Word file to upload it directly.

3
Download and verify the file hash

Download the file directly from the web interface and generate a new MD5 hash using PowerShell to check if it remains unchanged.

Upload Directly to the SharePoint Web Library
OneDrive Client Reset: If the file hash changes only when using the local synchronized folder, consider resetting or reinstalling your OneDrive sync client.
Free Microsoft Office alternative

Try WPS Office for Unaltered Local Document Editing

If Microsoft SharePoint continuously alters your file metadata and hashes during sync, you can maintain full control over your offline files by using WPS Office. It provides a lightweight, highly compatible editing environment without forcing unwanted background XML modifications.

  1. 1. Download WPS Office: Visit the official WPS website to download and install the free office suite.
  2. 2. Open your documents locally: Launch WPS Writer and open your .docx files directly from your local storage.
  3. 3. Save without forced sync metadata: Edit and save your files locally, ensuring the file size and metadata remain exactly as you intend without background SharePoint interference.
Free and lightweight office suiteFully compatible with Microsoft Word .docx formatsKeeps local file hashes and XML packages strictly unchangedFamiliar user interface requires no learning curve
microsoft office alternative - wps office

Frequently Asked Questions

Why does the MD5 hash of my Word document change in SharePoint?

SharePoint and OneDrive update underlying OOXML components like customXml and document.xml.rels during synchronization or background processing. This modifies the binary file structure, which changes the overall MD5 hash.

Does a changed file size mean my Word document was edited by someone?

Not necessarily. SharePoint can automatically inject metadata, retention labels, or co-authoring tags into the document's XML package. This background processing increases the file size even if the visible text content remains identical.

How can I verify that my actual content hasn't changed despite the hash mismatch?

Instead of comparing the full file's MD5 hash, you can change the .docx file extension to .zip and extract the contents. From there, use comparison software like KDiff on the internal 'document.xml' file to confirm the actual text is entirely unchanged.