Base64 Encryption - Base64 Encoder
Free online Base64 encryption tool - encode text to Base64 format
âšī¸ About Base64 Encoding
Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It's commonly used for encoding data in email, URLs, and web applications. The encoded data is approximately 33% larger than the original.
đ Format Examples
Example 1: Simple Text
Plain Text Input:
Hello World!
Base64 Output:
SGVsbG8gV29ybGQh
Example 2: Credentials (for APIs)
Plain Text Input:
username:password123
Base64 Output:
dXNlcm5hbWU6cGFzc3dvcmQxMjM=
Example 3: JSON Configuration
Plain Text Input:
{"api":"v1","key":"abc123"}
Base64 Output:
eyJhcGkiOiJ2MSIsImtleSI6ImFiYzEyMyJ9
đĄ Common Use Cases
- Encoding credentials for HTTP Basic Authentication
- Embedding images in HTML/CSS (data URIs)
- Storing binary data in JSON or XML
- Encoding email attachments (MIME)
- Safely transmitting data through URL parameters