Base64 Encoder/Decoder

Encode and decode text or files to/from Base64 format with support for various file types.

Input
Enter text to encode or Base64 string to decode
Output
Encoded or decoded result
About Base64 Encoding

What is Base64?

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

Common Use Cases:

  • • Email attachments (MIME)
  • • Embedding images in HTML/CSS
  • • Data URLs in web applications
  • • API data transmission
  • • Configuration files

Encoding Details:

  • • Uses 64 characters: A-Z, a-z, 0-9, +, /
  • • Padding character: = (when needed)
  • • 3 bytes → 4 Base64 characters
  • • ~33% size increase from original
  • • No line breaks in standard encoding

Security Note:

Base64 is encoding, not encryption. It provides no security and can be easily decoded. Don't use it to hide sensitive information.