sangsen

Base64 Encoder/Decoder

Encode text to Base64 or decode Base64 back to plain text.

Output

Result appears here.

How it works

Text is converted to UTF-8 bytes and encoded to Base64, or Base64 is decoded back to UTF-8 text — all in your browser, with full support for non-Latin characters and emoji.

Example

Encode
Hello, World!SGVsbG8sIFdvcmxkIQ==

FAQ

Does this work with non-English text and emoji?
Yes — text is encoded as UTF-8 first, so accented characters and emoji round-trip correctly.
Is Base64 encryption?
No. Base64 is a reversible encoding, not encryption — anyone can decode it back to the original text.
What happens with invalid Base64 input?
Decoding shows a clear error instead of silently producing garbled output.