How to use
Enter ordinary text and choose Encode, or paste standard Base64 and choose Decode. Swap input and output to check a round trip.
Example
Hello → SGVsbG8=. Unicode text is converted to UTF-8 bytes before encoding.
Encode text as Base64 or decode it as UTF-8, including Unicode and emoji.
Enter ordinary text and choose Encode, or paste standard Base64 and choose Decode. Swap input and output to check a round trip.
Hello → SGVsbG8=. Unicode text is converted to UTF-8 bytes before encoding.
Base64 is encoding, not encryption. This tool handles UTF-8 text with the standard +, / and = alphabet. Base64URL and binary file output are not supported.
Why did decoding fail? Check trailing = padding and remove any data: URL prefix. Images and other binary data cannot necessarily be decoded as UTF-8 text.