JSONConvert

Base64 ↔ JSON

Decode Base64 to JSON or encode JSON to Base64. Useful for debugging API payloads, JWT tokens, and encoded configs.

Base64 Input
JSON Output
Decoded JSON will appear here...

Frequently Asked Questions

What is Base64 encoding?

Base64 is a binary-to-text encoding scheme that represents binary data as ASCII characters. It's commonly used to embed data in URLs, email attachments, and API payloads.

When would I need to decode Base64 to JSON?

Common use cases include debugging JWT tokens (which contain Base64-encoded JSON payloads), inspecting encoded API responses, and reading Base64-encoded configuration files.

Does this tool handle Unicode characters?

Yes. The tool uses TextEncoder/TextDecoder for proper Unicode support, so JSON containing non-ASCII characters like emojis or international text is handled correctly.

Can I encode JSON to Base64?

Yes. Toggle to Encode mode to convert JSON data into a Base64 string. The tool validates your JSON before encoding.

Is my data safe?

All encoding and decoding happens in your browser. No data is sent to any server.

What about JWT tokens?

You can paste the payload portion of a JWT token (the middle part between the dots) to decode it. Note that JWT uses Base64URL encoding, which this tool also supports.

Related Tools