Encode text to Base64
Converts text to Base64. Every three bytes become four characters from a 64-character alphabet, which is why encoded output is about a third larger than the input. Text is read as UTF-8 first, so accented letters, emoji and non-Latin scripts all survive.
hello world exampleaGVsbG8gd29ybGQgZXhhbXBsZQ==