Base64 Encoder/Decoder
Encode text to Base64 or decode Base64 strings instantly.
What is Base64?
Base64 is a binary-to-text encoding scheme that represents binary data using 64 ASCII characters. It's commonly used when binary data needs to be stored or transferred over media designed for text.
The encoding uses A-Z, a-z, 0-9, +, and / characters, with = used for padding. Base64 increases data size by approximately 33%.
Common Use Cases
- Embedding images in HTML/CSS (data URIs)
- Transmitting binary data in JSON APIs
- Email attachments (MIME encoding)
- Storing complex data in URLs
- Basic authentication headers