Base64 Encoder / Decoder

UTF-8 safe Base64 encoding and decoding — handles emoji, Chinese, Arabic and any Unicode text correctly.

Input

Output (encode)

Result will appear here.

Frequently asked questions

Why is this Base64 tool UTF-8 safe?

The browser btoa() function breaks on non-Latin characters. This tool encodes via TextEncoder first, so Chinese, emoji and accented characters round-trip correctly.

Is Base64 encryption?

No. Base64 is an encoding, not encryption — anyone can decode it. Never use it to protect secrets.