Base64 Encoder & Decoder

Convert text to Base64, decode Base64 to text, and encode files to Base64. A simple and secure way to encode and decode data.

Maximum file size: 5MB

About Base64 Encoding

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It's commonly used when there's a need to encode binary data that needs to be stored and transferred over media that are designed to deal with text.

Common Uses of Base64
  • Email Attachments: MIME format uses Base64 to encode email attachments.
  • Data URLs: Embedding images or other files directly in HTML, CSS, or JavaScript using the data: URL scheme.
  • XML and JSON: Encoding binary data within XML or JSON documents.
  • Cookies and Web Storage: Storing binary data in cookies or web storage.
  • API Communication: Transmitting binary data in API requests and responses.
Base64 Characteristics
  • Base64 uses a set of 64 characters: A-Z, a-z, 0-9, + and /
  • The = character is used for padding at the end
  • Base64 encoding increases the data size by approximately 33% (4 characters for every 3 bytes)
  • It's not a form of encryption and doesn't provide any security
Note

All encoding and decoding is done locally in your browser. Your data is never sent to any server, ensuring your privacy and security.