← Back

Base64 Encoder/Decoder

Encode text to Base64 or decode Base64 back to text, both ways

Encode or Decode Base64 Instantly

Type or paste text and encode it to Base64, or paste a Base64 string and decode it back to readable text. If the Base64 input is invalid, you'll see a clear error message instead of a silent failure. Everything runs in your browser — nothing is sent to a server.

🧩 Great For

  • Encoding a string for embedding in a data URL or config file
  • Decoding a Base64 token or payload to see what it actually contains
  • Quickly checking whether a piece of text is valid Base64
  • Converting between plain text and Base64 while debugging an API

📋 How to Use

  1. Type or paste text into the left box, then press "Encode →"
  2. Or paste a Base64 string into the right box, then press "← Decode"
  3. If the Base64 is invalid, an error message explains it
  4. Press "Copy result" to copy the output

Frequently Asked Questions

What happens if my Base64 input is invalid?

An error message appears explaining that the input could not be decoded — no output is shown until the Base64 is valid.

Does this support Unicode text, like emoji or Korean?

Yes. Text is UTF-8 encoded before being converted to Base64, so non-ASCII characters round-trip correctly.

Is my text sent anywhere?

No. Encoding and decoding happen entirely in your browser — nothing is saved or sent to a server.