64

Base64 Encode and Decode Online

Encode text to Base64 or decode Base64 back to readable text online.

Processed locally in your browser unless the page says otherwise.

Base64 encode, Base64 decode, and Base64 to text

This Base64 tool encodes readable text into Base64 and decodes Base64 back to text. It matches common searches such as Base64 encode, Base64 decode, Base64 to text, and text to Base64.

Base64 is useful for APIs, data transport, configuration values, and debugging. It is not encryption, so decoded content should not be treated as protected.

Formula or logic

  • Encode: UTF-8 text bytes → Base64 string
  • Decode: Base64 string → UTF-8 text
  • Base64 commonly uses A-Z, a-z, 0-9, +, /, and = padding

Example

For example, encoding hello gives aGVsbG8=. Decoding aGVsbG8= returns hello.

Common questions

Is Base64 encryption?

No. Base64 is an encoding format, not encryption.

Why does Base64 decoding fail?

The input may be incomplete, have invalid characters, or include unwanted spaces.

Can it handle non-English text?

Yes. The tool handles UTF-8 text, including Chinese and other languages.

Related tools