Base64 Encoder

Encode any text, including Unicode and emoji, as Base64.

Loading tool…

What the Base64 Encoder does

The encoder converts your text to UTF-8 bytes and then to Base64, so characters outside ASCII such as accents, Chinese characters and emoji encode correctly. The built-in btoa function alone fails on these.

Options produce the URL-safe alphabet used in JWTs and URLs and remove = padding.

How to use it

  1. Type or paste text.
  2. Choose URL-safe or padding options.
  3. Copy the Base64 output.

Practical examples

  • “Hello” becomes SGVsbG8=.
  • “€” becomes 4oKs.

Features

  • UTF-8 safe
  • URL-safe option
  • Optional padding
  • Live output

Limitations

  • Encodes text only; encoding files or images is not supported here.
  • Base64 is an encoding, not encryption. It does not protect secrets.

Privacy

This tool runs entirely in your browser. What you type is not sent to our servers and is discarded when you close or reload the page.

Frequently asked questions

Is Base64 encryption?

No. Anyone can decode it, so never use it to hide sensitive information.