Base64 Encoder/Decoder
Encode text to Base64 or decode Base64 to text
What is Base64?
Base64 Encoding
Base64 is a binary-to-text encoding scheme that converts binary data into a sequence of printable ASCII characters. It's commonly used when binary data needs to be transmitted over media designed to handle text.
Common Uses
Base64 is widely used in email attachments (MIME), embedding images in HTML/CSS (data URIs), storing binary data in JSON/XML, and authentication tokens.
Base64 Characters
A-Z, a-z, 0-9, +, /, =
About Base64 Encoding
Base64 encoding converts binary data into ASCII text format using 64 printable characters (A-Z, a-z, 0-9, +, /). The '=' character is used for padding when the input length is not divisible by 3.
This encoding increases the data size by approximately 33%, but ensures safe transmission across systems that may not handle binary data well, such as email systems or URLs.
This tool allows you to encode any text to Base64 or decode Base64 strings back to their original text. You can also upload files to encode them directly.