Base64 codec

Base64 Encoder & Decoder

Convert Unicode text safely to Base64, or restore valid Base64 content.

Base64 is reversible encoding, not encryption

Input

Ready to encode

Base64 is reversible encoding, not encryption. Do not use it to hide passwords or keys.

Result

Copyable text

VW5pY29kZSBhbmQgZW1vamkgZW5jb2RlIGNvcnJlY3RseSDinJM=

How it works

Convert Unicode text to UTF-8 bytes before Base64.

The browser’s native btoa accepts only single-byte characters and fails on Unicode. This tool first encodes text as UTF-8 bytes, then applies Base64.

Base64 usually turns every 3 source bytes into 4 characters, adding about one third. It is a transport representation, not compression or secrecy.

Base64 uses A–Z, a–z, 0–9, +, and /, with optional = padding at the end.

FAQ

Base64 Encoder & Decoder · FAQ

Is Base64 encryption?

No. Base64 has no key and anyone can restore the content.

Why is Base64 longer than the source?

It represents 3 bytes with 4 printable characters, usually adding about 33%.

Does this tool support Unicode?

Yes. It processes Unicode as UTF-8 before Base64 encoding or decoding.