View, edit, and delete cookies

HTTP cookies are used to manage user sessions, store user personalization preferences, and track user behavior. Use the Cookies pane of the Application tool to view, edit, and delete the HTTP cookies for a webpage.

See Using HTTP cookies.

Open the Cookies pane

  1. Open DevTools.

  2. Click the Application tab to open the Application panel. The Manifest pane opens:

    The Manifest pane.

  3. Under Storage, expand Cookies, then select an origin:

    The Cookies pane.

Fields

The Cookies table contains the following fields:

  • Name. The name of the cookie.

  • Value. The value of the cookie.

  • Domain. The hosts that are allowed to receive the cookie. See Scope of cookies.

  • Path. The URL that must exist in the requested URL in order to send the Cookie header. See Scope of cookies.

  • Expires / Max-Age. The expiration date or maximum age of the cookie. See Permanent cookies. For session cookies this value is always Session.

  • Size. The size, in bytes, of the cookie.

  • HTTP. If true, this field indicates that the cookie should only be used over HTTP, and JavaScript modification isn't allowed. See HttpOnly cookies.

  • Secure. If true, this field indicates that the cookie must be sent to the server only over a secure, HTTPS connection. See Secure cookies.

  • SameSite. Contains strict or lax if the cookie is using the experimental Samesite attribute.

  • Priority. Contains low, medium (default), or high if the cookie is using the deprecated cookie Priority attribute.

Filter cookies

To filter cookies by Name or Value, use the Filter text box:

Filtering out any cookies that don't contain the text ID.

Filtering by other fields isn't supported.

The Name, Value, Domain, Path, and Expires / Max-Age fields are editable. Double-click a field to edit it:

Setting the name of a cookie to 'DEVTOOLS!'

Delete cookies

To delete a specific cookie, click a cookie and then click Delete Selected (Delete Selected.):

Deleting a specific cookie.

To delete all cookies, click Clear All (Clear All.):

Clearing all cookies.

Note

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).

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