Base64 Encode / Decode

Encode or decode text using a standard reversible encoding.

Reset

What is this calculator?

Encode or decode text using a standard reversible encoding.

What can you use it for?

Use it for practical planning, conversions, measurement or checking the result described here. Encode or decode text using a standard reversible encoding.

How to use it

  1. Enter text.
  2. Enter action.
  3. Select Calculate (or Generate for random tools).
  4. Read the answer and any additional results below the form. Check the units and the limits of the method.

Formula and method

UTF-8 text bytes ↔ Base64 representation

Decoding requires Base64 that represents valid UTF-8 text. Encoding does not protect confidentiality.

Worked example

Text: Hello world, Action: Encode. The result is SGVsbG8gd29ybGQ= (converted text).

Assumptions and limits

Encoding is not encryption. Do not enter sensitive secrets.

Frequently asked questions

What inputs does the Base64 Encode / Decode need?

Use text, action. Read the answer and any additional results below the form. Check the units and the limits of the method.

What assumptions apply to the Base64 Encode / Decode?

Encoding is not encryption. Do not enter sensitive secrets.

A little help with the numbers

Smart input · AI explanations when connected