- 1 Export JSON from Cookie-Editor
Open Cookie-Editor on the target site and export the cookie list as a JSON array. The objects use
name,value,domain,path,expirationDate,hostOnly,httpOnly,secureandsameSite. - 2 Paste into this converter
Paste the export below. Detection treats it as a JSON array — the same shape EditThisCookie used. Set the output to JSON Array to keep every attribute, or Netscape if the next consumer is curl.
- 3 Import in Chrome or feed a CLI
In CookieMan, open the destination site, Import → paste → preview → Apply. For curl, switch output to Netscape and save as
cookies.txt, then runcurl -b cookies.txt.
What Cookie-Editor does, and where CookieMan starts
Cookie-Editor (the Chrome/Firefox extension commonly listed as “Cookie-Editor”) is a popup inspector: list, edit, delete, import and export JSON. CookieMan is a separate Manifest V3 editor. The overlap is the JSON array. The extra job CookieMan takes is conversion and live apply — this website never attaches to another extension’s cookie jar.
| Job | Cookie-Editor | CookieMan |
|---|---|---|
| List / edit cookies on the current tab | Yes | Yes — live list, badge count |
| JSON array import / export | Yes | Yes — same field names |
Netscape cookies.txt | Not the primary export | Import, export, and this converter |
| Header / Set-Cookie / Base64 | No | Six formats, auto-detected |
Partitioned (CHIPS) partitionKey | Depends on build | Read and written on JSON array |
| Official product of the other vendor | No — third-party extension | No — do not treat this as Cookie-Editor’s site |
JSON field mapping that actually round-trips
On import, sameSite values lax, strict, none and no_restriction all parse. Expiry values larger than 1e12 are treated as milliseconds and divided to Unix seconds. A missing domain is defaulted to localhost with a warning — that cookie will not authenticate on example.com until you fix the domain.
{
"name": "session_id",
"value": "abc123",
"domain": ".example.com",
"path": "/",
"secure": true,
"httpOnly": true,
"sameSite": "lax",
"expirationDate": 1789200000,
"hostOnly": false
}