JSON to Base64
Validate and Base64-encode any JSON document — perfect for JWT payloads, signed cookies, or anything that needs an opaque string.
0 characters
Encode JSON as Base64
JWT payloads, signed cookies, OAuth state, deeplinks with JSON query parameters — they all rely on the same trick: take some JSON, encode it as URL-safe Base64, and pass it around as a single opaque string. This tool validates your JSON first so you catch parse errors before they hit production, then encodes the result in the flavor you need.
To go the other way, use Base64 to JSON — it decodes and pretty-prints the result in one step.
