About this tool
What base64 encoder / decoder does
Convert readable UTF-8 text to its Base64 representation or decode valid Base64 back to text. Unicode characters are handled correctly rather than treated as single-byte ASCII.
How it works
Text is converted to UTF-8 bytes with TextEncoder before Base64 encoding. Decode mode reverses the process and rejects malformed Base64 or byte sequences that are not valid UTF-8.