# Cookie Header Parser

Parse, decode, and analyze HTTP Cookie and Set-Cookie headers for web scraping and debugging.

 

##### What is this tool?

This tool parses Cookie request headers and Set-Cookie response headers, showing each cookie with its value, attributes, and decoded version. Essential for understanding session management in web scraping.

 

  ### Parse Cookie Header

 

   Cookie (Request)    Set-Cookie (Response)  

      

 

  0

Cookies

 

 

 

 0 bytes

Total Size

 

 

 

 

    

 

  ### Parsed Cookies

 

 No cookies to display. Paste a Cookie header above.

 

 

 

  ### How to Use

 

##### Cookie Request Header

Format: `Cookie: name1=value1; name2=value2; name3=value3`

This is sent by browsers/clients to servers with each HTTP request.

##### Set-Cookie Response Header

Format: `Set-Cookie: name=value; Path=/; Domain=.example.com; Secure; HttpOnly`

This is sent by servers to instruct browsers to store cookies.

##### Common Attributes

- **Domain:** Which domain can access the cookie
- **Path:** Which URL path requires the cookie
- **Secure:** Only sent over HTTPS
- **HttpOnly:** Not accessible via JavaScript
- **SameSite:** Cross-site request policy (Strict, Lax, None)
- **Max-Age:** Cookie lifetime in seconds
- **Expires:** Cookie expiration date