Base64 Encode / Decode

Encode UTF-8 text to standard Base64 or decode Base64 back to text.

Result
—

How it works

Base64 maps groups of up to three bytes to four characters. Keep the trailing equals signs when the last group requires padding.

Worked example

Use Direction Encode text · Text or encoded input Hi. The result is SGk=.

RFC 4648 Base64 standard

Related calculators