Cookie

Cookie Parser & JSON Converter

Parse Cookie strings into key-value pairs or JSON, decode encoded values, and convert JSON back to Cookie format. Everything runs locally in your browser.

Cookies never leave this deviceNothing is uploaded or saved. Closing the tab clears what you pasted.

What is a Cookie parser?

A Cookie parser splits the Cookie strings used in browsers and HTTP requests into readable names and values. Cookies are usually stored or sent as name=value; name2=value2.

The EnvTrace Cookie parser turns that string into a key-value table or JSON, and can convert JSON back into a Cookie string. Parsing and conversion happen in your current browser.

How do I convert a Cookie string to JSON?

Follow these three steps:

  1. Paste your Cookie string into the input box.
  2. EnvTrace automatically detects each Cookie name and value.
  3. Open the JSON tab and copy the converted JSON.

Cookie string

session_id=abc123; user_id=1024; theme=dark; language=zh-CN

JSON

{
  "session_id": "abc123",
  "user_id": "1024",
  "theme": "dark",
  "language": "zh-CN"
}

How do I convert JSON to a Cookie string?

Choose JSON input mode and paste a valid JSON object. EnvTrace converts each key and value into a Cookie string.

JSON

{
  "theme": "dark",
  "language": "zh-CN"
}

Cookie string

theme=dark; language=zh-CN

Cookie string, JSON and key-value — what is the difference?

The same data can be shown in three shapes, depending on how you need to read or use it:

FormatExampleTypical use
Cookie stringa=1; b=2HTTP requests, browser cookies
JSON{"a":"1","b":"2"}Scripts, APIs, storage
Key-valuea → 1Reading, checking, editing

What is a Cookie decoder?

Cookie values are sometimes URL-encoded, for example %20 for a space, %3A for a colon, or %7B for {. A Cookie decoder turns that encoding back into readable text.

In the key-value table, use URL decode on a row to restore encoded values. If the decoded text is JSON, you can format it for easier reading.

Encoded

name=John%20Smith

Decoded

name=John Smith

Are my Cookies uploaded to a server?

No. The EnvTrace Cookie parser processes Cookie strings, JSON and key-value data in your browser. Nothing needs to be sent to EnvTrace servers to parse or convert your input.

Cookies may contain login state, session IDs or other sensitive data. Do not share live session cookies with other people.