Base64 Encoder & Decoder

Use this tool to easily encode and decode text to and from Base64 format. Base64 is a common encoding scheme for representing binary data as text.

How to Use

  1. Enter the text you want to encode or decode in the input field.
  2. Select "Encode" or "Decode" from the dropdown menu.
  3. Click the "Convert" button to see the result.
  4. Optionally, click "Copy to Clipboard" to copy the result.
  5. Use the "Clear" button to reset the input and output fields.

Encode/Decode Text

Result

What is Base64 Encoding/Decoding?

Base64 is a binary-to-text encoding scheme that represents binary data (like images, audio, or other files) in an ASCII string format. This is useful for transmitting binary data over systems that only support text, like email or web forms. Base64 encoding uses a set of 64 characters (uppercase and lowercase letters, numbers, and two symbols) to represent the binary data.

Why Use Base64?

  • Transferring Binary Data: Send binary data through text-only channels (email, etc.).
  • Embedding Data in Text: Include binary data within text-based formats like HTML or configuration files.
  • Data Storage: Store binary data in databases designed for text storage.

Examples

  • Encoding: Input: "Hello" Output: (Encoded Base64 string)
  • Decoding: Input: (Encoded Base64 string) Output: "Hello"