URL Slug Generator
Convert text and titles into clean, URL-friendly slugs with customizable separators and case formatting.
Run tool
This online slug generator transforms any article headline, product title, or descriptive phrase into a clean, URL-ready text string. When you paste text into the input field, the utility normalizes accented Latin characters into standard ASCII letters, making entries like foreign words or diacritics straightforward to handle. It replaces spaces, symbols, and punctuation marks with your chosen separator character. You can pick between a standard hyphen, an underscore, or a period depending on your URL structure and routing preferences. The generator also collapses consecutive punctuation marks into a single separator and removes leading or trailing separators automatically to prevent awkward formatting. By default, the tool converts the final output to lowercase, which matches common web routing standards, though you can keep original letter casing whenever necessary. The result area provides the formatted text string along with the character length and a preview of the initial input.
Instructions
- Enter or paste your text into the Text field.
- Select your preferred delimiter from the Separator dropdown: hyphen, underscore, or dot.
- Keep Lowercase checked to convert all characters to small letters, or uncheck it to preserve existing casing.
- Click Run to generate the formatted URL slug.
- Copy the converted slug from the output panel for use in your web address or CMS.
Examples
- Input text 'Café Résumé & Naïve Tips' with hyphen separator and lowercase enabled produces 'cafe-resume-naive-tips'.
- Input text 'Product Release 2.0 (Final Version!)' with underscore separator and lowercase enabled produces 'product_release_2_0_final_version'.
FAQ
How does the tool handle special characters and accents?
Accented characters are normalized to ASCII equivalents (such as 'é' becoming 'e'), while punctuation and non-alphanumeric symbols are replaced by the selected separator.
What happens if I enter only symbols or an empty string?
Entering only special characters or leaving the text field blank produces an empty slug.
Can I generate slugs that retain capital letters?
Yes. Simply uncheck the Lowercase option to keep original uppercase letters in the resulting slug.
Which separators are available?
You can choose between a hyphen (-), an underscore (_), or a dot (.) from the dropdown menu.