ToBase64

circle-info

The ToBase64() function encodes a text or a file to base64arrow-up-right encoded text.

This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.

circle-exclamation
circle-check

Syntax

chevron-rightToBase64(text)hashtag

ToBase64("SomeText or Other 1234") => "U29tZVRleHQgb3IgT3RoZXIgMTIzNA=="

chevron-rightToBase64(file)hashtag

ToBase64([File Field]) => "U29t... all-base64 chars to represent file ... IgT3RoZXI=="

Parameters

Name
Type
Required
Description

text

text

☑️

a text

file

file

☑️

a file

Last updated

Was this helpful?