--- url: https://developer.youcan.shop/themes/filters/strings/slug.md --- # Slug Changes a string to a URL slug. The result is lowercase, and hyphens separate the words. ## Example ```liquid {{ 'Summer Sale 2026!' | slug }} ``` ::: tip Output ```html summer-sale-2026 ``` :::