Why Does SharePoint Change File Names During Upload and How to Fix It
Question details
Users notice that files uploaded to SharePoint are being automatically renamed and need to diagnose the cause to prevent unwanted file name changes.

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- Uploading files to a SharePoint document library.
- Observed behavior
- The file names are automatically changed immediately after being uploaded to the SharePoint library, either by adding text, changing characters, or stripping information.
Before making configuration changes, observe whether the renaming occurs immediately after upload, happens in all libraries, and affects other users. Document the original file name, the new file name, and any active synchronization messages to help narrow down the root cause.
Identify Library-Specific Settings and Automated Workflows
Determine if a specific SharePoint library policy or Power Automate flow is triggering the file rename automatically upon upload.
SharePoint libraries are highly customizable. Often, automated workflows or administrative policies are put in place to enforce company-wide naming conventions. Checking these settings can quickly reveal why your files are being renamed.
Navigate to the affected SharePoint library in your web browser. Click on 'Integrate' in the top menu, then 'Power Automate', and check if there are any active flows designed to standardize or rename files.
Upload the exact same file to a completely different SharePoint site or a newly created library. If the file retains its original name, the issue is isolated to the specific settings of the first library.
Contact your IT administrator to check if the organization has enabled strict Microsoft 365 naming policies or retention labels that automatically append dates, prefixes, or suffixes to documents.

Resolve Invalid Characters and OneDrive Sync Conflicts
SharePoint may automatically replace invalid characters or rename files during sync conflicts to prevent data loss.
Try WPS Office for a Hassle-Free Document Experience
If you are dealing with complex SharePoint sync issues or Microsoft Office ecosystem constraints, WPS Office offers a lightweight, free alternative. It provides a highly intuitive interface and seamless local file management without unexpected metadata or file name changes.
- 1. Download the Installer: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install WPS Office: Run the installer and follow the on-screen prompts to set up the lightweight office suite.
- 3. Open Your Documents: Launch WPS Office and open your existing Microsoft Word, Excel, or PowerPoint files directly to edit them without sync interruptions.

Frequently Asked Questions
Does SharePoint automatically change invalid characters in file names?
Yes, while newer versions of SharePoint support a wider range of characters, some legacy configurations or specific sync setups might automatically replace or strip characters like '#' or '%' to make the file name web-safe.
Why is my computer name appended to the SharePoint file name after upload?
This typically occurs due to a sync conflict in the OneDrive client. If the system detects that two users are editing a file simultaneously, or if it cannot merge changes, it creates a duplicate file and appends the computer name to prevent data loss.
Can a Power Automate flow change my file names in SharePoint without warning?
Yes. Site administrators frequently deploy Power Automate flows in document libraries to enforce document control, such as automatically adding a timestamp or user ID to the file name upon upload.
How do I stop SharePoint from renaming my uploaded files?
First, pause your OneDrive sync and upload the file directly via the web browser to rule out a sync conflict. If the file is still renamed, you will need to contact your SharePoint administrator to identify and adjust the specific library workflow or naming policy causing the issue.




