Base64 Encoder/Decoder
Free online Base64 encoder/decoder tool, no installation required
What is Base64 Encoding?
Base64 is a binary-to-text encoding scheme that converts binary data into an ASCII string using a set of 64 characters (A-Z, a-z, 0-9, +, /). It is widely used to encode data for transmission over media designed to handle text, such as email (MIME) or embedding image data in HTML and CSS. Base64 encoding increases the data size by approximately 33%, so it is not a compression method.
How to Use This Base64 Encoder/Decoder
Enter or paste your plain text in the input area and click Encode to generate the Base64 representation. To decode, paste a Base64 string into the output area and click Decode. The tool works entirely in your browser — no data is sent to any server. You can encode text in UTF-8, Chinese, emoji, and any Unicode characters.
Common Use Cases for Base64
Embed small images directly in HTML or CSS using data URIs (data:image/png;base64,...). Encode credentials for HTTP Basic Authentication. Transmit binary data in JSON API payloads. Store complex data in cookies or URL parameters. Encode email attachments via MIME.