Base64 Encoder and Decoder

What you get

How it works

  1. Paste the text to encode, or the Base64 text to decode.
  2. Press the matching button.
  3. Get the result, ready to copy.

Worth knowing

Why UTF-8 bytes matter

The browser's old Base64 function works directly on characters and throws on any character above a certain point — meaning it cannot encode ă, ș or any Cyrillic letter at all. This tool turns the text into bytes first, following UTF-8, and only then encodes them — which is what Base64 actually expects.

What a decoding error means

Not every string of letters and digits is valid Base64 — the length and the alphabet both matter. When the text entered does not follow the rules, the page says plainly that it cannot decode it, instead of showing a broken, unreadable result as if it were correct.

Frequently asked questions

Why do other Base64 tools break my diacritics?

Because many are built directly on the browser's old function, which only understands a limited set of characters. Here the text goes through UTF-8 bytes first, which can represent any letter.

What happens if the text to decode is not valid?

The page says plainly that it is not valid Base64, instead of showing broken characters as if they were the correct result.

Does my text reach the server?

Yes — it is sent to be encoded or decoded, but it is not kept and not sent anywhere else.

Can I encode an emoji or Cyrillic text?

Yes. The text goes through UTF-8 bytes before encoding, so any letter or symbol, including an emoji, is represented correctly.

Related tools