HTTP Cookie String Parser

Paste any Set-Cookie header value to parse it into its name, value, domain, path, expiry, and security flags — all in one clear table.

Paste one or more Set-Cookie values, one per line. Do not include the Set-Cookie: prefix.

All parsing is done locally in your browser. No data is sent to any server.

Summary

Paste any Set-Cookie header value to parse it into its name, value, domain, path, expiry, and security flags — all in one clear table.

How it works

  1. Paste a raw Set-Cookie header value into the input field (strip the "Set-Cookie:" prefix).
  2. Click "Parse Cookie" or type to trigger live parsing.
  3. Review the attribute table showing name, value, domain, path, expiry, and flags.
  4. Use "Load Sample" to see a pre-filled example with common attributes.
  5. Click "Copy Table" to copy the parsed result to your clipboard.

Use cases

  • Debug session and auth cookies by inspecting their domain, path, and security attributes.
  • Verify that cookies set by an API response contain the correct SameSite and Secure flags.
  • Learn the Set-Cookie header format and understand how cookie attributes interact.
  • Quickly check whether a cookie expires at a specific time or is session-only.

Frequently Asked Questions

Last updated: 2026-06-09 · Reviewed by Nham Vu