Base64 Encoder Decoder

Encode text to Base64 format or decode Base64 strings back to plain text. Base64 is commonly used for encoding binary data in text format.

0 chars0 bytes

What is Base64?

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It's commonly used for embedding images in HTML/CSS, sending binary data over text-based protocols, and data URLs.

How to Use

  1. Enter plain text to encode, or a Base64 string to decode
  2. Click "Encode to Base64" or "Decode from Base64"
  3. Copy the result

Common Uses

  • Data URLs for embedding images
  • Email attachments (MIME encoding)
  • Storing binary data in JSON/XML
  • Basic authentication headers

Keyboard Shortcuts

  • Ctrl + L - Focus input field
  • Ctrl + Enter - Repeat last action
  • Alt + S - Swap input/output
  • Ctrl + Shift + C - Copy result
  • Ctrl + S - Download result
  • Escape - Clear all inputs
  • Tab - Insert spaces
  • Double-click output area - Select all text