Slug Generator
Turn any title into a clean, URL-safe slug as you type, right in your browser. Your text stays on your device.
Your titles are turned into slugs locally in your browser and are never uploaded to a server.
Renaming variables too? Try the Case Converter.
About Slug Generator
This slug generator turns a page title, heading, or product name into a clean, URL-safe slug as you type. As a slug generator it lowercases your text, transliterates accents to ASCII (so "Crème Brûlée" becomes "creme-brulee"), drops punctuation and emoji, collapses repeated separators, and trims stray dashes. Pick a hyphen or underscore separator, keep or remove common English stop words, turn "&" into "and", and cap the length so it truncates on a word boundary. Paste several titles, one per line, and it slugifies the whole list at once for permalinks, blog URLs, file names, and CSS or component identifiers. Built for developers, writers, and SEO teams, it runs entirely in your browser, so the titles you paste stay on your device.
Features
- Live slug as you type, with one-click copy and download as slugs.txt
- Choose a hyphen (-) or underscore (_) word separator
- Transliterates accents and diacritics to ASCII (Crème Brûlée → creme-brulee)
- Optional lowercasing, with a switch to preserve the original case
- Removes punctuation, symbols, and emoji while keeping letters and numbers
- Optional English stop-word removal and "&" to "and" expansion
- Truncates to a maximum length at a word boundary, never mid-word
- Batch mode: paste many titles, one per line, to get one slug per line
How to use the Slug Generator
- Type or paste a title into the input box.
- Pick your separator and toggle lowercase, accent stripping, stop-word removal, and max length.
- Read the generated slug in the output panel as it updates live.
- Paste multiple lines to slugify a whole list at once.
- Click Copy to grab the slug, or download the batch as slugs.txt.
Example
Input
Crème Brûlée: 10 Best Recipes & Tips!
Output
creme-brulee-10-best-recipes-and-tips
Accents become ASCII, "&" becomes "and", punctuation is dropped, and numbers are kept.
Common errors & troubleshooting
- Accented characters disappear instead of turning into ASCII letters. — Keep the "Strip accents" option on; it transliterates characters like é, ü, and ñ to their ASCII equivalents before building the slug.
- The slug is cut off in the middle of a word. — Max length truncates on a word boundary, so a long single word with no spaces is hard-cut. Raise the limit or add a separator in the source title.
- Turning on stop-word removal returns the same slug. — If every word is a stop word the original slug is kept so you never get an empty result; remove only some words by editing the title.
- Multiple titles merge into a single slug. — Put each title on its own line. Batch mode triggers on line breaks and produces one slug per line.
Frequently asked questions
- What is a URL slug and why generate one?
- A slug is the human-readable part of a URL, like "my-first-post" in /blog/my-first-post. A clean slug makes links shareable and helps SEO, and this generator builds one from any title in your browser.
- How does the slug generator handle accented characters?
- With "Strip accents" enabled it normalizes the text and transliterates diacritics to ASCII, so "Crème Brûlée" becomes "creme-brulee" and "Señor" becomes "senor" rather than dropping the letters.
- Can it create slugs from a list of titles at once?
- Yes. Paste one title per line and the tool switches to batch mode, returning one slug per line that you can copy or download as slugs.txt together.
- Can I use an underscore instead of a hyphen?
- Yes. Switch the separator to underscore and words are joined with "_" instead of "-"; repeated separators are still collapsed and leading or trailing ones are trimmed.
- What happens to emoji, symbols, and numbers in the title?
- Letters and numbers are kept, so "Top 10" stays "top-10", while emoji and symbols are removed. Optionally "&" is expanded to the word "and" before symbols are stripped.
- Is my text uploaded when I generate a slug?
- No. The slug generator runs entirely in your browser, so the titles you paste are processed locally and never leave your device.
Related tools
All ArrayKit tools