Back to Free Tools

FREE TOOLS

Set-Cookie Header Builder

Build an inert Set-Cookie header with explicit syntax and attribute checks.

Explicit cookie fields and attributes

set-cookie.txt, set-cookie-build-report.json

Browser only

Runs locally in your browser. Your files, pasted content and generated output are not uploaded. Reset clears this tool’s working data.

This tool needs JavaScript. If it does not load, refresh the page and try again.

How to use this tool

  • Enter the cookie name and unquoted ASCII value, then the optional attributes.
  • Use a positive Max-Age or a strict UTC expiry timestamp when needed.
  • Build and download the inert header and report; the tool does not set a browser cookie.

Examples

name=session, value=abc and Secure produce session=abc; Secure.

Limitations

  • At most 4096 input units, 8192 UTF-8 bytes, an 8192-byte header line, 64 KiB combined output and 30 seconds.
  • A finite authoring profile based on RFC 6265 grammar and selected dated draft checks. No quoted-value encoding, public-suffix validation, browser delivery or universal conformance claim.
  • Max-Age is 1 through 2147483647; zero and negative values are unsupported. Expires accepts real UTC dates from 1601 through 9999. Prefix security checks are ASCII case-insensitive and SameSite=None requires Secure.

Related tools

No items found.

More tools for your workflow

Explore the related desktop tool