Base64 Encoder & Decoder
Encode and decode Base64 strings with full UTF-8 support. Free, no signup required — runs entirely in your browser.
Frequently Asked Questions
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's commonly used to embed binary data in text-based formats like JSON, HTML, and email.
Why does Base64 make data larger?▼
Base64 encoding increases data size by approximately 33%. This is because it represents every 3 bytes of binary data as 4 ASCII characters. The trade-off is that the encoded data is safe to transmit through text-based protocols.
Does this tool support Unicode and emoji?▼
Yes. This tool uses UTF-8 encoding via the TextEncoder/TextDecoder APIs, so it correctly handles multi-byte characters including Unicode, emoji, and characters from any language.
Is my data safe?▼
Yes. All encoding and decoding happens entirely in your browser using JavaScript. No data is sent to any server. You can verify this by using the tool with your network tab open.