This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge

To view, edit, and delete sessionStorage key-value pairs, use the Application tool.

View sessionStorage keys and values

  • In DevTools, click the Application tab to open the Application tool. The Manifest panel is shown by default.

  • Expand the Session Storage menu.

  • Click a domain to view the key-value pairs.

  • Click a row of the table to view the value in the viewer below the table.

    Create a new sessionStorage key-value pair

  • View the sessionStorage key-value pairs of a domain .

  • Double-click the empty part of the table. DevTools creates a new row and focuses your cursor in the Key column.

    Delete sessionStorage key-value pairs

  • View the sessionStorage key-value pairs of a domain .

  • Click the key-value pair that you want to delete. DevTools highlights it blue to indicate that it is selected.

  • Press Delete or click Delete Selected ( Delete Selected ).

    Delete all sessionStorage key-value pairs for a domain

  • View the sessionStorage key-value pairs of a domain .

  • Click Clear All ( Clear All ).

    Interact with sessionStorage from the Console

    Since you can run JavaScript in the Console , and since the Console has access to the JavaScript contexts of the page, it's possible to interact with sessionStorage from the Console .

  • Use the JavaScript contexts menu to change the JavaScript context of the Console if you want to access the sessionStorage key-value pairs of a domain other than the page you are on.

  • Run your sessionStorage expressions in the Console , the same as your JavaScript.

    Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons Attribution 4.0 International License . The original page is found here and is authored by Kayce Basques (Technical Writer, Chrome DevTools & Lighthouse).

    This work is licensed under a Creative Commons Attribution 4.0 International License .

  •