VOZIRA · EVERYDAY UTILITIES

Cookie format converter

Quickly convert Cookie formats for copying and importing.

01

Your input

Up to 64 KiB of decoded text, 128 Cookies and 4 KiB per value.

02

Converted result

Base64 is an encoding of UTF-8 Cookie JSON. It does not encrypt or protect the input.

Your input stays in this browser. Nothing is uploaded or saved; leaving or refreshing this page clears it.

Supported formats and conversion rules
  • JSON: a Cookie array, one name/value object, or a flat name-to-string map. Supported metadata: domain, path, secure, httpOnly, hostOnly, sameSite, expirationDate, session and storeId. Unknown or nested fields are rejected.
  • Cookie string: name=value; name2=value2. No Cookie: or Set-Cookie: prefix, response attributes, control characters or non-RFC 6265 values. Percent-encoded values remain unchanged.
  • Base64: standard RFC 4648 Base64 of UTF-8 Cookie JSON, with valid optional padding. URL-safe Base64 is not supported.
  • String output keeps only names and values. JSON from a string cannot recover domains, expiry or other missing metadata. Nothing is validated against a platform.
← All free tools