This guide shows you how to use Chrome DevTools to view, edit, and delete localStorage
key-value pairs. Local storage saves data across browser sessions.
localStorage
keys and valuesOpen DevTools on the website you want to inspect.
Navigate to Application > Storage and expand Local Storage. Click a domain to view its key-value pairs.
To preview the value below the table, select a pair.
To manually refresh the key-value pairs, click Refresh in the action bar at the top.
To quickly find a key-value pair you need, type into the filter box at the top a string that either the key or value contains.
localStorage
key-value pairlocalStorage
key-value pairs. For example, on this demo page.localStorage
keys or valueslocalStorage
key-value pairs. For example, on this demo page.localStorage
key-value pairslocalStorage
key-value pairs. For example, on this demo page.localStorage
from the ConsoleSince you can run JavaScript in the Console, and since the Console has access to the page's JavaScript contexts, it's possible to interact with localStorage
from the Console.
localStorage
key-value pairs of a domain other than the page you're on, select the JavaScript context you need from the context drop-down menu in the action bar at the top.localStorage
expressions in the Console, the same as you would in your JavaScript.Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2019-03-14 UTC.