Convert text to Base64 and back
This tool converts text to UTF-8 bytes and displays them as standard Base64. Use it to read a Base64-encoded text setting or create a test value.
Example: Round-trip a short phrase
Enter Café! and select Encode to get Q2Fmw6kh. Paste that result into the input field and select Decode to get Café! back.
How to tell decoding errors apart
If the Base64 syntax is invalid, check whether the value was cut off or trailing = characters were lost or added. For a data URL, paste only the data after the comma. For Base64URL, replace - and _ with standard Base64 + and /.
/w== is valid Base64, but its decoded bytes are not valid UTF-8 text. This tool does not restore images or compressed files from Base64. Base64 is not encryption; do not use it to hide passwords or tokens.