Base64 Encoder/Decoder

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

Current Mode: Encoding

Converting text to Base64 format

Character Count

Input: 0 Output: 0

Keyboard Shortcuts:

  • Ctrl/Cmd + Enter - Encode
  • Ctrl/Cmd + D - Decode
  • Ctrl/Cmd + S - Swap input/output

Privacy: All encoding/decoding happens locally using native btoa() and atob() APIs with proper UTF-8 handling. No data is sent to any server.

About 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.

Features:

  • Encode text to Base64 format
  • Decode Base64 back to plain text
  • Proper UTF-8 character handling
  • Swap input/output for quick re-encoding
  • Character count tracking
  • Keyboard shortcuts for quick actions

Common Use Cases:

  • Embedding images in HTML/CSS (data URIs)
  • Email attachment encoding
  • API authentication tokens
  • Storing binary data in JSON/XML
  • URL-safe data transmission
  • Basic obfuscation (not encryption!)

Note: Base64 is an encoding scheme, not encryption. It does not provide security or privacy. Anyone can decode Base64 data. Use proper encryption for sensitive information.