JSON to Base64 – Encode JSON Online
Encode a valid JSON document as standard Base64 using UTF-8. Insignificant whitespace is removed first, while Unicode text is preserved.
Processed in your browser. Uses standard Base64 and UTF-8. Base64 is an encoding, not encryption.
Make the most of this tool
Input must be valid JSON. The document is minified before its UTF-8 bytes are encoded.
This uses standard Base64 with padding, not Base64URL.
Base64 is reversible encoding and provides no secrecy or encryption.
Need to read or debug JSON from this result? Paste it into the JSON beautifier to format, validate and explore it as a tree.
Frequently Asked Questions
How is Unicode encoded?
The tool validates and minifies JSON, encodes it as UTF-8 bytes, and then produces standard Base64. Unicode text is supported.
Is Base64 encryption?
No. Base64 is a reversible encoding. Use the inverse tool to decode the text and validate the JSON document.