View, edit, and delete cookies - Microsoft Edge Developer documentation (2024)

  • Article

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 by pressing F12 or Ctrl+Shift+I (Windows, Linux) or Command+Option+I (macOS).

  2. In DevTools, on the Activity Bar, select the Application tab. If that tab isn't visible, click the More tools (View, edit, and delete cookies - Microsoft Edge Developer documentation (1)) button, and then click Application. The Manifest pane usually opens by default:

    View, edit, and delete cookies - Microsoft Edge Developer documentation (2)

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

    View, edit, and delete cookies - Microsoft Edge Developer documentation (3)

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.

  • HttpOnly. 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.

  • SameParty. This attribute provides web developers a means to annotate cookies that are allowed to be set or sent in same-party, cross-site contexts.

  • Partition Key. The partition key of a cookie only exists when the cookie is set in partitioned storage and corresponds to the top-level site where the cookie was initially created. See Cookies Having Independent Partitioned State (CHIPS) origin trial.

  • 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:

View, edit, and delete cookies - Microsoft Edge Developer documentation (4)

Note: Filtering by other fields isn't supported.

Edit a cookie

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

View, edit, and delete cookies - Microsoft Edge Developer documentation (5)

Delete cookies

To delete a specific cookie, click a cookie and then click Delete Selected (View, edit, and delete cookies - Microsoft Edge Developer documentation (6)):

View, edit, and delete cookies - Microsoft Edge Developer documentation (7)

To delete all cookies, click Clear all cookies (View, edit, and delete cookies - Microsoft Edge Developer documentation (8)):

View, edit, and delete cookies - Microsoft Edge Developer documentation (9)

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

View, edit, and delete cookies - Microsoft Edge Developer documentation (10)This work is licensed under a Creative Commons Attribution 4.0 International License.

View, edit, and delete cookies - Microsoft Edge Developer documentation (2024)
Top Articles
Latest Posts
Article information

Author: Arielle Torp

Last Updated:

Views: 6635

Rating: 4 / 5 (61 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Arielle Torp

Birthday: 1997-09-20

Address: 87313 Erdman Vista, North Dustinborough, WA 37563

Phone: +97216742823598

Job: Central Technology Officer

Hobby: Taekwondo, Macrame, Foreign language learning, Kite flying, Cooking, Skiing, Computer programming

Introduction: My name is Arielle Torp, I am a comfortable, kind, zealous, lovely, jolly, colorful, adventurous person who loves writing and wants to share my knowledge and understanding with you.