Upload a New SharePoint File Version and Keep Version History
Question details
The user wants to upload an updated file to SharePoint while retaining access to earlier versions.

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- A file with the same name is uploaded to a SharePoint document library that already contains an earlier copy.
- Observed behavior
- With library versioning enabled, the replacement is saved as a new version of the existing file, and earlier versions are available in Version History.
Locate the existing file and confirm that you have permission to edit it and access the library's versioning settings. Check that the replacement file has the same name and extension as the existing file.
Enable Versioning and Upload the Replacement File
Use this method to keep the existing SharePoint file and add the uploaded copy as a new version.
Open the SharePoint document library, select Settings, and choose Library settings. If needed, select More library settings.
Open Versioning settings, select Create major versions, and save the changes. Review any version retention limits shown on the same page.
In the folder containing the existing file, select Upload and choose the updated file with the same name and extension. Confirm the prompt to replace the existing file.
Select the file's three-dot menu and choose Version history. Open a listed version's menu to view or restore it.

Edit the Existing SharePoint Document
Use this approach when you can make the changes directly instead of uploading a separate copy.
Edit Office Files Before Uploading Them to SharePoint
WPS Office is a free, lightweight alternative with a familiar interface and support for common Microsoft Office formats, making it easy to move existing files into your workflow. You can edit a document in WPS Office before uploading it to SharePoint; SharePoint manages the library's version history.

Frequently Asked Questions
Where can I check whether SharePoint versioning is enabled?
In the document library, open Settings > Library settings > Versioning settings. If necessary, select More library settings first. You may need library management permissions to view or change these settings.
How do I restore an earlier version of a file?
Select the file's three-dot menu in the library and choose Version history. Open the menu for the version you want and select Restore.
Will uploading a differently named file add it to the same version history?
No. A differently named file is stored as a separate item. Upload the replacement to the same folder with the same name and extension, then confirm that you want to replace the existing file.
Can I recover an older file after enabling versioning?
Versioning does not retroactively create versions for content replaced before it was enabled. Check Version history for any versions that were already retained.




