Base64 Encoder/Decoder

Encode text to Base64 or decode Base64 to text.

About Base64

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It's commonly used for encoding data that needs to be transmitted over media designed to deal with text.

Common Use Cases:

  • Email attachments (MIME)
  • Data URLs in web development
  • JSON Web Tokens (JWT)
  • API authentication
  • Storing binary data in text-based formats
  • URL-safe data transmission

Character Set:

Base64 uses 64 different characters: A-Z, a-z, 0-9, +, and /. The = character is used for padding when needed.

Example:

Text: "Hello, World!"

Base64: SGVsbG8sIFdvcmxkIQ==