curl -b cookies.txt from JSON Export
Turn a Chrome JSON export into the Netscape file curl -b and -c expect: tabs, #HttpOnly_ prefixes, Unix-second expiry and a trailing newline.
Paste cookies in any common format — cookies.txt, JSON, a
Cookie: header, Set-Cookie lines, Base64 — and get back whichever format the
next tool expects. Detection is automatic and everything runs in this page: no upload, no
account, no logging.
Pick by destination: full-fidelity JSON for browsers and backups, Netscape for command line clients, a header string for a single request.
| Format | What it is | Typical consumer | Example |
|---|---|---|---|
| JSON Array EditThisCookie / Cookie-Editor style | Full-fidelity array of cookie objects with every attribute. The safest choice for backups and transfers. | Cookie extensions, test fixtures | [{ "name": "session_id", "value": "abc123", "domain": ".example.com",
"path": "/", "secure": true, "httpOnly": true, "sameSite": "lax" }] |
| JSON Map name → value | Flat key/value object. Compact and easy to read, but attributes are not preserved. | Quick scripts, API clients | { "session_id": "abc123", "theme": "dark" } |
| Netscape cookies.txt tab-separated | The classic seven-field text format understood by command line HTTP clients. | curl, wget, yt-dlp | .example.com TRUE / TRUE 1789200000 session_id abc123 |
| Header String Cookie: request header | A single line ready to paste into a request header, REST client or fetch call. | Postman, DevTools, fetch() | Cookie: session_id=abc123; theme=dark |
| Set-Cookie lines response headers | One Set-Cookie header per cookie, attributes included — how a server would issue them. | Server logs, HAR files | Set-Cookie: session_id=abc123; Path=/; Secure; HttpOnly; SameSite=Lax |
| Base64 encoded JSON array | A JSON array wrapped in Base64 for pasting through fields that mangle punctuation. | CI secrets, chat transfer | W3sibmFtZSI6InNlc3Npb25faWQiLCJ2YWx1ZSI6ImFiYzEyMyJ9XQ== |
More background: the cookies.txt format explained, JSON vs cookies.txt field mapping, and moving cookies between browsers.
This converter works on text you already have. To read, edit and write the cookies your
browser is holding right now — including HttpOnly ones — install the
extension. Same parser, applied to real sessions.
Turn a Chrome JSON export into the Netscape file curl -b and -c expect: tabs, #HttpOnly_ prefixes, Unix-second expiry and a trailing newline.
Side-by-side mapping of CookieMan JSON Array fields to Netscape cookies.txt. SameSite, partitionKey and store metadata never survive the seven-column file.
CookieMan emits this warning when the paste is not JSON, Netscape, Cookie header, Set-Cookie or Base64. Strip the BOM, extract cookie text, then convert.
cookies.txt, Header String (Cookie:), Set-Cookie lines and Base64-encoded JSON — in both directions. Input format is detected automatically.#HttpOnly_ prefixed lines are read as HttpOnly cookies rather than skipped as comments.The extension adds live inspection and editing on top of the conversion you just did.
Free and MIT-licensed · Chrome, Edge and other Chromium browsers · Nothing leaves your machine