Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 instantly with this free online tool.

Base64 Encoder / Decoder

Quickly encode text to Base64 or decode Base64 back to plain text. All processing is done securely in your browser.

0 characters
0 characters

What is Base64 encoding?

Base64 is a method for encoding binary data as plain text using only ASCII characters. It is commonly used to safely transmit data over media that are designed to handle text, such as email or URLs.

How to encode text to Base64

To encode text to Base64, simply enter your text in the input box and click Encode to Base64. The encoded result will appear in the output box.

How to decode Base64

To decode a Base64 string, paste it into the input box and click Decode Base64. If the input is valid, the decoded text will be shown in the output box.

Common use cases of Base64

  • Embedding images or files in HTML, CSS, or JSON
  • Sending binary data in email or web forms
  • Storing data in text-based formats
  • Encoding credentials for HTTP Basic Authentication

Examples of Base64 encoding

  • helloaGVsbG8=
  • Base64QmFzZTY0
  • 12345MTIzNDU=