Cookie Test


Received no cookies.

Set cookie = (alphanumeric or _-; restricted character set compared to spec)

Set cookie on:

SameSite: (behaves like Lax in most browsers, but see exceptions)

Will result in the following cookie:

Try setting cookies on the main domain, either explicitly, with leading dot, or with domain unspecified. Then try visiting subdomains (e.g.,, and see which cookies are sent.

Originally created for this Stack Overflow question. View the source here.