Konnektr Logo

base64Decode

Decodes a Base64 encoded string.

base64Decode

Decodes a Base64 encoded string.

Type: transform

Parameters

  • input (unknown): The Base64 encoded string to decode.

Returns

Type: string

The decoded string, or empty string if input is not a string.

Examples

base64Decode("aGVsbG8=") // "hello"
"aGVsbG8gd29ybGQ="|base64Decode // "hello world"
base64Decode("dGVzdA==") // "test"

On this page