CookieLab is intended for educational and development use only. Use it solely on systems you own or have explicit permission to test. Unauthorized access to third-party systems is illegal.
| Feature | Description |
|---|---|
| Cookie Manager | View, add, edit, delete, search, and toggle cookies with full metadata |
| JWT Decoder | Auto-detect and decode JWT tokens — header, payload, signature + exp countdown |
| Snapshots | Save and restore cookie states; export/import as JSON |
| Security Analyzer | Flag missing Secure, HttpOnly, SameSite issues with severity levels |
| Session Highlight | Auto-detect sensitive cookies (session, token, auth, jwt, sid…) |
| Cookie Toggle | Disable/enable cookies without deleting them |
No build step required — pure HTML/CSS/JS.
- Clone or download this repository
- Open Chrome →
chrome://extensions - Enable Developer mode (top-right toggle)
- Click Load unpacked → select the
cookielab/folder - Click the CookieLab icon in the toolbar on any page
Navigate to any website, open CookieLab, and use the four tabs:
| Tab | What you can do |
|---|---|
| Cookies | View, search, add, inline-edit, copy, toggle, delete cookies |
| JWT | Decode any JWT — paste manually or send directly from a cookie row |
| Snapshots | Save/restore login states; export/import as JSON |
| Security | Per-cookie analysis with critical / warning / clean indicators |
cookielab/
├── manifest.json # MV3 manifest, permissions
├── popup/
│ ├── popup.html # 4-tab UI
│ ├── popup.css # Dark theme (JetBrains Mono)
│ └── popup.js # All extension logic
├── background/
│ └── service_worker.js # MV3 service worker
└── icons/
└── icon.svg # Extension icon
- Chrome Extensions API —
chrome.cookies,chrome.storage,chrome.tabs - Manifest V3 — Service worker background, declarative permissions
- Vanilla JavaScript — No frameworks or dependencies
- CSS Custom Properties — Dark theme with JetBrains Mono font
| Permission | Why it's needed |
|---|---|
cookies |
Read, write, and delete cookies |
activeTab |
Get the URL of the current tab |
tabs |
Query the active tab's URL |
storage |
Save snapshots locally |
<all_urls> |
Access cookies across all domains |
