How this tool works
Encoding uses TextEncoder to correctly convert Unicode text (including emoji, accented characters, and non-Latin scripts) into UTF-8 bytes before Base64-encoding — a plain btoa() call breaks on any character outside the Latin-1 range, which is a common source of encoding bugs. Decoding reverses the process with TextDecoder, so round-tripping text through encode and decode always returns exactly what you started with.