Base64 Text Encoder / Decoder

Result

How to Use

Encode text to Base64

  1. Type or paste plain text into the left input box.
  2. Click Encode to convert it to Base64 using UTF-8 encoding.
  3. The Base64 result will appear on the right. Use the 📋 button to copy it.

Decode Base64 to text

  1. Paste a valid Base64 string into the left input box.
  2. Click Decode to convert it back to readable text.
  3. If the Base64 string is invalid, an error message will be shown.

Technical notes

Text conversion to and from Base64 is done using standard browser functions such as btoa and atob, combined with UTF-8 encoding logic to support non-ASCII characters. Base64 is not a form of encryption; it is a binary-to-text encoding scheme and should not be used as a security mechanism.

This tool is intended for general text conversion. Do not use it as a security mechanism. All operations are performed locally in your browser.