How to clear Web Storage in your browser of choice

Martin Brinkmann
Feb 5, 2015
Internet
|
5

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
How to clear Web Storage in your browser of choice
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
Advertisement

Tutorials & Tips


Previous Post: «
Next Post: «

Comments

  1. Garth said on August 10, 2017 at 6:20 pm
    Reply

    How about Safari? There are a lot of Mac users out here

  2. stedis said on February 2, 2017 at 5:14 pm
    Reply

    Never knew about this new concept of HTML5 Local Storage. This surely opens up new possibilities for advertising networks to track the usage of a web page. Thank you very much for this howto on clearing the local storage. But, how would I clear the local storage of mobile web browsers?

  3. Saranathan said on February 20, 2015 at 5:22 am
    Reply

    Thank you very much, Mr Brinkmann

  4. beachbouy said on February 6, 2015 at 4:26 pm
    Reply

    Very enlightening and helpful post. Thanks.

  5. Dwight Stegall said on February 5, 2015 at 10:51 pm
    Reply

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

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.