Backup and restore local storage

Usage

  1. Drag the following buttons and drop them into your bookmarks. They are so called bookmarklets.
  2. Open site you want to backup / restore and click on this bookmarked button.

Backup

Takes all key-value pairs from your local storage and serves them to download as a JSON file.

Backup local storage

Restore

Creates overlay in current page with one file selector. Select file with backups. All items will be automatically restored.

Restore local storage

Clear

Removes all items from local storage.

Clear local storage

Security, privacy

All operations are executed locally. There is no server side, no tracking, no server uploads. HTML5 provides necessary functionality like File API. You can always examine the source code of bookmarklets and the repository itself.

Limitations

Content-Security-Policy can block execution of script stored as a bookmarklet. in this case backup and restore doesn't work.