Base64 Encoder & Decoder

About Base64 Encoding

What is Base64?

Base64 is a encoding scheme that converts binary data into a text format using 64 different ASCII characters. It's commonly used to transmit binary data through systems that only support text content, such as email attachments or embedding images directly in HTML/CSS.

Common Uses

  • Embedding images in CSS or HTML (data URIs)
  • Encoding binary files for email attachments
  • Storing binary data in JSON
  • API authentication tokens

How to Use

  1. Enter or paste your text in the input field above
  2. Click "Encode" to convert text to Base64
  3. Click "Decode" to convert Base64 back to text
  4. Use the copy button to copy the result to your clipboard

Note: All encoding and decoding is performed locally in your browser. Your data never leaves your device or gets sent to any server.