COOKIES
Generated by scripts/gen-format-pages.py from docs/data/format-metadata/, FILE_FORMATS.csv and docs/formats-master.csv. Do not edit by hand: change the source, then run the script.
Netscape Cookies Preview.
At a glance
| Purpose | A Netscape cookies.txt file: one cookie per tab-separated line with domain, path, secure flag, expiry, name and value. |
| Extensions | .cookies |
| Poka parser | poka-cookies |
| Viewer | poka-table-viewer |
| Depth tier | Parser with a shared viewer (see Depth tiers) |
| Breadth tier | B2 Broad (see Breadth tiers) |
How much Poka reads
B2 Broad. The common content of the current and the common older versions is decoded. Some named features or versions are not, and are listed.
Confidence: medium (the reviewer read the code). Basis: Reviewed 2026-10-26: read parsers/poka-cookies/src/main.rs (175 lines) and plugin.json. No unit tests or tests/samples.rs; the corpus has no .cookies and .cookies.txt sample. Covers .cookies and .cookies.txt. The table lists every cookie with domain, path, secure flag, lifetime (session or expiry), name and a redacted value, with expired, session and secure counts. Judgement: B2: every entry is shown; the gaps are limits, redaction by design and fields left raw.
What Poka does not read
- Values are redacted (by design)
- The include-subdomains flag is not shown
- Lines starting with #HttpOnly_ (HttpOnly cookies in curl's format) are skipped as comments (judgement from the code)
- Only the first 2,000 cookies are listed
Libraries
Libraries Poka uses or has assessed for this format, with the status, licence and language the registry records.
- nescookie (candidate; MIT; Rust; https://docs.rs/nescookie) — Netscape cookie file parser producing a CookieJar; v0.3.0; repo https://github.com/snylonue/nescookie
- http.cookiejar (MozillaCookieJar) (candidate; licence unconfirmed; Python; https://docs.python.org/3/library/http.cookiejar.html) — Standard library class that loads the Mozilla/Netscape cookies.txt format; licence not stated on the page seen (Python standard library)
Sources
- parsers/poka-cookies/src/main.rs
- parsers/poka-cookies/plugin.json