Developer tool

Base64 Encoder

Encode or decode UTF-8 text with standard and URL-safe Base64.

Practical guide

How to use Base64 Encoder

Base64 Encoder converts UTF-8 text to Base64 and back. It is useful for inspecting encoded configuration values, small data fields, and URL-safe tokens where the content is encoding—not encryption.

Step by step

  1. Enter plain text and encode it, or paste Base64 and decode it.
  2. Enable URL-safe mode when the value uses - and _ instead of + and /.
  3. Review the decoded text before using it in a configuration or request.

Example

InputHello, 77 Toolkit!
ResultSGVsbG8sIDc3IFRvb2xraXQh

How it works

The browser first converts text to UTF-8 bytes, then maps those bytes to the Base64 alphabet. URL-safe mode substitutes characters that have special meaning in URLs and can omit padding.

Important limitations

  • Base64 does not hide or secure information.
  • The text decoder expects valid UTF-8 and may reject arbitrary binary data.

Frequently asked questions

Is Base64 encryption?

No. Anyone can decode it without a password or key.

Why does encoded text become longer?

Base64 represents every three bytes with four characters, so size normally increases by roughly one third.