Creative Workflow Helpers
Cookie Builder & Inspector
Build a ready-to-ship Set-Cookie header from a few options, or paste an
existing Set-Cookie/Cookie header to see exactly what every
attribute does. Nothing leaves your browser.
Paste a cookie header
runs locally
Paste a Set-Cookie response header or a Cookie request
header. The Set-Cookie: prefix is optional.
Parsed result
liveAttribute breakdown
Cookie attribute cheat sheet reference
Expires- Absolute GMT date when the browser deletes the cookie. Sent as an HTTP date.
Max-Age- Lifetime in seconds.
0or a negative value deletes the cookie; it wins overExpires. Domain- Which hosts can receive the cookie. Omit it for a host-only cookie. Modern browsers ignore a leading dot.
Path- URL path prefix the cookie applies to.
/covers the whole site. Secure- Only send the cookie over HTTPS. Required by browsers when
SameSite=None. HttpOnly- Keeps the cookie out of
document.cookie, reducing the impact of cross-site scripting. SameSiteStrictnever sends it cross-site,Laxsends it on top-level navigations,Nonealways sends it (needsSecure).
How it works
Everything runs locally with plain JavaScript. The builder assembles a single
Set-Cookie value in the recommended attribute order and validates the
cookie name, value and expiry as you type. The inspector splits a header into its
name, value and attributes and explains each one, flagging problems such as
SameSite=None without Secure. Use Ctrl/Cmd
+ Enter to copy the active result. No cookie is ever set and no input is
sent to a server.