Base64 Encoder/Decoder
Encode and decode Base64 with ease.
Text to Encode
What is Base64?
Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It's commonly used to encode data that needs to be stored or transferred over media that only supports text.
Common Use Cases
- Email attachments: MIME uses Base64 to encode binary attachments in emails.
- Data URLs: Embedding images directly in HTML/CSS using data: URLs.
- API data transfer: Sending binary data in JSON payloads.
- Basic authentication: HTTP Basic Auth encodes credentials in Base64.
UTF-8 Support
This tool properly handles UTF-8 encoded text, which means you can encode and decode text containing special characters, emojis, and characters from any language. The encoding process converts UTF-8 text to bytes before Base64 encoding, and decoding reverses this process.
File Encoding
You can also encode files by dragging and dropping them onto the input area or using the "Upload File" button. This is useful for converting images, documents, or any binary file to Base64 format.
Features
Our Base64 Encoder/Decoder tool provides a simple way to encode text to Base64 or decode Base64 back to readable text. It fully supports UTF-8 characters, making it perfect for working with international text and special characters.
You can also encode files by dragging and dropping them or using the file picker. All processing happens directly in your browser, ensuring your data remains private and secure. No data is sent to any server.