Base64 Encode: "hello world"
The Base64 encoded version of "hello world" is:
aGVsbG8gd29ybGQ=
How It Works
Base64 encoding converts binary data to ASCII text using 64 characters (A-Z, a-z, 0-9, +, /).
Code Examples
// JavaScript
btoa("hello world");
// Output: "aGVsbG8gd29ybGQ="
# Python
import base64
base64.b64encode(b"hello world").decode()
# Output: "aGVsbG8gd29ybGQ="
# Command line
echo -n "hello world" | base64
# Output: aGVsbG8gd29ybGQ=