Base64 Text Encoder & Decoder
Encode plain text into Base64 format for safe data transmission, or decode Base64 strings back to their original readable form. This tool fully supports UTF-8 characters including Unicode, emoji, and multibyte text. All conversion happens in your browser — your data never leaves your device.
Text to Base64 Encoder
Enter text to encode it into Base64 format.
Base64 to Text Decoder
Paste your Base64 encoded string to decode it back to the original text.
How It Works
Base64 encoding transforms binary data or text into a set of 64 printable ASCII characters (A-Z, a-z, 0-9, +, /). Each group of three input bytes maps to four output characters, with padding (=) added when the input length isn't a multiple of three. This tool handles UTF-8 text by first encoding multi-byte characters into their UTF-8 byte representation before applying Base64 encoding, ensuring international characters, emoji, and special symbols are preserved accurately.
Common Use Cases
- Data transmission: Safely transmit binary or special characters over text-only protocols like SMTP, HTTP headers, or JSON APIs.
- Configuration files: Store binary data (certificates, keys) in text-based config formats like YAML or XML.
- Data URIs: Embed small resources inline in web pages.
- Debugging: Quickly inspect encoded payloads from APIs, logs, or email headers.
Frequently Asked Questions
What is Base64 encoding?
Does Base64 encrypt data?
Why does Base64 increase data size?
Does this tool support Unicode?
Related Tools
Base64 Image Converter
Convert images to Base64 data URIs and decode Base64 strings back to images.
URL Encoder & Decoder
Encode and decode URL components for safe transmission in query strings and paths.
RFC 2047 Encoder & Decoder
Encode and decode email headers per RFC 2047 for non-ASCII characters.
Hash Generator
Generate MD5, SHA-1, SHA-256, and SHA-512 hashes for data integrity verification.