How to use Google cache to restore a web page?

  • September 13, 2017

In the event that you need a file restored and you have no local backup or our backup isn't usable for any reason, you may be able to use Google's cache as an alternative.

When Google crawls your website, it takes a snapshot of your page. That snapshot shows what your site looked like when Google crawled it, and is available to see using the "Cached" link in Google's search results. Restoring a page using Google's cache, in short, is using the html Google saved when crawling your site to rebuild the file you need restored.

Please note:
The steps outlined below are not guaranteed to work. This method is only recommended to be used as a last resort. Google's cache will not work on php or other pages using server side scripting as Google cannot see your php code, only the html that is generated.

  1. Search Google for Be sure to replace with your domain name and do not insert any spaces between site: and
  2. You will see a listing of all pages that Google has crawled that are in Click the Cached link next to the page you need to restore.
  3. At the top of the page, Google will display a message similar to:
  4. This is Google's cache of It is a snapshot of the page as it appeared on Dec 14, 2016 22:29:21 GMT.

    The snapshot date listed is the date that Google crawled your site. If your page shows correctly below this message, then you should be able to use the html code in Google's cache to attempt to restore the file.

    View the source code of the page. In most browser's, you can right-click and choose View Page Source. The source code is the html code that is used to render your website. Select all the code in the page source and copy/paste it into a test file in your account. For example, if you are trying to restore index.html, place the code in a file named index_test.html. Google adds a few lines to the top of the page, so you'll want to remove the first few lines of code at the top. Those first few lines is what Google uses to display the information at the top of the cached page, for example, the snapshot date.

  5. Test the new file in your browser. In this example, you would want to test If this version of your page in Google's cache will work for you, move the original file out of the way and instead put the test file in place. In this example, you would rename index.html to anything else, like index.html.bak, and then rename the test file index_test.html to index.html.
Another good website to restore your pages might be, which is a digital archive of the World Wide Web and other information on the internet.

How helpful was this article to you?