Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 back to text.
About Base64
Base64 is a binary-to-text encoding scheme that represents binary data using 64 printable ASCII characters. It's commonly used for embedding data in HTML/CSS, encoding email attachments, and transmitting data over HTTP.
How to Use
Enter your text in the input field and click "Encode" to convert it to Base64, or paste a Base64 string and click "Decode" to convert it back to plain text. The result appears instantly in the output field.
What is Base64?
Base64 is a binary-to-text encoding scheme that represents binary data using 64 printable ASCII characters (A-Z, a-z, 0-9, +, /). It is widely used in email systems, data URLs, HTTP authentication, and embedding binary data in text-based formats like HTML, CSS, XML, and JSON.
Common Use Cases
Embedding images directly in HTML using data URIs, encoding credentials for HTTP Basic Authentication, transmitting binary data over text-only protocols like email, storing complex data in JSON or XML, and encoding file attachments in API requests.