Base64
Convert text to Base64 and back without a round trip to any server. Handles full UTF-8 correctly and offers a URL-safe variant for tokens and query strings.
How it works
Encoding walks your text as UTF-8 bytes before turning it into Base64, so accented characters and emoji survive the round trip, a common pitfall with naive implementations. The URL-safe option swaps the + and / characters for - and _ and drops padding, which is what you want for tokens and query strings. Decoding reverses either form automatically.