Base64 Encoder/Decoder

Encode text to Base64 or decode Base64 to text.

Input0 words • 0 chars
Output

Binary to Text Encoding

Base64 is a group of binary-to-text encoding schemes that represent binary data in an ASCII string format. It's commonly used to embed images directly into HTML/CSS or to transmit data over media that are designed to deal with textual data.

Common Uses

  • Data URIs: Embedding small images or icons directly in CSS to save HTTP requests.
  • Email Attachments: MIME (Multipurpose Internet Mail Extensions) uses Base64 to transmit non-text attachments.
  • Basic Auth: Transmitting credentials (username:password) in HTTP headers often requires Base64 encoding.