A cookie parser turns cookie text taken from browsers, frontend code, API tools, or server responses into structured results. It does not try to explain cookie theory in the abstract. Instead, it focuses on the questions that come up in real debugging: which cookies were actually sent with the current request, which attributes appear in the Set-Cookie response header, why SameSite / Secure / HttpOnly looks correct but the browser still refuses the cookie, whether the cookie value was URL-encoded, and how to reuse the parsed result in scripts or command-line tools.
A common mistake in lightweight tools is treating document.cookie, the Cookie request header, and the Set-Cookie response header as if they were the same input shape. They are not. document.cookie and request cookies are best viewed as flat name=value pairs, where the main task is checking whether the request carried the right cookies. Set-Cookie is a server-to-browser response header, and the key task there is checking whether SameSite, Path, Domain, Expires, Max-Age, HttpOnly, and Secure were configured correctly.
This page works as a general entry point when you are not yet sure which kind of cookie text you have, or when you are investigating a full login-state problem and need to compare both what the request sent and what the server returned. You can switch between Cookie-string mode and Set-Cookie mode on one page and quickly parse, inspect, filter, copy, and export the result.
Compared with simple online tools that only do split(;), this parser is designed around real debugging readability and reuse. It preserves the raw value while safely showing a decoded value, exposes attribute tables, exports JSON and Netscape Cookie File output, and keeps duplicate cookies visible instead of auto-cleaning away the very signal you may need to diagnose the issue.
If you later need a more focused request-header workflow, use the dedicated HTTP Cookie Parser. If you need to understand why the browser rejected a cookie, whether SameSite=None is missing Secure, or whether Set-Cookie security attributes are invalid, switch to the specialized Set-Cookie Parser. This page is best understood as the main cookie debugging hub and routing page.