HTTP Cookie Builder
Flags
Set-Cookie: session=abc123; Path=/; Secure; HttpOnly; SameSite=Laxdocument.cookie = "session=abc123; path=/; secure; samesite=Lax";What This Tool Does
HTTP Cookie Builder is built for deterministic developer and agent workflows.
Build and validate Set-Cookie headers interactively. Configure all cookie attributes — Secure, HttpOnly, SameSite, Path, Domain, Expires, Max-Age, Partitioned — and copy the ready-to-use header or JavaScript snippet.
Use How to Use for execution steps and FAQ for constraints, policies, and edge cases.
Last updated:
This tool is provided as-is for convenience. Output should be verified before use in any production or critical context.
Agent Invocation
Best Path For Builders
Dedicated API endpoint
Deterministic outputs, machine-safe contracts, and production-ready examples.
Dedicated API
https://aidevhub.io/api/http-cookie-builder/ OpenAPI: https://aidevhub.io/api/openapi.yaml
Unified Runtime API
https://aidevhub.io/api/tools/run/?toolId=http-cookie-builder&a=...
GET and POST are supported at /api/tools/run/ with identical validation and limits.
Limit: req / s, input max 512 KB.