Base64 Encoder/Decoder
Convert text to Base64, or decode Base64 back to text.
Choose the mode (encode or decode) and paste or type the text into the field. The result appears automatically.
About this tool
This tool converts text to Base64 format (used to represent binary data as text, for example in emails and URLs) and also decodes a Base64 string back to the original text. Unicode characters are handled correctly in both directions.
How to use
Select "Encode" to turn plain text into Base64, or "Decode" to turn a Base64 string back into text. There is no button to click.
Examples
The text "Hello, World!" encoded in Base64 becomes "SGVsbG8sIFdvcmxkIQ==". Decoding that same string returns the original text.
Frequently asked questions
No — Base64 is just a way to represent binary data as text, not a security method. Anyone can decode a Base64 string back to the original; don't use it to protect sensitive information.
Yes — the text is treated as UTF-8 before being encoded, so accented characters, emoji, and characters from any language convert and recover correctly.
No — the conversion happens entirely in your browser; nothing is sent to the server.
Base64 Encoder/Decoder