Base64 Encoder / Decoder

Convert text to Base64 and Base64 back to text in one click. Encoding is Unicode-safe, so emoji and non-English text work correctly — and invalid Base64 gets a clear error message instead of silent garbage.

Your result will appear here

Result

Base64 turns any text into plain ASCII letters, digits, + and / — handy for embedding data in URLs, JSON and config files.

How to use

  1. Type or paste your text (to encode) or Base64 string (to decode).
  2. Click Encode to Base64 or Decode from Base64.
  3. Copy the result and paste it wherever you need it.

Frequently asked questions

What is Base64?

Base64 is a way of representing any data — including text with emoji or other languages — using only 64 safe ASCII characters (A–Z, a–z, 0–9, + and /). It is used to embed binary data in text formats like JSON, email and URLs.

Is Base64 encryption?

No. Base64 is only an encoding, not encryption — anyone can decode it instantly. Never use it to hide passwords or secrets.

Why does decoding fail sometimes?

Valid Base64 has a length that is a multiple of 4 and only uses the 64 Base64 characters plus up to two = padding characters at the end. If your input breaks those rules, this tool tells you instead of guessing.

Does my text leave my device?

No. Encoding and decoding run entirely in your browser. Nothing is sent to a server.

Related tools