About Base64 encode / decode conversion
Base64 represents arbitrary bytes using only 64 safe ASCII characters, which lets binary or non-English text travel through systems that expect plain text. Developers meet it constantly: HTTP Basic authentication headers, JSON Web Token segments, data URIs, email attachments in MIME, environment variables, and configuration files all lean on it.
This tool is UTF-8 safe. Before encoding, text is converted to UTF-8 bytes, so accented letters, non-Latin scripts, and emoji round-trip correctly instead of throwing the "character out of range" error that a naive browser call produces. Decoding reverses the process and trims surrounding whitespace, so a value copied with a stray newline still works. If the input is not valid Base64, or decodes to bytes that are not valid UTF-8 text, you get a clear error rather than garbage.
A word of caution: Base64 is an encoding, not encryption. Anyone can decode it instantly. Because the conversion runs entirely in your browser, though, you can safely inspect tokens or credentials without pasting them into a server-side website. The tool works on text, not on binary files such as images.
How to do it
- Click the button above to open the Text tool with the Base64 buttons highlighted.
- Paste plain text to encode, or a Base64 string to decode.
- Press Base64 encode or Base64 decode.
- Check the status line — an error means the input was not valid Base64 text.
- Copy the output or download it as a text file.




