How to Replace SharePoint File Without Changing Link – Complete Guide

Mack John ~ Published: July 29th, 2025 ~ SharePoint ~ 5 Minutes Reading

If you need to replace SharePoint file without changing the link, don’t delete and re-upload it. I’ve done this many times, and the key is to overwrite the existing file with the same name in the same location. In this guide, I’m going to explain how to do it step by step.

Table of Contents

When you upload a new file to SharePoint, it generates a new URL. This becomes a problem if you’ve already distributed that link to colleagues or added it to workflow tools. Instead of replacing all references, overwrite the existing file and retain the original link.

To do so, go through the next section. 

When I needed to replace a SharePoint file, I researched and found three methods, which are listed below:

replace SharePoint file without changing link

Method 1. Replace File via SharePoint Document Library

I read this Microsoft document that explains the best way to upload and replace files in a SharePoint document library. Here are the steps mentioned in this guide:

  1. Open the SharePoint site.
  2. Navigate to the Document Library.
  3. Find the exact file whose link to preserve.
  4. Use the Upload > Files option or drag and drop the new file with the same name directly into the folder.
  5. When prompted A file with this name already exists. Do you want to replace it? Click Replace.

Replacing File in SharePoint Embedded in Microsoft Teams

If you shared files with Teams, then:

  1. Open the Teams channel’s Files tab.
  2. Click Open in SharePoint.
  3. Replace the file in SharePoint using the same name.

The Teams link stays the same, and the new version shows up right away. If you manage lists instead of files, you might want to know how to export SharePoint list to PDF for offline sharing.

Method 2. Replace via OneDrive Sync Folder

OneDrive Sync Folder will help in this. Here’s how:

  1. From the SharePoint document library, click Sync to configure the library to your local OneDrive folder.
  2. Now, open the synced folder.
  3. Find the file to replace and paste the new version over it, with the same file name.
  4. OneDrive will automatically sync the new version back to SharePoint in the background.

The file is replaced, and the link remains unchanged.

Method 3. Use Check Out / Check In

For more formal or sensitive documents, use the check out/check in feature to replace SharePoint file without changing link. Before checking in an important file update, create backup SharePoint Online to local storage.

After making a local copy, follow the steps given below:

  1. In the SharePoint document library, click the three dots () and choose More > Check out.
  2. Replace the file by uploading a new version with the same filename.
  3. After upload, select Check in from the same menu and add a comment if needed.

This method is ideal when multiple team members are collaborating.

Replacing Files in Classic vs Modern SharePoint

In Modern SharePoint, replacing a file is easy; just upload the new version, and it prompts to replace it.

In Classic SharePoint, I usually need to use the Upload button. Sometimes I have to check the file out first. It works, but it takes a few more clicks.

Enable Version History for Safety

Before replace any important file, double-check that Version History is enabled. But if you found the SharePoint Version history missing, then it is disabled. To check or enable this, perform these step-by-step instructions:

  1. Open Library Settings in the document library.
  2. Click Versioning Settings.
  3. Make sure that Create a version each time you edit a file is selected.

I highly recommend always turning this on.

How SharePoint Handles File Versioning?

When I replace SharePoint file without changing link, it doesn’t delete the old one. Instead, it creates a new version under the same URL. It tracks:

  • Who made the change
  • When it was modified
  • What version is it

I can always go to Version History, view older versions, or restore one if needed. 

Automate Replacements with Power Automate

If you frequently replace files from the same source, consider using Power Automate:

  • Trigger: File created or modified in a monitored folder, OneDrive or SharePoint.
  • Action: Overwrite the file in the destination SharePoint document library.

When I have to replace files in bulk across sites or during migrations, I use SharePoint Migrator. It’s a reliable tool that preserves file metadata, permissions, and links.

Author’s Verdict

Replacing a SharePoint file without changing its link is simple once you know how. The mentioned solutions help you to easily replace SharePoint file without changing the link in a few minutes! 

People Also Ask
  • Can I replace a PDF file in SharePoint without changing its link?
    Yes, as long as the new file has the same name and extension, it will overwrite the old one and retain the link.
  • What happens if I delete and re-upload a file?
    SharePoint treats it as a new file, which means the old link will break.
  • Will permissions change after replacing a file?
    No. As long as the file stays in the same location, its permissions remain unchanged.
  • Can I track previous versions?
    Yes, if versioning is enabled in your document library, you can view or restore earlier versions.