Base64 Encoder/Decoder

Encode text to Base64 or decode Base64 strings. Supports UTF-8 text encoding.

How to Use Base64 Encoder/Decoder

  1. Select Encode or Decode mode
  2. Enter your text or Base64 string
  3. Click the convert button
  4. Copy the result or download as a file
  5. Use Swap to quickly reverse the conversion

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 or transferred over media that are designed to deal with text.

Common Use Cases

  • Encoding images for embedding in HTML/CSS
  • Encoding data for URLs and APIs
  • Email attachments (MIME)
  • Storing complex data in cookies
  • Basic authentication headers

Features

  • Supports UTF-8 text encoding
  • Real-time input/output length tracking
  • Quick swap between encode/decode
  • One-click copy and download
  • Works entirely in your browser - no data is sent to any server