Base64 Encoder & Decoder
Encode text or files to Base64, or decode Base64 strings back to text. Everything runs in your browser β nothing is sent to any server.
Encode text or files to Base64, or decode Base64 strings back to text. Everything runs in your browser β nothing is sent to any server.
Base64 is an encoding scheme that converts binary data into ASCII text using 64 printable characters (AβZ, aβz, 0β9, +, /). It's used to safely transmit binary data β like images, files, or credentials β through text-based systems such as email, JSON APIs, and HTTP headers.
Base64 is commonly used for embedding images directly in HTML/CSS (data URIs), encoding credentials in HTTP Basic Authentication headers (username:password), transmitting binary file contents in JSON APIs, and storing binary data in databases or configuration files.
No β Base64 is encoding, not encryption. Anyone can decode Base64 data instantly (as this tool demonstrates). Never rely on Base64 for security. It's only for format compatibility, not for hiding or protecting data.
Base64 uses 4 characters to represent every 3 bytes of data, which increases the size by approximately 33%. This is the trade-off for making binary data safe to transmit through text-only systems.