Skip to main content

How to compare and restore SharePoint Pages

As users edit the SharePoint pages, add and delete content and web parts, it is also necessary to restore the previous versions of the pages. We had this functionality for a long time. As a matter of fact, I even wrote a post about it. However, Microsoft has recently upgraded the experience. So I would like to explain a modern option now and show you how you can easily compare and restore SharePoint Pages without going behind the scenes as with the old method.

Undo vs. Restore

To remind you first, I am not talking about the Undo button while you edit the page – that is easily taken care of by clicking the Undo button.


I am talking about restoring a page that was already published. Something that will allow you to restore a page from a week or month ago.

How to restore SharePoint Pages

  1. Click on Page Details on the top of the Page, then Version History on the right-hand-side panelComparerestoresharepointpagesmodern2
  2. It will then display all the versions of the page in the reverse chronological ordercompare and restore SharePoint Pages
  3. You can click on any previous version of the page to see what it looked like then. It also mentions the changes made during that specific and restore SharePoint Pages
  4. You can also toggle the Highlight changes on the page switch to highlight the changes made on the page for visual representation!compare and restore SharePoint Pages
  5. To restore a specific version of the page, click 3 dots next to the version, then Restorecompare and restore SharePoint Pages
  6. What happens next is very important! It does restore the previous version of the page, but it DOES NOT publish it. You will notice that it gets a minor version, and the page is set to Draft. That means that the page is restored but not Published! It does it on purpose as it wants to make sure you are OK with the changes before everyone else gets to see them.Comparerestoresharepointpagesmodern7 1
  7. To Publish the page, click “X” to exit from the Version History panelcompare and restore SharePoint Pages
  8. Review the page’s changes to make sure it is all good and hit Republish to make them official!Comparerestoresharepointpagesmodern9

How many versions are saved?

You might be wondering how many versions of each page are saved. The Site Pages Library (this is where the pages are stored), just like a Document Library, stores the last 500 versions of each page. If you are the Site Owner, you can increase it to 50,000 if you wish. To do this:

  1. Gear Icon > Site ContentsComparerestoresharepointpagesmodern10
  2. Click 3 dots next to the Site Pages Library, then SettingsComparerestoresharepointpagesmodern11
  3. Next, click Versioning SettingsComparerestoresharepointpagesmodern12
  4. Change the number of versions to any other number between 1 and 50,000. Click OKcompare and restore SharePoint Pages

You may also like

How to apply a site template to a SharePoint Site

April 28th, 2022

You may also like

How to create an FAQ using collapsible sections in SharePoint Online

March 1st, 2022

You may also like

Top 5 features of Microsoft Lists

February 1st, 2022

Need SharePoint Help?

Hourly consulting, training and configuration services are available

Learn More