Base64 Encoder & Decoder

Encode and decode Base64 strings instantly in your browser.

Note: All processing happens in your browser. Your data is never sent to any server.

About Base64 Encoding

Base64 is a binary-to-text encoding scheme that represents binary data in ASCII string format. It is commonly used to encode data that needs to be stored or transferred over media designed to handle text.

Features

  • Instant Base64 encoding and decoding
  • Support for text input
  • Copy encoded/decoded result to clipboard
  • Real-time conversion as you type
  • 100% client-side processing - your data stays private
  • Works offline once loaded

Common Use Cases

  • Encoding binary data for transmission over text protocols (email, JSON, XML)
  • Embedding images in HTML/CSS (data URLs)
  • Encoding credentials for Basic Authentication
  • Storing complex data in cookies or URLs
  • Data serialization for APIs

How to Use

  1. Choose "Encode" to convert text to Base64, or "Decode" to convert Base64 back to text
  2. Paste or type your text in the input area
  3. The result appears instantly in the output area
  4. Click "Copy" to copy the result to your clipboard