Base64 Encoder / Decoder
Encode and decode Base64 strings instantly. Supports Unicode text. Free online tool — all processing happens in your browser.
How to Use the Base64 Encoder / Decoder
Type or paste text in the left panel and click "Encode" to convert it to Base64. To decode, paste a Base64 string in the right panel and click "Decode".
What is Base64?
Base64 is a binary-to-text encoding scheme that represents binary data as ASCII characters. It is commonly used to embed images in HTML/CSS, encode email attachments (MIME), transmit data in URLs and APIs, and store binary data in JSON or XML.
Unicode Support
This tool correctly handles Unicode characters including emoji, CJK characters, and accented letters by encoding via UTF-8 before Base64 conversion.
Frequently Asked Questions
What is Base64 encoding used for?
Base64 encoding is used to safely transmit binary data over text-based protocols. Common uses include embedding images in CSS/HTML, encoding API authentication tokens, and sending file attachments in emails.
Does this tool handle Unicode and emoji?
Yes. The encoder converts text to UTF-8 bytes before Base64 encoding, which correctly handles all Unicode characters including emoji, Japanese, Chinese, Korean, Arabic, and accented Latin characters.
Is my data sent to a server?
No. All encoding and decoding happens entirely in your browser using JavaScript. No data is transmitted to any server.
RELATED TOOLS