Base64 Encode

Encode text or data to Base64 instantly, right in your browser.

Convert plain text into Base64 — the text-safe encoding used in data URLs, email attachments (MIME), HTTP basic-auth headers, and many API tokens. Base64 packs any content into a compact string of letters, digits, and a couple of symbols that can travel safely through systems built only for plain text. Full Unicode is supported here, so emoji, accents, and non-Latin scripts encode correctly via UTF-8.

How to use the Base64 Encode

  1. Type or paste the text you want to encode.
  2. The Base64 output appears instantly below.
  3. Copy the encoded string with the Copy button.

Frequently asked questions

What is Base64 used for?

It packs binary or text data into a plain-ASCII string that survives systems which only handle text, such as URLs, JSON and email.

Does it handle emoji and accents?

Yes. Input is UTF-8 encoded first, so any Unicode character is preserved.

Is Base64 the same as encryption?

No. Base64 is reversible encoding, not encryption — anyone can decode it, so never rely on it to hide secrets.

Why is the output longer than my input?

Base64 represents every 3 bytes as 4 characters, so encoded text is about a third larger. That is expected.