Backup and Restore your Google Site

The public Google Sites (old version) does not give you an option to download a backup of your site so it will be a problem if you want to migrate to another place. Fortunately, a project (was originally hosted on Google Code) on Github that can make a copy of your site: "...using HTML Microformats it generates an XHTML version of Sites content suitable for offline browsing and simple HTTP hosting, which is also able to be losslessly imported back into sites."

In Ubuntu you can use the tool as follows:

1. Install Java (I tested it with OpenJDK 8)

2. Download the jar package (It's version 1.0.6 when I'm writing this post):

3. Execute the jar file to open the graphic interface:

java -jar google-sites-liberation-1.0.6-jar-with-dependencies.jar


  • Host: If not, specifies the Site's host (optional). Used for debugging. 
  • Domian: If the site is a Google Apps site, specifies the domain, e.g. (optional). 
  • Webspace: Specifies the webspace of the Site, e.g. "mysite" for a site located at
4. Click "Get a token from browser" to grant access to the app and get the token, copy and paste the token to the box.

5. Click "Export from Sites" to download.