Intermediate
4 min
Text Manipulation Tools
Understanding Base64 Encoding
Understanding Base64 Encoding
Base64 is a way to represent binary data in an ASCII string format. It's commonly used for embedding images in HTML or sending data over protocols that only support text.
How to Encode Text
- Go to our Base64 Encoder/Decoder.
- Type or paste your text into the input area.
- The Base64 representation will appear instantly.
How to Decode
- Paste a Base64 string into the input area.
- Click the "Decode" toggle or button.
- The original text will be revealed.
Common Use Cases
- Data URIs: Embedding small images directly in CSS or HTML.
- Basic Auth: Sending credentials in HTTP headers.
- Email Attachments: Encoding binary files for transmission via SMTP.
Important Note
Base64 is NOT encryption. It is easily reversible and provides no security. Never use it to "hide" sensitive information.