User Agents

Web browsers and everyday web tech, explained

Chrome Storage Inspector: How to Use It

· 5 min read · Browsers

In this article
  1. What Is the Chrome Storage Inspector?
  2. How to Open the Storage Inspector
  3. Inspecting Local and Session Storage
  4. Viewing and Editing Cookies
  5. Exploring IndexedDB and Cache Storage
  6. Common Problems and Misconceptions
  7. Alternatives to the Storage Inspector
  8. Frequently Asked Questions

Open Chrome DevTools (F12 or Ctrl+Shift+I on Windows/Linux, Cmd+Option+I on Mac), click the Application tab, and select Local Storage, Session Storage, IndexedDB, Cookies, or Cache Storage from the left panel to inspect and edit site data. The Storage Inspector is part of DevTools and lets you view, modify, and delete data that a website stores in your browser.

What Is the Chrome Storage Inspector?

The Storage Inspector is a set of panels inside Chrome DevTools (the built-in developer tools) that shows you everything a website has saved in your browser. It groups storage types into one place: cookies, local storage, session storage, IndexedDB, Web SQL (deprecated), Cache Storage, and even service worker caches. It is primarily used by web developers to debug how their site stores data, but anyone can use it to see what a site has saved and clear specific items without wiping all browsing data.

How to Open the Storage Inspector

  1. Open Chrome and navigate to the site you want to inspect.
  2. Press F12 or Ctrl+Shift+I (Windows/Linux) or Cmd+Option+I (Mac) to open DevTools.
  3. Click the Application tab in the top menu bar. If you don’t see it, click the » (more tabs) icon and select it.
  4. In the left sidebar, you’ll see sections like Local Storage, Session Storage, IndexedDB, Cookies, Cache Storage, and more. Click any of them to inspect.

Note: The exact labels may vary slightly depending on your Chrome version, but the structure has been stable for years.

Inspecting Local and Session Storage

Local Storage and Session Storage are simple key-value stores that websites use to save small amounts of data (like user preferences or shopping cart items). To inspect them:

  • Click Local Storage and then the domain name (e.g., example.com) to see all key-value pairs.
  • Click a key to see its value in the right pane.
  • Double-click a value to edit it in place.
  • Right-click a key and choose Delete to remove that specific item.
  • Right-click the domain and choose Clear to remove all data for that domain.

You can also add a new key-value pair by double-clicking the empty area at the bottom of the table.

Viewing and Editing Cookies

Cookies are small text files that sites use for sessions, tracking, and preferences. In the Storage Inspector:

  1. Click Cookies and select the domain.
  2. You’ll see a table with columns: Name, Value, Domain, Path, Expires, and HttpOnly.
  3. Double-click any cell to edit it. For example, you can change a session cookie’s value to test a different user state.
  4. Right-click a row to delete that cookie, or right-click the domain to clear all cookies for it.

Be careful: editing cookies can break a site’s functionality or log you out. Always test in a development environment if you’re not sure.

Exploring IndexedDB and Cache Storage

IndexedDB is a more complex database that stores structured data (like offline records or large objects). Cache Storage holds responses for service workers (used for offline support). To inspect:

  • Under IndexedDB, expand the database and its object stores. Click a store to see its records. You can edit or delete records, but the interface is less intuitive than for local storage.
  • Under Cache Storage, expand the cache name and click a request to see the response headers and body. You can delete individual entries or clear the entire cache.

These panels are invaluable for debugging progressive web apps (PWAs) that rely on offline data.

Common Problems and Misconceptions

Misconception: The Storage Inspector shows all data on your computer. It only shows data for the currently open site. You can’t see other sites’ storage from this panel.

Problem: I can’t find the Application tab. If you don’t see it, click the » (overflow) menu in DevTools and select Application. You can also press Ctrl+Shift+P (Cmd+Shift+P on Mac) and type “Show Application” to open it.

Problem: I see “Web SQL” but it’s deprecated. Web SQL is no longer recommended, but you may still see it for legacy sites. The Storage Inspector shows it if the site uses it.

Problem: Edits don’t persist after refresh. Some storage types (like session storage) are cleared when the tab closes. Also, if a site’s JavaScript overwrites your change, it will revert. The inspector is for debugging, not permanent modification.

Alternatives to the Storage Inspector

If you want to manage site data without DevTools, Chrome’s built-in Site Settings (click the lock icon next to the URL → Site settings) lets you clear cookies, storage, and other permissions for a specific site. For a broader view, you can go to chrome://settings/content/all to see all sites with stored data and clear them individually. Extensions like EditThisCookie or Storage Area Explorer offer a more user-friendly interface, but the built-in inspector is free and always available.

Frequently Asked Questions

How do I clear all storage for a site using the inspector?

In the Application tab, right-click the domain under any storage type (e.g., Local Storage) and choose Clear. To clear everything at once, click the Clear storage option in the left sidebar, then click Clear site data.

Can I use the Storage Inspector to see passwords?

No. Passwords are stored in Chrome’s password manager, not in the storage types the inspector shows. You can view saved passwords in chrome://settings/passwords.

Why does the Storage Inspector show “null” for some origins?

This happens when a site uses an opaque origin (e.g., a sandboxed iframe or a data: URL). Such origins have no meaningful domain, so Chrome displays “null”. You can’t edit data for these origins directly.

Is it safe to edit storage values?

Yes, but only for testing. Changing a value can break the site’s logic or cause unexpected behavior. Always refresh the page after editing to see the effect, and clear your changes if something goes wrong.

Does the Storage Inspector work on mobile Chrome?

No, DevTools is not available in the mobile browser. However, you can use remote debugging by connecting your phone to a computer and opening DevTools on the desktop to inspect the mobile site.