Base64 Encoder/Decoder

Convert text to Base64 encoding or decode Base64 strings back to plain text.

🔒 Encode

Convert plain text to Base64 encoded string

0 characters

About Base64 Encoding

  • • Converts binary data to ASCII text format
  • • Commonly used for data URIs and email attachments
  • • Increases data size by approximately 33%
  • • Safe for transmission in text-only systems

Enter Text

Enter text to encode or a Base64 string to decode. Switch between modes using the toggle button above.

Understanding Base64 Encoding

What is Base64?

  • Encoding Scheme: Converts binary data to ASCII text using 64 characters
  • Character Set: Uses A-Z, a-z, 0-9, +, / and = for padding
  • Size Impact: Increases data size by approximately 33%
  • Common Uses: Data URIs, email attachments, API responses
  • Safe Transport: Ensures binary data can be transmitted in text-only systems

Common Use Cases

  • Embedding images in HTML/CSS with data URIs
  • Encoding file attachments in emails
  • Storing binary data in JSON or XML
  • Transmitting data through text-based protocols
  • Creating secure tokens and authentication strings