Base64 Encode / Decode
Encode text to Base64 or decode Base64 back to text. Supports UTF-8. Real-time conversion as you type.
Output will appear here…Input: 0 charsOutput: 0 chars
Frequently Asked Questions
What is Base64 encoding?
Base64 is a binary-to-text encoding scheme that represents binary data as an ASCII string. It's commonly used to embed images in HTML/CSS, encode email attachments, and transmit binary data in JSON APIs.
Does this tool support UTF-8 characters?
Yes. This tool fully supports UTF-8 encoding and decoding, including emojis, accented characters, and CJK characters.
Why is Base64 output larger than the input?
Base64 encoding increases the size by approximately 33% because it represents 3 bytes of binary data as 4 ASCII characters. The tool shows the exact size difference.
Is my data safe?
Yes. All encoding and decoding happens entirely in your browser. No data is sent to any server.