Base64 Encoder
Encode any text — including emoji and non-Latin scripts — into standard Base64.
Encoding happens locally in your browser. Your text is never uploaded.
What is base64 encoder?
Base64 represents binary data as printable ASCII characters, which is why it shows up in email attachments, data URLs, authorization headers, and encoded JSON. This encoder converts your text to UTF-8 bytes first, so emoji, accented characters, and CJK scripts all encode correctly — something naive encoders get wrong.
The result uses the standard alphabet (A–Z, a–z, 0–9, +, /) with = padding, compatible with atob, Buffer, and every mainstream decoder.
How to use it
-
Type or paste text
Any Unicode text works, including emoji.
-
Copy the output
The Base64 string updates live; use Copy to grab it.
Examples
Plain ASCII
The classic example.
hello world
Result: aGVsbG8gd29ybGQ=
Unicode
UTF-8 bytes are encoded, not raw code units.
✓ ok
Result: 4pyTIG9r