Base64 represents arbitrary bytes using 64 printable ASCII characters, which lets binary or non-ASCII data travel through channels that only accept text — data URIs, JSON payloads, email headers and HTTP basic auth. This encoder reads your text as UTF-8 and returns the standard Base64 form, padded with “=”.
How to use
- Paste the text you want to encode.
- The text is read as UTF-8 and encoded to standard Base64 as you type.
- Copy the result into your data URI, config file or request body.
FAQ
Does it handle Japanese and emoji?
Yes. The input is encoded as UTF-8 first, so any Unicode character — including Japanese text and emoji — round-trips correctly through the matching decoder.
Is Base64 a form of encryption?
No. It is an encoding, not a cipher: anyone can decode it without a key. Never use it to protect passwords or personal data.
Why is the output longer than the input?
Base64 packs every 3 bytes into 4 characters, so the result is about 33% larger, plus padding.
Is this URL-safe Base64?
No. This uses the standard alphabet, which includes + and /. To put the result in a URL, percent-encode it or replace those two characters with - and _.