← All tools/Utilities/Text/Base64 Encoder Decoder
Base64 Encoder Decoder
Encode text to Base64 or decode Base64 back to text, entirely in your browser.
Result
How it works
encoding: text → UTF-8 bytes → Base64 alphabet (A–Z, a–z, 0–9, +, /) with = padding decoding: Base64 → bytes → UTF-8 text
Worked example: “Hello, WhiteUI!” encodes to “SGVsbG8sIFdoaXRlVUkh”. Decoding that string returns “Hello, WhiteUI!” exactly.
Frequently asked questions
What is Base64 for?
It turns any bytes into plain text characters, so binary data can travel through systems that only handle text, such as email headers or data URLs.
Is Base64 encryption?
No. Anyone can decode Base64, so it hides nothing. Never use it to protect a password or a secret.
Why does the output end with = signs?
Padding. Base64 works in groups of 3 bytes, and = fills the last group when the input length is not a multiple of 3.
Does it handle non-English text?
Yes. The encoder converts text to UTF-8 first, so accented letters and other scripts encode and decode correctly.
More tools
Tell us what you think
Loving this tool, or stuck on something? Tell us — it takes a minute.
We’ll only use your name and email to reply if needed. The tool and page are filled in for you.