Base64 Encoder & Decoder

Encode text to Base64 or decode Base64 strings back to text. All processing happens locally in your browser.

0 chars

Examples:

How to Use Base64 Encoder/Decoder

  1. Choose "Encode" or "Decode" tab
  2. Enter your text or Base64 string
  3. Click the convert button
  4. Copy the result or swap input/output to reverse the operation

What is Base64?

Base64 is an encoding scheme that converts binary data into ASCII text format. It's commonly used to encode binary data for transmission over text-based protocols like email or HTTP.

Common Use Cases

  • Encode credentials for HTTP Basic Authentication
  • Embed images in HTML or CSS using data URLs
  • Encode binary data for JSON or XML transmission
  • Decode Base64-encoded configuration values
  • Email attachment encoding (MIME)

Frequently Asked Questions

Is Base64 encryption?

No! Base64 is encoding, not encryption. Anyone can decode Base64 strings easily. Never use it to protect sensitive data.

Does this support Unicode?

Yes! Our tool properly handles UTF-8 encoding, so you can encode and decode Unicode characters like emojis and special symbols.

Why does my encoded string have = at the end?

The = characters are padding to ensure the encoded string length is a multiple of 4. This is a standard part of Base64 encoding.

Related Tools