Hello, world!
Input Hello, world!
Result SGVsbG8sIHdvcmxkIQ==
Encode text to Base64 or decode it back, with UTF-8 support and an optional URL-safe alphabet — nothing leaves your browser.
Result
Change any input and the result updates instantly.
Input Hello, world!
Result SGVsbG8sIHdvcmxkIQ==
Input 👋
Result 8J+Riw== — one visible character, four UTF-8 bytes.
Input subjects?_d=1
Result Standard gives c3ViamVjdHM/X2Q9MQ==, URL-safe gives c3ViamVjdHM_X2Q9MQ without padding.
No. It is a reversible encoding with no key, so anyone can decode it. Use it to move binary data through text channels, never to protect secrets.
The equals signs pad the final group when the input length is not divisible by three. URL-safe variants usually drop this padding, and decoders can restore it.
Simple encoders treat each character as one byte. Chinese characters take three UTF-8 bytes and many emoji take four, so the text must be converted to UTF-8 bytes before Base64 is applied.
Disclaimer: Results follow the formula shown on this page and are for reference only. Real-world quantities vary with materials, technique and conditions, so allow a margin before ordering.