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.
Encoding happens locally in your browser. Your text is never uploaded.
Was Base64 Encoder useful?
Embed this tool on your website Free HTML iframe
Add an interactive, zero-upload version of Base64 Encoder to your blog or documentation. Browse all 15 embeddable widgets.
<iframe src="https://uttir.com/embed/base64-encoder" title="Base64 Encoder — Uttir" width="100%" height="540" style="border:1px solid #e5e7eb;border-radius:12px;" loading="lazy"></iframe> <p style="font-size:12px;margin-top:6px;">Powered by <a href="https://uttir.com/base64-encoder" target="_blank" rel="noopener">Uttir Base64 Encoder</a></p>
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
Frequently asked questions
Related guides
How to Encrypt a Message with a Password (in Your Browser)
Encrypt messages with a password in your browser using PBKDF2 key derivation and AES-GCM authenticated encryption—without uploading plaintext.
URL Encoding Explained: What %20 and Other Codes Mean
How URL percent-encoding works: why %20, %2F, and %26 exist, reserved characters in paths vs query strings, and how to avoid double-encoding bugs.
MD5 vs SHA-1 vs SHA-256 vs SHA-3: When to Use Each
MD5 vs SHA-1 vs SHA-256 vs SHA-3 compared: collision resistance, hardware speed, deprecation status, and why passwords need Argon2id instead of raw hashes.