Base64 Tools
Encode text to base64 and decode base64 back to text. Perfect for data encoding, API development, and working with binary data in text format.
Encode Text to Base64
Convert your text to base64 encoding. Supports Unicode characters and special symbols.
About Base64 Encoding
What is Base64?
Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It's commonly used in web applications, email systems, and APIs.
Common Uses
- • Embedding images in HTML/CSS
- • API authentication tokens
- • Email attachments
- • Data transfer in JSON
How it works:
- Text is converted to binary (UTF-8 bytes)
- Binary data is grouped into 6-bit chunks
- Each 6-bit chunk is mapped to a printable ASCII character
- Padding characters (=) are added if needed
Tip: Base64 encoding increases the size of data by approximately 33% due to the conversion from 8-bit to 6-bit representation. This is normal and expected.