Documentation index for AI agents (llms.txt). Markdown versions of every page are available by appending .md to the page URL. The full corpus is at /llms-full.txt.

Cookies Panel

The Cookies Panel displays and manages cookies with full access to all cookie attributes, including HttpOnly and Secure flags. For local and session storage, see the Storage Panel.

The Cookies Panel showing the cookie table with Name, Value, Domain, Path, Expires, HttpOnly, Secure, and SameSite columns
The Cookies Panel: the full cookie table with every attribute editable in place

Key Features

  • Two Data Sources: Read cookies either from the full Chrome cookie store (requires permission) or directly from document.cookie as a fallback
  • Comprehensive Columns: View and edit Name, Value, Domain, Path, Expires/Max-Age, Size, HttpOnly, Secure, and SameSite
  • Scope Selection: Switch between "All" cookies (requires all-sites permission) and "This site" cookies (per-site permission)
  • Flag Toggling: Double-click HttpOnly or Secure cells to toggle these flags instantly
  • Flexible Expiry: Edit expiration dates using ISO format or type "Session" for session cookies
  • Search & Filter: Filter cookies by name, value, or domain
  • Add & Remove: Create new cookies or delete existing ones via the toolbar

Permission Model

The panel reads from chrome.cookies and requires Chrome's all-sites permission. This grants access to every cookie in your profile across all domains. Chrome will warn you about this broad permission when you enable it.

Editing Operations

OperationHow
Edit NameDouble-click the Name cell to rename a cookie
Edit ValueDouble-click the Value cell to change it
Edit DomainDouble-click the Domain cell (full store only)
Edit PathDouble-click the Path cell (full store only)
Edit ExpiryDouble-click the Expires/Max-Age cell; use ISO date format or "Session"
Toggle HttpOnlyDouble-click the HttpOnly cell to enable/disable (full store only)
Toggle SecureDouble-click the Secure cell to enable/disable
Edit SameSiteDouble-click the SameSite cell; enter "Strict", "Lax", "None", or leave blank
DeleteClick the X icon in the Actions column
AddClick the + button and fill in Name and Value; other fields default to session, host-only, path "/"
Clear AllClick the Ban icon to delete every cookie this site can see

Fallback Mode (document.cookie)

When the inspector falls back to reading document.cookie, a note appears explaining the limitations:

  • HttpOnly cookies are not visible — by design, they cannot be accessed from JavaScript
  • Partial data — Domain, Path, Expires, and flag columns show "—" because document.cookie only reveals names and values
  • No editing of HttpOnly or flags — those require the full chrome.cookies API, accessed through the extension background
  • Path ambiguity — if multiple cookies share the same name at different paths, edits may not target the row you intended; relaunch the inspector to use the full API

Cookies created from the page-fallback mode are subject to the browser's validation rules. For example:

  • Secure cookies require HTTPS — the browser will reject a Secure cookie on an http:// page
  • Domain cookies outside your site — the browser will reject a cookie whose Domain is not a parent of the current host
  • SameSite=None requires Secure — the browser enforces this pairing automatically

SameSite Attribute Values

ValueMeaning
(empty)Unspecified; the browser may default to Lax in future versions
StrictCookie sent only in same-site requests
LaxCookie sent in top-level navigations and same-site requests
NoneCookie sent in all requests (requires Secure flag)

Size Calculation

The Size column and status bar report the combined byte length of the cookie's name and value only—not headers, domain, path, or flags. This matches the storage overhead of the cookie in the browser's cookie jar.

Error Handling

Failed operations display an error message in a red bar below the toolbar:

  • "The cookie could not be saved — storage may be full" or other backend errors when writing
  • "The cookie could not be deleted" if deletion fails
  • "SameSite must be Strict, Lax, None, or empty" if you enter an invalid value
  • 'Use an ISO date like 2027-01-01T00:00:00Z, or "Session"' if the expiry format is unrecognized

Cookies are listed in alphabetical order by domain and then by name, making it easier to find related cookies.

Common Workflows

Grant Permission for the First Time

  1. Open the Cookies panel
  2. Click the Allow cookie access button in the access prompt
  3. Accept the browser permission dialog
  4. The panel will re-load with full access to cookies
  1. Click the + button in the Cookies toolbar
  2. Enter a Name and Value
  3. Press Enter or click outside the row
  4. The cookie is set to the current hostname, path /, and session-only by default

Delete Multiple Cookies Matching a Pattern

  1. Use the Filter field to narrow the list to cookies you want to remove
  2. Click the X button on each cookie, or
  3. Click Clear to delete all visible cookies at once (clears the entire current site, not just filtered results)