Skip to content

String Encode

Encode a UTF-8 string into various string-based formats like Base64, Hex, UTF-16, and UTF-32.

Inputs#

Port Description
Input
The UTF-8 string to encode.
Encoding
The encoding operation to apply.

Outputs#

Port Description
The resulting encoded string.

Addendum#

Encoding Operations#

This node takes a standard UTF-8 string and encodes it.

  • Printable Formats (Base64, Hex, etc.): These operations produce a human-readable ASCII string.

  • Raw Byte Formats (UTF-16, UTF-32): These operations produce a string object containing the raw encoded bytes. This output will not be human-readable and is intended to be used with the String Decode node.

ID: string-encode@v1