Base64 Encoder & Decoder

Convert plain text to Base64 or decode a Base64 string back to readable text.

Use the Base64 Encoder & Decoder

About the Base64 Encoder & Decoder

Base64 represents binary or text data using only letters, numbers, plus and slash characters, which makes it safe to embed in JSON, URLs, emails and HTML. Developers meet it in data URIs, API tokens and basic authentication headers.

This tool handles UTF-8 correctly, so emoji and accented characters encode and decode without corruption. Remember that Base64 is an encoding, not encryption: anyone can decode it, so never use it to protect secrets.

How to use this tool

  1. Type or paste your text into the input box.
  2. Click Encode to convert it to Base64, or Decode to convert it back.
  3. Copy the result from the output box.

Frequently asked questions

Is Base64 encryption?

No. It is a reversible encoding and provides no security.

Why does decoding fail?

The input is probably not valid Base64, or it has extra characters or missing padding.

Does it support emoji and non-English text?

Yes. Text is converted using UTF-8 before encoding.