Cookie Parser

Parse a cookie string into key-value pairs or individual attributes.

Input data is processed in your browser
Data is never sent to a server

Tool

0 chars

or drag & drop a file

Cookie Parser parses a cookie string into key-value pairs, or breaks down attributes like Domain, Path, Secure, HttpOnly, and SameSite. It supports both the browser’s document.cookie format and the HTTP Set-Cookie response header format. Useful for inspecting cookie contents, debugging, and verifying security attribute settings.

How to Use

  1. Choose the "document.cookie format" or "Set-Cookie header format" tab.
  2. Paste a cookie string into the input field.
  3. In document.cookie mode, click "Load current cookies" to load this page's own cookies directly.
  4. With auto-parse enabled, results update instantly as you type.

FAQ

What's the difference between document.cookie and a Set-Cookie header?

document.cookie represents multiple cookies in one string like "name1=value1; name2=value2", while a Set-Cookie header describes a single cookie along with attributes such as Domain, Path, and Expires.

What does "Load current cookies" do?

It loads the value of document.cookie from the browser viewing this page directly into the input field.

Are values automatically URL-decoded?

Yes. Values in document.cookie format are decoded for display.

Is my data sent to a server?

No. All processing happens in your browser.