Base64 Encoder & Decoder

Encode text to Base64 format or decode Base64 strings back to plain text. All encoding and decoding happens in your browser for maximum security and privacy.

What is Base64 Encoding?

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 or transferred over media designed to handle text.

Common Uses of Base64

  • Email attachments: Encoding binary files for email transmission
  • Data URLs: Embedding images and other files directly in HTML or CSS
  • API authentication: Encoding credentials in HTTP headers
  • Storing binary data: Saving binary data in text-based formats like JSON or XML
  • URL parameters: Encoding binary data for safe URL transmission

Important Notes

  • Not encryption: Base64 is encoding, not encryption. It doesn't provide security.
  • Size increase: Base64 encoding increases data size by approximately 33%
  • Character set: Uses A-Z, a-z, 0-9, +, / and = for padding
  • Privacy: All encoding/decoding happens in your browser - data never leaves your device