Chrome DevTools: Quickly clear all the data from a website

Last updated: April 9, 2019
Quickly clear all the data from a website

When debugging, it's helpful to clear all forms of persistent storage which a website is using. To clear all site data:

  1. Press Cmd + Shift + P
  2. Type in clear
  3. Select Clear site data

💡️   Alternatively, you can navigate to the Application Panel > Clear Site Data panel where you can quantify the data a site is using, and optionally clear it.

This clears storage types such as:

  • Cookies
  • WebSQL
  • Service Workers
  • Cache Storage
  • IndexedDB
  • Local Storage
  • Application Cache

The Clear Site Data feature is currently in Chrome from the Application Panel.

Sign up to receive a developer tip, in the form of a gif, in your inbox each week