Convert text to a URL slug
Turn any text into a clean, URL-safe slug: lowercase, hyphenated, no special characters.
Works with headlines, product names, or any short piece of text.
Hyphens are the standard for URLs; underscores work for filenames and some CMS fields.
Accents are stripped, everything is lowercased, and special characters become separators automatically.
Frequently asked
What exactly is a "slug"?
A slug is the URL-friendly version of a title. Lowercase, no spaces or special characters, usually separated by hyphens. For example, "10 Best Coffee Shops!" becomes "10-best-coffee-shops".
How are accented characters handled?
Accented letters are converted to their closest plain ASCII equivalent ("café" becomes "cafe") instead of being dropped or turned into a separator.
What happens to punctuation and multiple spaces?
Any run of characters that isn't a letter or number (spaces, punctuation, multiple dashes, etc.) collapses into a single separator, and any separators at the very start or end are removed.
Should I use a hyphen or an underscore?
Hyphens are the near-universal standard for URL slugs and are treated better by search engines. Underscores are more common for filenames or certain database keys. Use the separator selector to switch.