Base64
UTF-8-safe encode/decode plus URL-safe. Unicode never breaks.
UTF-8 based, so Korean, Japanese, and emoji never break. URL-safe (-_, no padding) variant included.
Output appears here.
The browser’s built-in btoa only understands Latin-1, so Korean, Japanese, and emoji throw errors or corrupt. This tool encodes through UTF-8 first, so any text round-trips perfectly. Decoding accepts both standard and URL-safe input automatically.
Standard Base64 uses +, /, and = padding. The URL-safe variant swaps them for - and _ and drops padding, so the result is safe inside URLs, JWT segments, and filenames.
Encoding and decoding run entirely in your browser — fine for tokens, credentials, and private snippets.