Base64 Encode / Decode

Convert text to Base64 or decode Base64 back to text, with full support for Chinese and emoji

How to use

Base64 maps binary data to 64 printable characters. It is commonly used to safely transfer data in URLs, JSON, and email. The encoded size grows by about 1/3. Note: Base64 is not encryption — anyone can decode it.

FAQ

Why is the decoded output garbled?

The input may not be Base64, or it may encode binary data such as an image. This tool decodes as UTF-8 text, so binary content shows as garbage, which is expected.

Is my data uploaded to a server?

No. Encoding and decoding happen entirely in your browser, with no network requests.

Does it support Chinese and emoji?

Yes. The tool converts to UTF-8 bytes first, so Chinese characters and emoji round-trip correctly.