Encode and decode Base64 data easily
Base64 Encoder/Decoder is a free online tool for encoding and decoding text and files using the Base64 encoding scheme. Base64 is a binary-to-text encoding method that converts binary data into ASCII characters, making it safe to transmit over text-based protocols like email and HTTP.
Our tool supports both text and file encoding, including images. You can encode images to data URIs for embedding directly in HTML or CSS, or decode Base64 strings back to their original format.
Convert any text to Base64 encoding instantly for safe transmission over text protocols.
Encode files including images to Base64 for embedding in HTML, CSS, or JSON.
Convert images to data URIs for inline embedding without external file requests.
Decode any Base64 string back to its original text or binary format.
Base64 is used to encode binary data for transmission over text-based protocols. Common uses include email attachments, embedding images in HTML/CSS, storing binary data in JSON, and encoding authentication credentials in HTTP headers.
No, Base64 is encoding, not encryption. It doesn't provide any security - anyone can decode Base64 data. It's designed for data representation, not protection. Use proper encryption for sensitive data.
Base64 encoding increases size by approximately 33% because it converts 3 bytes of binary data into 4 ASCII characters. This overhead is the trade-off for being able to represent binary data as text.