Base64 Encode / Decode
Encode text to Base64 or decode Base64 back into plain text.
About this tool
Base64 represents arbitrary text or data as a safe set of ASCII characters, which is why it turns up in data URLs, email attachments, JSON web tokens and configuration files. This tool converts plain text to Base64 and back again, switching direction with a single toggle.
Text is treated as UTF-8, so accented letters, emoji and other non-English characters encode and decode without corruption. Everything runs in your browser.
Frequently asked questions
- What is Base64 used for?
- It packs data into a limited, URL- and email-safe character set. It's common in data URIs, tokens and anywhere binary data needs to travel as text.
- Does Base64 encrypt my text?
- No. Base64 is encoding, not encryption — anyone can decode it. Don't use it to protect secrets; it only changes the representation, not the security.
- Why did decoding fail?
- The input wasn't valid Base64. Check for missing characters, stray spaces or text that was never Base64 in the first place.