Sometimes I have to use string utilities to convert strings from one value to an other. Often you can find these tools online, but I am happier relying on my own implementation:
String value:
Do: Html Url Xml Base64 - UTF8
Output value: