Base64 Encoder/Decoder
Convert text and files to and from Base64 format
Result
Result
About Base64 Encoding
Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It's commonly used to transmit binary data through systems that only support text content, such as email attachments, API calls, and data URIs in web pages.
Common Uses
- Embedding images directly in HTML/CSS using data URIs
- Sending binary data in JSON payloads
- Encoding email attachments (MIME)
- Storing binary data in databases that only support text
- URL-safe data transmission
Features
Text Conversion
Convert plain text to Base64 and vice versa. Supports UTF-8 encoding for international characters.
File Conversion
Convert files to Base64 strings and decode Base64 back to files. Useful for creating data URIs.
Important Note
Base64 encoding increases the data size by approximately 33% because it represents 3 bytes of data with 4 Base64 characters. It's not a form of encryption and doesn't provide any security - it's purely a data encoding scheme.