How to clear Web Storage in your browser of choice

Web Storage, also known as HTML5 Storage, Local Storage or DOM Storage, offers a way for web applications and pages to store data locally in web browsers.

The data that is stored is persistent meaning that it does not expire with a session. If you browse away from the site that saved the data or close the browser, you will notice that the data is still there when you open it again or check for it locally.

The storage option is supported by all modern browsers, even mobile ones, and just like cookies, is used for good and bad.

The Web Storage specification on the W3C website has a whole chapter about privacy implications and solutions.

Basically, web storage can be used to track users on the Internet.

Find out which sites use Web Storage

firefox web storage

It is actually pretty easy to find out if a website uses Web Storage. If you are using Firefox, press F12 to open the Developer Tools of the browser. Switch to storage and open Local Storage when you are there.

If Storage is not available by default, open the settings of the browser and check the feature so that it becomes available.

If you are using Google Chrome, press F12 as well and switch to Resources > Local Storage in the browser to display the information.

Note that this reveals information about the active web page only and not about other sites in the browser.

chrome local storage

Chrome users can load chrome://settings/cookies in the browser to display all sites that have stored local storage (and cookies and other forms of storage) locally.

Clearing Web Storage

You can delete the storage in most modern browsers. The following guide applies to Firefox, Chrome and Internet Explorer, the three most widely used browsers.

Warning: The process will delete cookies and local storage. This means that it will remove session cookies which in turn means that you will have to sign in anew to websites and applications.

Mozilla Firefox

firefox delete local storage

  1. Press Ctrl-Shift-Del to open the Clear All History menu.
  2. Make sure you have selected Cookies and that the time range is set to Everything.
  3. Note: Only Everything removes local storage, any other time frame does not. Use this bug to track the issue. More Information about Local Storage in Firefox here.
  4. Alternative: Volatile Storage add-on which you can use to clear Local Storage manually, or automatically on exit or start of the browser.

Google Chrome

chrome clear local storage

  1. Press Ctrl-Shift-Del to bring up the Clear browsing data page in Chrome (this works in other Chromium-based browsers as well).
  2. Make sure Cookies and other site data is selected.
  3. Change the time frame at the top to "the beginning of time".
  4. Click on Clear browsing data to start the process.
  5. Note: You can delete individual local storage data by loading chrome://settings/cookies.

Microsoft Internet Explorer

internet-explorer delete local storage

  1. Tap on the Alt-key to display the menu bar.
  2. Select Tools > Internet Options from the menu that opens up.
  3. Check "delete browsing history on exit" under General.
  4. Click on the delete button afterwards and make sure Cookies and website data is selected. If you don't want to keep the data for sites in the favorites, uncheck "Preserve Favorites website data" at the top.
Summary
Article Name
How to clear Web Storage in your browser of choice
Description
Find out how to clear persistent local storage in the Mozilla Firefox, Google Chrome and Microsoft Internet Explorer browser.
Author
Please share this article

Facebooktwittergoogle_plusredditlinkedinmail



Responses to How to clear Web Storage in your browser of choice

  1. Dwight Stegall February 5, 2015 at 10:51 pm #

    Thanks very helpful article. Cloudfront and Superfish are now cleared.

  2. beachbouy February 6, 2015 at 4:26 pm #

    Very enlightening and helpful post. Thanks.

  3. Saranathan February 20, 2015 at 5:22 am #

    Thank you very much, Mr Brinkmann

Leave a Reply