Online Base64 Encoder & Decoder
This is a free and powerful online tool for encoding and decoding data in Base64 format. You can easily convert plain text to a Base64 string, or decode a Base64 string back to its original text. For added convenience, you can also encode local files (like images) into a Base64 data string. All operations are performed securely in your browser, with no data sent to any server.
Input
Or, .
Output
Download Decoded FileAbout Base64 Encoding
What Is It?
Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format by translating it into a radix-64 representation. In simple terms, it's a way of converting complex data (like an image) into a safe, text-only format for transmission.
Common Use Cases
- Data URIs: Embedding images or other files directly into HTML or CSS code to reduce HTTP requests. For example, `src="data:image/png;base64,..."`.
- Email Attachments: The MIME (Multipurpose Internet Mail Extensions) standard uses Base64 to attach binary files to emails.
- Storing Binary Data in XML/JSON: Since XML and JSON are text-based, Base64 is used to store binary data within them.