Reference > Functions reference > Container functions > Base64Decode
 
Base64Decode
Purpose 
Returns container content from text encoded in Base64 format.
Format 
Base64Decode(text{;fileNameWithExtension})
Parameters 
text - Base64 text to decode.
fileNameWithExtension - the filename and extension for the file created from the decoded Base64 text.
Data type returned 
container
Originated in 
FileMaker Pro 13.0
Description 
Base64 encoding does not retain the filename or extension of encoded content.
If a filename and extension are not specified in the fileNameWithExtension parameter, Base64Decode returns the container content with a generic filename and extension but does not change the content’s data format.
Examples 
Base64Decode(Products::Base64;"question.png") returns Help button when Products::Base64 is set to a string that begins with "iVBORw0KGgoAAAANSUhEUgAAAB8". The Base64 string in this example was shortened for readability.
Related topics 
Base64Encode
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas