Online Base64 Encoder and Decoder

Encode text to Base64 or decode Base64 to text with this free online tool. Convert your data quickly and securely right in your browser.

Options

How to Use the Base64 Encoder/Decoder

Encoding Text to Base64

  1. Ensure the "Encode to Base64" option is selected.
  2. Enter the text you want to encode in the input field.
  3. Click the "Encode" button.
  4. Your encoded Base64 text will appear in the output field.
  5. Use the "Copy to clipboard" button to copy the result.

Decoding Base64 to Text

  1. Select the "Decode from Base64" option.
  2. Paste your Base64 text in the input field.
  3. Click the "Decode" button.
  4. The decoded text will appear in the output field.

This tool works entirely in your browser - your data never leaves your computer or gets sent to a server.

About Base64 Encoding

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format by translating it into a radix-64 representation. It's commonly used when there's a need to encode binary data that needs to be stored and transferred over media that are designed to deal with textual data.

Common use cases for Base64 encoding include:

  • Embedding image data directly in HTML or CSS
  • Sending binary data via email
  • Storing complex data in JSON
  • Encoding binary data to be included in URLs