Skip to main content

Base64 Encode / Decode

Convert text to and from Base64, with full UTF-8 and URL-safe support.

Base64 encoder / decoder

Base64 turns arbitrary data into 64 printable characters, commonly used to carry binary or special content where only text is allowed — email, JSON, data URIs, JWT. This online Base64 tool fully supports UTF-8, handles emoji and non-Latin text correctly, and offers a URL-safe mode.

How to use

  1. To encode: paste plain text and click Encode.
  2. To decode: paste a Base64 string and click Decode to recover the original.
  3. Tick URL-safe before encoding if the result goes into a URL or filename.

Common use cases

  • Embed a small image as a data URI in HTML/CSS.
  • Inspect the contents of a JWT.
  • Pass binary data through an API.
  • Put special characters safely into a URL parameter.

Frequently Asked Questions

Is Base64 encryption?

No. Base64 is only an encoding — anyone can decode it back instantly, so it cannot protect secrets. Use real encryption when you need confidentiality.

Does it support non-ASCII text?

Yes. The tool uses UTF-8, so Chinese, Japanese, emoji and other characters encode and decode correctly without garbling.

What is URL-safe mode?

It replaces + with -, / with _, and drops the trailing = so the result can be placed safely in URLs or filenames.

Is my data uploaded?

No. Encoding and decoding happen locally in your browser; your input is never sent to a server.