Set-Cookie Attribute Builder

Compose a Set-Cookie header value from name, value, and attributes.

Set-Cookie: session=abc123; Path=/; Max-Age=3600; Secure; HttpOnly; SameSite=Lax

About this tool

Domain, Path, Expires, Max-Age, Secure, HttpOnly, SameSite and Partitioned — pick the attributes you want and copy the Set-Cookie line.

An unhandled error has occurred. Reload ×