Text to Encode

Base64 Output

Base64 output will appear here...

About Base64

Base64 is an encoding scheme that converts binary data into ASCII text format. It's commonly used for transmitting data over media designed to handle text, such as email or embedding images in HTML/CSS.

The encoding increases data size by approximately 33% because it represents 3 bytes of binary data as 4 ASCII characters. This tool supports UTF-8 characters, so you can encode text in any language.

Common Uses

  • Data URIs in HTML/CSS
  • Email attachments (MIME)
  • API authentication tokens
  • Storing binary in JSON/XML

Characteristics

  • Uses A-Z, a-z, 0-9, +, /
  • Padding with = characters
  • 33% size increase
  • URL-safe variants exist