Base64 Encoder & Decoder

Encode text to Base64 or decode Base64 strings instantly

Base64 Result

Result will appear here...

What is Base64?

Base64 is a binary-to-text encoding scheme that represents binary data in sequences of 24 bits that can be represented by four 6-bit Base64 digits.

Common Use Cases:

  • Email attachments: MIME email encoding
  • Data URLs: Embedding images in HTML/CSS
  • API tokens: JWT tokens and authentication
  • Configuration files: Storing binary data in text files
  • URL parameters: Safely transmitting data in URLs

Character Set:

Base64 uses 64 characters: A-Z, a-z, 0-9, +, /, and = for padding.

Sample Data

Try encoding these sample texts: