Skip to content
FiftyCalc Free calculators for all 50 states

Base64 Encode

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

Encode text to Base64 (RFC 4648), with UTF-8 support.

Result

Sample figures

Result—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Base64 Encode

Text: type or paste your values. Prefilled example: Hello, world!.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Text: type or paste your values.
  2. Read the result: Result.

How this calculator works

The text is encoded in UTF-8, then each group of 3 bytes becomes 4 characters of the Base64 alphabet (A-Z, a-z, 0-9, + and /), with = padding (RFC 4648).

Worked example

TextHello, world!
ResultSGVsbG8sIHdvcmxkIQ==

Frequently asked questions

Is Base64 encryption?

No. Anyone can decode it; it only makes binary data safe to send as text.

Related calculators