Skip to main content

Encr_EncodeBase64 (function reference)

By April 20, 2023April 25th, 2023Online Help, Troi Encryptor Plug-in
Troi Encryptor Plug-in for FileMaker Pro


Encodes a text to Base64 encoding. The result can be sent safely over internet without any characters being changed. This function formats the output so that it is better readable for email.

SyntaxFunction badge

Encr_EncodeBase64 ( switches ; text )


switches reserved for future use, leave empty or set to "-Unused"
text text to encode

Returned Result

Data type returned



The result will be formatted in base64.

Originated in

Troi Encryptor Plug-in 2.0


FileMaker Pro 16 to FileMaker Pro 2023


You can decode it with: “Encr_DecodeBase64”.
base64 can be about 4/3 as big as the original.

From Wikipedia, the free encyclopedia:
…base64 is a data encoding scheme whereby binary-encoded data is converted to printable ASCII characters. It is defined as a MIME content transfer encoding for use in internet e-mail. The only characters used are the upper- and lower-case Roman alphabet characters (A-Z, a-z), the numerals (0-9), and the “+” and “/” symbols, with the “=” symbol as a special suffix code. More information on Wikipedia here.


Set Field [ result ; Encr_EncodeBase64 ( "-Unused" ; "Here is a bit of example text. 
				• Don’t forget to have fun, Günther and Børg!" ) ]

gives this result:


Used in example file


Related functionFunction badge


Related topics

Troi Encryptor Plug-in online help (overview)

Online Help Page for Troi Encryptor Plug-in for 16 to 2023 –> Encr_EncodeBase64 (encrp4262) 2023-0425 15:50:19