Base64 Encoder/Decoder

Encode text to Base64 format and decode Base64 strings back to readable text. Essential for data transmission and storage.

Character count: 0

Output will appear here...

Examples

Encoding Examples:

Input:
Hello World
Output:
SGVsbG8gV29ybGQ=
Input:
user@example.com
Output:
dXNlckBleGFtcGxlLmNvbQ==

Decoding Examples:

Input:
SGVsbG8gV29ybGQ=
Output:
Hello World
Input:
VGV4dFRvb2xzLnRvcA==
Output:
TextTools.top

About Base64 Encoding

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It's commonly used in various applications including email transmission, data URLs, and web development.

Common Use Cases:

  • Email attachments and MIME encoding
  • Embedding images in HTML/CSS as data URLs
  • API authentication tokens
  • Storing binary data in JSON or XML
  • URL-safe data transmission

How Base64 Works:

Base64 encoding takes binary data and converts it into a text string using a set of 64 characters: A-Z, a-z, 0-9, +, and /. The encoded string is typically 33% larger than the original data due to the encoding process.

Important Notes:

  • Base64 is encoding, not encryption - it provides no security
  • Encoded strings may end with one or two '=' characters for padding
  • Our tool supports UTF-8 text encoding for international characters
  • All processing happens in your browser for privacy