Base64 Encoder & Decoder
Encode text to Base64 or decode Base64 back to text. Supports UTF-8 characters.
No data sent to serverRelated Tools
What is Base64 Encoding?
Base64 is a binary-to-text encoding scheme that represents binary data using 64 printable ASCII characters (A-Z, a-z, 0-9, +, /). It is commonly used to embed binary data in text-based formats such as JSON, XML, HTML, and email (MIME).
Base64 encoding increases the data size by approximately 33%, but ensures the data can be safely transmitted through text-only channels without corruption. Common use cases include encoding images as data URIs, transmitting file attachments in emails, and storing binary data in JSON APIs.
This tool handles UTF-8 text correctly, meaning you can encode and decode strings containing non-ASCII characters like emojis, Chinese, Japanese, Korean, and other Unicode characters without data loss.
How to Use
- Paste your plain text (to encode) or Base64 string (to decode) into the input box.
- Click "Encode" to convert text to Base64, or "Decode" to convert Base64 back to text.
- Copy the result with the Copy button or save it with Download.
FAQ
Does it support Unicode and emojis?
Yes. This tool uses UTF-8 encoding internally, so characters like accented letters, CJK characters, and emojis are fully supported.
Is Base64 encryption?
No. Base64 is an encoding, not encryption. It does not provide any security. Anyone can decode a Base64 string. Never use Base64 to hide sensitive data.
Why is the encoded output longer than the input?
Base64 encoding increases data size by about 33% because it maps every 3 bytes of input to 4 ASCII characters. This is a trade-off for making binary data safe for text-based transport.