Data / Text encoding
Base64 Encoder / Decoder
Encode readable UTF-8 text as Base64, or decode Base64 bytes back to valid UTF-8. Emoji, Turkish characters and multiline input are preserved.
Unicode-safe conversion
Browser Base64 functions operate on bytes, not directly on arbitrary Unicode strings. This tool first encodes text as UTF-8 bytes, then converts those bytes to Base64. Decoding performs the steps in reverse and rejects byte sequences that are not valid UTF-8.
Whitespace inside Base64 input is ignored. Invalid alphabet characters, impossible lengths and corrupted UTF-8 output produce an error instead of a misleading result.