--- url: https://developer.youcan.shop/themes/filters/strings/base64UrlSafeEncode.md --- # Base64 Url Safe Encode Encodes a string to Base64, then encodes the result for use in a URL. ## Example ```liquid {{ 'a?b>' | base64_url_safe_encode }} ``` ::: tip Output ```html YT9iPg%3D%3D ``` :::