<!--- Create a string value. ---> <cfset strValue = "Hey there cutie patootie." /> <!--- Convert to base 64. ---> <cfset strBase64Value = ToBase64( strValue ) /> <!--- To convert the base 64 value back to string, simply convert the it a binary representation and then back into to a string. ---> <cfset strNewValue = ToString( ToBinary( strBase64Value ) ) /> <!--- Output test data. ---> <p> <cfoutput> Base 64: #strBase64Value#<br /> Value: #strNewValue# </cfoutput> </p>