Import or export cookies for a profile
You might be here because: “how do I import cookies” · “export my cookies” · “Couldn’t find any cookies in that file” · “Couldn’t read any cookies” · “Import button is greyed out” · “what cookie file formats work” · “Cookie header has no domain” · “load my cookies” · “transfer a login into a profile”
Short answer
Cookies are imported and exported from the session window’s cookies pane while a session on the profile is running: Export saves the jar as JSON; Import reads a file in any common format and writes it into the running session. Because the profile saves its cookies when the session closes, the import becomes part of the profile.
Check first
- Is a session running? Import is disabled without one, and Export needs at least one cookie present.
- Signed in and online.
Likely causes and fixes
-
How to export. In the cookies pane press Export (“Export the cookie jar as JSON”).
-
How to import. Press Import and choose a file. Accepted formats, auto-detected: a Netscape
cookies.txt; a JSON array of cookie objects (as common browser extensions export); a{cookies:[…]}wrapper or browser storage-state file; a rawCookie:header; orname=valuelines. The app reports “Imported N cookies (read as [format], M skipped)”. -
“Couldn’t find any cookies in that file (tried JSON, cookies.txt, Cookie header + name=value).” The file was not recognised. Re-export from the source in one of the formats above.
-
“Couldn’t read any cookies — Cookie header has no domain and no default domain was provided — nothing imported”. A bare header carries no site; use a JSON or cookies.txt export that includes domains.
-
“input looked like JSON but failed to parse” / “JSON did not contain a cookie array or object”. The JSON is malformed or not a cookie list.
-
Too large / too many. See Cookie jar too large (limit about 3.9 MiB and 2000 cookies).
-
From code.
GET …/cookiesreads the jar andPOST …/cookies/setwrites it.
If it still fails
Press Talk to a person in this chat (or open Help) and include the format you used, the file size and the exact note under Import. Never send the cookie file itself — it contains your logins.