Skip to main content

base64Encode

The base64Encode operator takes an ASCII string and converts it to a base64 string.

Syntax

base64Encode("<string>") as <field>
base64Encode(<string_field>) as <field>

Example

| base64Encode("hello world") as base64

Returns base64 with a value of aGVsbG8gd29ybGQ=.