Unicode Base64 Encoder And Decoder

Encode Unicode text as standard Base64, or decode padded Base64 back into readable UTF-8 text.

For a non-Unicode version, use the Base64 Encoder And Decoder online tool.



Question

What is Base64?

Base64 is a binary-to-text encoding that represents bytes with 64 printable characters, plus optional = padding. Standard Base64 uses the alphabet A-Z, a-z, 0-9, +, and /. Each group of three input bytes becomes four Base64 characters, so encoded output is usually about one third larger than the original bytes.

This tool turns the text you enter into UTF-8 bytes, then writes those bytes as standard padded Base64. When decoding, it trims surrounding whitespace, rejects malformed standard Base64, and shows the decoded bytes as UTF-8 text.

Use Base64 when text needs to carry byte data safely through systems such as email, JSON examples, configuration values, API debugging, or small embedded data snippets. This page is not for Base64URL, MIME-wrapped Base64, unpadded variants, or arbitrary binary files. Base64 is not compression, hashing, signing, or encryption, and it does not protect secrets.


Question

What is Unicode?

Unicode is the character standard used to represent text across modern software, covering scripts, symbols, emoji, combining marks, and control or formatting characters. UTF-8 is the common byte encoding for that text and is the byte form used here before applying Base64.

The distinction matters because byte-oriented or Latin-1-only Base64 examples can corrupt characters outside plain ASCII. This page keeps text as UTF-8 so accented letters, CJK text, combining marks, and emoji can round-trip through Base64.

The decoder is intended for content that was encoded from UTF-8 text and then written as standard padded Base64. Malformed Base64, Base64URL text, and decoded bytes that are not valid UTF-8 are rejected instead of being treated as readable text.


Books

References