--- url: https://developer.youcan.shop/themes/filters/strings/base64Encode.md --- # Base64 Encode Encodes a string to Base64. ## Example ```liquid {{ 'YouCan' | base64_encode }} ``` ::: tip Output ```html WW91Q2Fu ``` :::