v10.24.0
Decodes a Base64-formatted string back to its original text.
Input that isn’t valid Base64 throws an error. Unlike Shopify/Liquid, padding is optional and whitespace is ignored.
Input
{{ "b25lIHR3byB0aHJlZQ==" | base64_decode }}
Output
one two three
Input
{{ "SGVsbG8sIFdvcmxkISBAIyQl" | base64_decode }}
Output
Hello, World! @#$%