Calculator: UTF-8 Base64 encoding and decoding

Enter the labelled inputs to calculate: Encoded text; Encoded text URL; Decoded text.

Encoded text
SGVsbG8=
Encoded text URL
SGVsbG8
Decoded text
Hello

How the calculation works

UTF-8 ⇄ Base64; Base64url

Text operations use UTF-8 and run locally. Empty text is valid. Base64 decoding requires standard padding and valid UTF-8; URL decoding rejects malformed percent escapes.

Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Frequently asked questions

How is the result calculated?

UTF-8 ⇄ Base64; Base64url

What assumptions apply?

Text operations use UTF-8 and run locally. Empty text is valid. Base64 decoding requires standard padding and valid UTF-8; URL decoding rejects malformed percent escapes.

How precise are the displayed results?

Numerical results show up to ten significant digits. Rounding does not improve the accuracy of the input measurements or the model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Also try:

Back to category →