About This Tool

This tool converts browser cookies between Netscape/header format and structured JSON. Netscape cookie format (used by curl's cookie jar, wget, and many HTTP libraries) stores each cookie on one tab-separated line. JSON format is easier to read and manipulate programmatically. Use this when working with web scraping scripts, automating browser sessions, or debugging cookie behavior across different HTTP clients.

How to Use

  1. Choose the conversion direction: Netscape → JSON or JSON → Netscape.
  2. Paste your cookie data into the input field.
  3. Click Convert. The converted result appears in the output panel.
  4. Click Copy to copy the result to your clipboard.

Frequently Asked Questions

What is Netscape cookie format?

Netscape format stores each cookie as a tab-separated line with fields: domain, include-subdomains, path, secure, expiry, name, value. Lines starting with # are comments. This format is used by curl's --cookie-jar, Python's requests library cookie files, and wget.

How do I export cookies from Chrome?

Use a browser extension like "EditThisCookie" or "Cookie-Editor" to export cookies in JSON or Netscape format. Then paste the output here to convert it to the format needed by your script or HTTP client.

Is my cookie data safe?

Yes. The conversion runs entirely in your browser no cookie data is sent to any server. However, treat exported cookies as sensitive data: they can authenticate as you on the sites they came from until they expire.