Encode a short UTF-8 message
Scenario: The text Hello is encoded.
Result: The Base64 output is SGVsbG8=.
The UTF-8 bytes for Hello are grouped into six-bit values and mapped to the Base64 alphabet, with padding added to complete the final group.
💻 Developer Tools
Encode or decode UTF-8 text with standard Base64 or URL-safe Base64URL.
Convert UTF-8 text to standard Base64 or unpadded Base64URL, or decode the selected representation back to text locally.
Encode UTF-8 text as standard Base64 or unpadded Base64URL, and decode either selected form back to text. Base64 is a reversible binary-to-text representation, not encryption or password protection.
Input stays in the browser and is not sent to Fieldlet. Do not treat a formatting, encoding, test, or generated value as a substitute for security review.
Last reviewed for accuracy:
Scenario: The text Hello is encoded.
Result: The Base64 output is SGVsbG8=.
The UTF-8 bytes for Hello are grouped into six-bit values and mapped to the Base64 alphabet, with padding added to complete the final group.
Text is converted to UTF-8 bytes before encoding. Standard Base64 uses plus, slash, and optional equals-sign padding; Base64URL substitutes hyphen and underscore and this interface omits padding when encoding. Decoding normalizes the selected alphabet before interpreting bytes as UTF-8.
Standard Base64 is common in files, MIME content, and data encodings. Base64URL is designed for URL and filename contexts by replacing plus and slash; protocols such as token formats can also prescribe whether padding is present.
These primary references document standards or definitions used in the explanation above.
No. Base64 is an encoding format and provides no confidentiality or security by itself.
Yes. Fieldlet converts the text to UTF-8 bytes before Base64 encoding and reverses that process when decoding valid UTF-8 content.
UTF-8 text encoded as standard Base64