Base64 Encoder / Decoder

Encode text to Base64 or decode from it (UTF-8 safe). All processing happens in your browser; your input is never sent to the server.

Base64 turns arbitrary bytes into plain ASCII, which is why it shows up wherever binary data has to travel through something built for text: data URIs, email attachments, JWT payloads, HTTP Basic auth headers. It is an encoding, not encryption — anyone can reverse it in a second, including this page.

How to use it

  1. Paste text or a Base64 string into the input box.
  2. Press Encode to convert text to Base64, or Decode to read it back.
  3. Decoding invalid Base64 reports an error rather than returning silent garbage.
  4. Copy the result, or send it to a paste to share it.

Frequently asked questions

Is Base64 a form of encryption?
No, and treating it as one is a real security mistake. Base64 is a reversible encoding with no key — anything encoded is readable by anyone. Never use it to hide passwords or tokens.
Why does my Base64 end in = signs?
Base64 encodes three bytes into four characters. When the input length is not a multiple of three, "=" pads the last group. One or two "=" at the end are normal; more than two means the string is malformed.
Does it work with Unicode and emoji?
Yes. The text is encoded as UTF-8 first, so Turkish characters, Cyrillic, Arabic and emoji all survive the round trip intact.
Is my input sent anywhere?
No. Encoding and decoding happen in your browser. Nothing is transmitted unless you explicitly choose to share the result as a paste.
Developer Tools