Cookie Manager: View, Edit, and Debug Browser Cookies
Learn how to use the Cookie Manager tool to view, edit, search, and manage browser cookies for debugging web applications and protecting your privacy.
Table of Contents
Cookies are the quiet workhorses of the modern web. They keep you logged in, remember your preferences, and power everything from shopping carts to A/B tests β yet most people never see what's actually stored in their browser. The Cookie Manager tool changes that by putting every cookie your browser holds into a single, searchable table you can inspect, edit, and remove in seconds.
Whether you're a developer trying to figure out why a session keeps expiring or a privacy-conscious user wondering which sites left tracking crumbs behind, this guide will show you how to get the most out of the tool β and what those mysterious attributes like HttpOnly and SameSite actually mean.
Why Use Cookie Manager?
- Full visibility in one place. The tool reads cookies from the current site's context and displays every detail β name, value, domain, path, expiration, and security flags β in a clean, readable table instead of a wall of raw text.
- Built for developers. Debugging authentication flows, session timeouts, and feature flags becomes far easier when you can inspect and modify cookies directly without hunting through browser dev tools.
- Privacy-conscious by design. You can audit exactly what a website has stored on your machine and delete anything you don't want β including third-party tracking cookies.
- Fast and precise. Search by cookie name or value and filter by domain, so you can zero in on the cookie you need even when a site sets dozens of them.
- No installation required. The Cookie Manager runs entirely in your browser, works on any device, and needs no extensions, accounts, or sign-ups.
Key Features
| Feature | What It Does |
|---|---|
| Cookie table | Lists all cookies visible to the current page with name, value, domain, path, expiry, and security flags |
| Search and filter | Searches by cookie name or value and filters the list by domain |
| Add and edit | Creates new cookies or updates the value, domain, path, and expiry of existing ones |
| Delete | Removes individual cookies or wipes every cookie for the current site in one click |
| Copy to clipboard | Copies any cookie's name or value instantly for use in scripts or support tickets |
| Secure by default | Flags sensitive attributes like HttpOnly, Secure, and SameSite so you can spot weak cookies at a glance |
The tool uses the modern Cookie Store API when your browser supports it, falling back to the classic document.cookie approach on older browsers.
How to Use Cookie Manager
- Open the tool. Visit the Cookie Manager page in your browser.
- Review the cookie list. The table loads automatically, showing every cookie available to the current page with its attributes and security flags.
- Search or filter. Type into the search box to find cookies by name or value, or use the domain filter to narrow the list down.
- Edit or add cookies. Click a cookie to modify its value or attributes, or use the add option to create a new cookie for the current domain.
- Delete what you don't need. Remove a single cookie with its delete action, or clear everything at once with delete-all. Refresh the page to confirm your changes took effect.
Understanding Browser Cookies
Here's a breakdown of the core concepts.
Session vs. persistent cookies. A session cookie has no expiration date and lives only in memory β it disappears the moment you close the browser. That's why you often have to log in again after restarting. A persistent cookie carries an Expires or Max-Age attribute, so the browser stores it on disk and keeps it until that date. In the Cookie Manager, cookies with an expiry shown are persistent; those marked as session cookies will vanish when the browser closes.
The domain and path attributes. The domain attribute decides which sites receive the cookie, and the path attribute decides which URLs on that domain do. A cookie set for example.com with path / is sent on every request to that site, while a cookie scoped to /admin is only sent for admin pages. When editing, keep these values as narrow as possible.
HttpOnly. An HttpOnly cookie cannot be read by JavaScript β it's only sent with HTTP requests. This is a critical defense against cross-site scripting (XSS) attacks: even if an attacker injects script into your page, they can't steal the session token. Login session cookies should almost always be HttpOnly.
Secure. A Secure cookie is only transmitted over HTTPS connections, protecting it from being intercepted on unencrypted networks. Any cookie that carries sensitive data β sessions, tokens, preferences tied to an account β should have this flag set.
SameSite. The SameSite attribute controls when a cookie is sent with cross-site requests. Lax (the modern default) sends the cookie on top-level navigations but not on cross-site subrequests; Strict blocks it entirely on cross-site requests; None sends it everywhere, which is required for third-party use cases but demands the Secure flag. SameSite is your first line of defense against CSRF attacks.
Privacy considerations. Cookies are also the backbone of web tracking. Third-party cookies let advertisers follow you across different sites, which is why major browsers are phasing them out in favor of alternatives like the Privacy Sandbox. Using a cookie manager to audit and clear them periodically is a simple, effective privacy habit.
Practical Use Cases
Debugging authentication flows. The classic scenario: a user reports being logged out randomly. Open the Cookie Manager, inspect the session cookie, and check its expiry and flags. If the cookie lacks Secure or HttpOnly, or if its path is too narrow, you've likely found the culprit. You can even simulate logout by deleting the session cookie and refreshing.
Testing A/B variants. Marketing teams often set a cookie to pin a visitor to one variant of a page. Want to see the other variant? Find the experiment cookie in the table, edit its value, and reload β no need to clear all site data.
Privacy auditing. Curious what a site has stored about you? Open the tool, scan the list for third-party domains, and delete anything you didn't knowingly accept. Pair that with a look at which cookies lack security flags, and you have a solid privacy check in under a minute.
Working across QA environments. When testing against staging servers, cookies from production can leak into the wrong environment and cause bizarre bugs. Use the domain filter to spot cookies bound to the wrong host, then delete or correct them before you start a test run.
Best Practices for Cookie Management
- Delete before you edit. When debugging, remove a suspect cookie and reload before changing values β it often resolves the issue faster and tells you whether the cookie is even needed.
- Keep scopes tight. Only set domain and path to the narrowest values your app needs; broad scopes send cookies where they don't belong and bloat every request.
- Mind the flags. New cookies you create should be Secure and HttpOnly when they touch authentication, and SameSite=Lax or Strict unless you have a real reason otherwise.
- Never store secrets. Cookies are readable by the server and (unless HttpOnly) by scripts, so keep passwords, API keys, and personal data out of cookie values entirely.
- Audit regularly. Make a habit of reviewing stored cookies β on your own machine and in your test browsers β to catch tracking cookies, stale entries, and misconfigured flags early.
- Test with fresh sessions. After any cookie-related change, verify behavior in a fresh browser window and an incognito session.
Start Managing Your Cookies Today
You don't need a browser extension or a developer certification to take control of your cookies. Open the Cookie Manager, look at what your browser is really holding onto, and start cleaning up β whether that means fixing a broken login, verifying a feature flag, or simply reclaiming your privacy. It takes seconds β and you'll understand your web apps a little better every time.
Related Tools You Might Like
- Local Storage Inspector β inspect and manage localStorage data alongside cookies
- JWT Decoder β decode and inspect JSON Web Tokens for auth debugging
- HTTP Headers Viewer β see the headers your browser sends and receives
Happy debugging!