Cookies & tracking
How to check a website's cookies in Chrome DevTools
Open DevTools with F12, go to Application → Cookies to see what's stored, and use the Network panel to see which requests set or send cookies. Test from a clean profile, before and after you answer the cookie banner.
- Plain English
- Written for website owners
- Free to read
On this page
- Step 1: Start from a clean browser
- Step 2: Open DevTools before the page loads
- Step 3: Inspect cookies in the Application panel
- Step 4: Check local storage, session storage and IndexedDB
- Step 5: Trace requests in the Network panel
- Step 6: Read cookies from the Console
- Step 7: Test before and after consent
- Step 8: Check Google Consent Mode signals
- Checklist
- Frequently asked questions
To check a website's cookies in Chrome, open DevTools with F12 (or Cmd+Option+I on a Mac), go to the Application panel, and expand Storage → Cookies, then select the site. You'll see every cookie with its domain, expiry and security flags. To find out which requests set them and which third parties the page contacts, use the Network panel. For a meaningful result, start from a clean browser profile and check both before and after you respond to the cookie banner.
The steps below are for desktop Chrome. Edge, Brave and other Chromium browsers work almost the same way. Panel and column names can change slightly between versions.
Step 1: Start from a clean browser
Cookies from earlier visits will skew your results. You have three options:
- A dedicated test profile. Create a new Chrome profile only for testing. This is the most realistic option. Check
chrome://settings/cookiesin that profile and choose whether to allow third-party cookies, depending on which visitor you want to simulate. - An Incognito window. Quick and clean, but Chrome blocks third-party cookies there by default. That's fine for checking first-party cookies and which requests are made, but you'll undercount third-party cookies.
- Clear site data. In DevTools, go to Application → Storage and click Clear site data. It clears cookies and storage for the current site. Cookies held by third-party domains may survive.
Also note where you're testing from. Many sites show a different banner, or none, depending on the visitor's country. A test from the US may not show you what a visitor in Germany gets.
Step 2: Open DevTools before the page loads
Open a blank tab, then open DevTools first, so you capture everything from the first request:
- Press F12 or Ctrl+Shift+I (Windows, Linux, ChromeOS), or Cmd+Option+I (Mac). You can also right-click the page and choose Inspect.
- Go to the Network panel and tick Preserve log, so requests aren't cleared when the page navigates or reloads.
- Tick Disable cache as well, so scripts are fetched fresh.
- Type the site's address in the address bar and load it. Don't click the cookie banner yet.
Step 3: Inspect cookies in the Application panel
Go to Application and expand Storage → Cookies in the left sidebar. You'll see one entry per origin: the site itself, and often the origins of embedded frames. Select the site's origin.
The table can include cookies from other domains that the page sent requests to, so read the Domain column carefully. These are the main columns:
| Column | What it tells you |
|---|---|
| Name / Value | The cookie's key and content. Select a row to see the full value below the table, with an option to show it URL-decoded. |
| Domain | Who the cookie belongs to. A leading dot (.example.com) means it's sent to subdomains too. A different domain from the site means third-party. |
| Path | URL path the cookie is limited to. |
| Expires / Max-Age | The expiry date, or Session for cookies deleted when the browser session ends. |
| Size | Name plus value, in bytes. |
| HttpOnly | Ticked if JavaScript can't read the cookie. Session cookies should normally have this. |
| Secure | Ticked if the cookie is sent only over HTTPS. |
| SameSite | Strict, Lax or None. Blank means the browser default (treated as Lax in Chrome). |
| Partition Key | Filled in for partitioned (CHIPS) cookies: the top-level site they're tied to. |
Use the filter box above the table to search by name or value. Tick Only show cookies with an issue to find cookies Chrome warns about. You can double-click a value to edit it, or select a cookie and press Delete to remove it. That's handy for testing how a site behaves without a particular cookie.
If any of the attributes are unfamiliar, our plain-English guide to cookies explains them.
Step 4: Check local storage, session storage and IndexedDB
Trackers don't only use cookies. In the same Storage section, check:
- Local storage: persistent key-value data per origin. Analytics and session replay tools often keep IDs here.
- Session storage: the same, but cleared when the tab closes.
- IndexedDB: larger structured data, used by some SDKs and offline apps.
The legal rules in the EU and UK apply to these as much as to cookies. See do localStorage and sessionStorage need consent?
Step 5: Trace requests in the Network panel
The Application panel shows what's stored. The Network panel shows who's contacted and what's sent, including pixels and beacons that don't store anything at all.
See third-party requests
Turn on the 3rd-party requests filter (in recent versions it's under More filters in the filter bar). Every request left in the list goes to a site other than the one you're on. Look for analytics, ad and social hosts.
Use filter keywords
Type these into the Network filter box:
has-response-header:set-cookie responses that set a cookie
set-cookie-name:_ga responses that set a cookie named _ga
set-cookie-domain:.example.com responses that set cookies for that domain
cookie-name:_fbp requests that send a cookie named _fbp
domain:*.doubleclick.net requests to a host, wildcards allowed
-domain:*.example.com hide your own domain's requests
You can combine keywords, separated by spaces.
Inspect a request's cookies
Click any request and open its Cookies tab. It shows Request Cookies, sent by the browser, and Response Cookies, set by the server. Tick show filtered out request cookies to see cookies the browser blocked, with the reason on hover, for example because of third-party cookie settings or a SameSite rule. The Headers tab shows the raw Set-Cookie lines.
To find which script made a request, hover over the Initiator column. It shows the script, and often the full call stack, that started the request.
Step 6: Read cookies from the Console
The Console is useful for quick checks:
// Non-HttpOnly cookies for this page, one per line
document.cookie.split('; ').forEach(c => console.log(c));
// The same, as objects (Cookie Store API, Chromium browsers)
await cookieStore.getAll();
// Keys in local storage
Object.keys(localStorage);
Remember that HttpOnly cookies don't appear in either of the first two results. If a session cookie is missing from the Console but present in the Application panel, that's the reason, and it's a good sign.
Step 7: Test before and after consent
This is the check that matters most for compliance. In an opt-in region, nothing non-essential should be stored or sent until the visitor agrees.
- Before choosing. From a clean start, load the page and leave the banner alone. Note every cookie in the Application panel and every third-party request in the Network panel. Only strictly necessary items should be there.
- Reject. Click Reject all, then visit a few more pages. No analytics or marketing cookies or requests should appear.
- Accept. Start clean again, click Accept all, and browse. Tags should now load. If something still doesn't, check its category.
- Withdraw. Reopen the cookie settings, switch a category off, and check that its tags stop on the next page.
Any analytics or ad request in step 1 means a tag is loading before consent. The fix is covered in how to block cookies and scripts until consent.
Cookies that already exist when you start aren't evidence of anything. Always begin each test from a clean state, or you'll be reading leftovers from an earlier visit.
Step 8: Check Google Consent Mode signals
If the site uses Google Consent Mode, Google tags may load before consent but behave differently. You can see the consent state they report:
- In the Network panel, filter for
collectto find Google Analytics hits (look for requests togoogle-analytics.comor a/g/collectpath). - Click a request and look at its Payload or URL for the
gcsparameter. - Read the value:
G100means bothad_storageandanalytics_storageare denied,G110means ads granted and analytics denied,G101means ads denied and analytics granted, andG111means both granted.
Before consent in the EEA, any Google Analytics hits should carry G100, and there should be no _ga cookie. With the basic setup, where Google tags are blocked until consent, you may see no hits at all. If you see G111 before anyone clicked, the default isn't being set early enough. Our Google Consent Mode v2 guide explains the signals.
Checklist
- Test from a clean profile, and know whether third-party cookies are allowed in it.
- Open DevTools before loading the page, with Preserve log and Disable cache on.
- Record cookies, local storage and third-party requests before any choice.
- Repeat after Reject all, after Accept all, and after withdrawing consent.
- Use the Initiator column to trace unexpected requests back to their script.
- Check Consent Mode's
gcsvalue if you use Google tags. - Test more than one template, and an opt-in region if your banner varies by country.
Manual checks are precise but slow. To cover a whole site, run a free PrivacyQuick scan, which crawls your pages in a headless browser and lists every cookie, storage item and third-party host it finds. Then use DevTools to investigate anything surprising. For a full process, see our guide to auditing your website's cookies.
Frequently asked questions
Why don't I see third-party cookies in Incognito?
Chrome blocks third-party cookies by default in Incognito windows. Use a separate test profile with third-party cookies allowed if you want to see what a typical Chrome visitor receives.
Why are some cookies missing from document.cookie?
Cookies marked HttpOnly are hidden from JavaScript, so document.cookie and the Cookie Store API don't show them. The Application panel and the Network panel do show them.
Does Clear site data remove third-party cookies?
The Clear site data button in the Application panel clears storage for the current site. Cookies held by third-party domains can remain, so use a fresh profile or clear all browsing data when you need a truly clean test.
How can I tell if Google Analytics is respecting consent?
In the Network panel, filter for collect requests and look at the gcs parameter. G100 means both ad_storage and analytics_storage are denied, and G111 means both are granted.
Check your own website in 30 seconds
Our free scanner lists every cookie and tracker your site sets, sorted into categories, before you add a banner.
This guide is general information, not legal advice. Laws and regulator guidance change; check the current rules for your situation or ask a lawyer.