--- url: https://developer.youcan.shop/themes/filters/strings/urlEncode.md --- # Url Encode Encodes a string for use in a URL query. Spaces become `+`, and other special characters become percent codes. ## Example ```liquid {{ 'jane@example.com tag' | url_encode }} ``` ::: tip Output ```html jane%40example.com+tag ``` :::