ToolsForNerds

HTTP Cookie Parser & Decoder

Parse and decode cookie strings from browser headers into JSON

How to Get Cookie Strings

From Browser DevTools:
  1. Open DevTools (F12) and go to Network tab
  2. Click on any request
  3. In the Headers section, find "Cookie" (request) or "Set-Cookie" (response)
  4. Copy the cookie string value
  5. Paste it here to parse
Request Cookie format:
name1=value1; name2=value2; name3=value3
Set-Cookie format (with attributes):
sessionid=abc123; expires=Wed, 09 Jun 2025 10:18:14 GMT; path=/; Secure; HttpOnly

About the Cookie String Parser & Decoder

Parse and decode HTTP cookie strings from browser DevTools or request headers into readable JSON format. Essential for debugging authentication, session management, and cookie-based functionality.

Features:

  • Parse Cookie and Set-Cookie headers
  • Automatic URL decoding of cookie values
  • Extract cookie attributes (expires, path, domain, etc.)
  • Support for multiple cookie formats
  • Pretty-printed JSON output
  • Copy individual cookies or full JSON

Supported Formats:

  • Request Cookie header: name1=value1; name2=value2
  • Set-Cookie response headers (with attributes)
  • URL-encoded cookie values
  • JSON stringified values in cookies
  • Multiple cookies separated by semicolons

Use Cases:

  • Debugging authentication issues
  • Analyzing session cookies
  • Testing cookie-based features
  • Security auditing (HttpOnly, Secure flags)
  • Cookie lifetime and expiration analysis
  • API development and testing
  • Learning about HTTP cookies