Skip to content

String to Base64#

The String to Base64 converter receives a string and returns its base64-encoded representation. The encoding uses UTF-8 bytes.

Settings#

This converter has no settings.

Examples#

Input Output
"recipeString" "cmVjaXBlU3RyaW5n"
"hello" "aGVsbG8="
"" ""

Table 1: Examples

Settings panel for the String to Base64 converter.

Invalid Input#

This converter fails when the input is null or undefined. For what happens to the rest of the chain when a converter fails (the error is logged, reported for monitoring, and the next task does not run), see Converters.

Input Result
null Fails: the input cannot be encoded.
undefined Fails: the input cannot be encoded.

Table 2: Invalid Input