Base64 Encode / Decode
Convert text to Base64 and back — private, in your browser
Result
—
Related Calculators
Frequently Asked Questions
What is Base64 encoding?
Base64 is a way of representing binary or text data using only 64 printable ASCII characters (A–Z, a–z, 0–9, + and /). It is used to safely transmit data through systems that only handle text, such as email attachments, data URLs, JSON, and HTTP basic authentication. It is an encoding, not encryption — anyone can decode it.
Is Base64 the same as encryption?
No. Base64 is reversible encoding with no secret key, so it provides no security or privacy — anyone can decode it instantly. It is only used to make data safe to store or transmit as plain text. Never use Base64 to protect passwords or sensitive information; use real encryption for that.
Why does Base64 make text longer?
Base64 represents every 3 bytes of input as 4 characters of output, so encoded data is about 33% larger than the original. Padding with = signs may add one or two more characters. This size increase is the trade-off for making arbitrary data safe to transmit as text.
Does this handle emoji and non-English characters?
Yes. This calculator encodes text as UTF-8 before converting to Base64, so accents, emoji, and non-Latin scripts (Arabic, Chinese, Cyrillic, and more) all round-trip correctly. Decoding reverses the process to give you back the exact original text.
What are the = signs at the end of Base64?
They are padding. Base64 works in blocks of 4 characters representing 3 bytes. When the input length is not a multiple of 3, one or two = characters are added so the output length stays a multiple of 4. The padding is required for the data to decode correctly.