How to Inspect and Manage HTTP Cookies in Microsoft Edge DevTools

Web applications rely heavily on HTTP cookies to manage user authentication, session persistence, personalization preferences, and analytical state. However, diagnosing cookie-related problems—such as unexpected session logouts, missing SameSite directives, cross-site tracking blocks, and third-party cookie deprecation rules—requires precise inspection tools.

Microsoft Edge DevTools provides a comprehensive, dedicated cookie inspector within its Application panel. This allows web developers and security engineers to view, search, edit, create, and delete cookies in real time, as well as test modern cookie architectures like Cookies Having Independent Partitioned State (CHIPS).

Opening the Cookies Tool in Edge DevTools

To inspect cookies for the active webpage:

  1. Open Microsoft Edge and navigate to the target website.
  2. Press F12 (or press Ctrl + Shift + I on Windows / Cmd + Option + I on Mac) to open DevTools.
  3. Click the Application tab in the main navigation bar. (If it is hidden, click the More tabs (≫) button).
  4. In the left sidebar, expand the Storage category.
  5. Click the disclosure arrow next to Cookies.
  6. Select the domain origin you wish to inspect (e.g. https://example.com).

DevTools renders a tabular grid displaying every active cookie stored for that domain.

Understanding Cookie Table Fields and Attributes

The Cookies table displays several critical attributes that govern how Edge and web servers treat each token:

  • Name: The unique identifier of the cookie.
  • Value: The stored string payload (can be URL-decoded directly).
  • Domain: The host domain and subdomains authorised to access the cookie.
  • Path: The URL path required on the host for the cookie header to be transmitted.
  • Expires / Max-Age: The expiration timestamp. Cookies labelled Session are automatically purged when the browser closes.
  • Size: Total size in bytes (names plus values).
  • HttpOnly: When marked with a checkmark, JavaScript (such as document.cookie) cannot read the cookie, mitigating cross-site scripting (XSS) session theft.
  • Secure: Ensures the cookie is only transmitted over encrypted HTTPS connections.
  • SameSite: Dictates cross-site transmission behavior (Strict, Lax, or None).
  • Partition Key: Displays the top-level site partition for CHIPS cookies, isolating third-party cookies per top-level context.
  • Priority: Resource priority (Low, Medium, High) for cookie retention when storage quotas are approached.

Editing and Creating Cookies Live in DevTools

DevTools allows you to modify existing cookie values or insert test cookies to simulate expired states, altered user roles, or feature flags:

Modifying an Existing Cookie

  1. Double-click any cell in the Value column.
  2. Enter the updated string value and press Enter.
  3. Similarly, double-click the Expires / Max-Age field to set a custom future or past expiration date.

Creating a New Cookie

  1. Scroll to the bottom of the cookie table and double-click the empty row below the existing entries.
  2. Type a new Name (e.g. beta_tester_flag).
  3. Type a Value (e.g. true).
  4. Edge automatically populates the default Domain and Path values. You can toggle Secure or change SameSite as required.

Filtering and Searching Cookies

On complex web portals containing dozens of analytical and tracking tokens, locating a specific session cookie can be challenging. Use the Filter text box located above the table:

  • Type any substring to filter by cookie name or value.
  • Click the Show only cookies with issues checkbox to immediately identify cookies flagged by Edge for deprecated third-party access, missing SameSite=None; Secure attributes, or formatting warnings.

Deleting and Clearing Cookies

When testing authentication handshakes or first-time visitor onboarding experiences:

  • Delete an individual cookie: Click the cookie row in the table, then click the Delete Selected (⌫) icon on the toolbar (or press Delete on your keyboard).
  • Clear all cookies for the domain: Click the Clear All (🚫) button in the top action bar.
  • Clear all website storage: In the left sidebar, click Storage at the top, select Cookies, and click Clear site data to wipe cookies, IndexedDB, and localStorage simultaneously.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.