Base64 Converter
Convert text to Base64 and back. Handles Unicode input and reports invalid Base64 instead of returning partial output.
How it works
Encoding converts each character to its UTF-8 bytes and then to Base64, so non-ASCII text round-trips without corruption.
Decoding validates the input first: characters outside the Base64 alphabet or a bad padding length produce an error message rather than silently truncated text.