The Slug Generator converts any text into a clean, URL-friendly slug: lowercase letters, hyphens instead of spaces, and special characters removed. Perfect for blog post URLs, product page paths, category slugs, and filenames.
Good slugs are short, descriptive, readable, and contain only letters, numbers, and hyphens. This tool enforces all those conventions automatically.
Accented characters like é, ñ, ü, and ç are converted to their ASCII equivalents (e, n, u, c) so slugs remain compatible with all URLs and file systems.
Everything runs locally in your browser. No account or sign-up required.
Enter or paste your title or text.
The URL slug is generated instantly below.
Copy and paste the slug into your CMS, URL field, or filename.
Both tools can produce hyphenated, lowercase text, but the Slug Generator does more work specifically for URLs: it strips punctuation and symbols, transliterates accented characters to ASCII, and collapses multiple spaces or hyphens — all the cleanup a real URL slug needs.
Case Converter's kebab-case mode is a more general-purpose case transformation, useful for CSS class names or config keys, but it doesn't specifically handle URL-unsafe characters, emoji, or accents the way a dedicated slug generator does. For anything that needs to become part of a URL, use the Slug Generator.
URL slugs should contain only lowercase letters (a–z), digits (0–9), and hyphens (-). Spaces, special characters, accents, punctuation, and symbols must be removed or replaced. Underscores are technically valid but hyphens are preferred by Google and most CMSes.
Yes — accented and special characters are transliterated to their closest ASCII equivalents rather than dropped. So 'café' becomes 'cafe', 'señor' becomes 'senor', and 'über' becomes 'uber'. This produces readable slugs for non-English titles.
Yes — toggle the separator option from hyphens to underscores. Underscores are common in Python package names, some database naming conventions, and certain CMS configurations. For SEO-optimised blog URLs, hyphens are generally recommended as Google treats them as word separators.
Google's search algorithm reads hyphens as word separators, so a slug like 'best-running-shoes' is recognised as three distinct keywords. A URL like 'bestrunningshoes' (no separator) is treated as one unrecognised string. Hyphens directly improve keyword matching in URL-based ranking signals.
No — the tool converts your full input to slug format without removing any words. If you want a shorter, cleaner slug by removing articles and prepositions (a, an, the, of, in, etc.), edit the title before slugifying it.
Emojis, currency symbols (€, $, £), mathematical symbols, and other non-alphabetic non-numeric characters are removed from the slug. If the symbol has clear alphabetic meaning (e.g. & → and), you can manually replace it in the title before slugifying.
Yes — paste the product name and the tool produces a clean, lowercase, hyphenated slug ready to use as the product page URL path.
Yes — a generated slug is also safe to use as a filename, since it contains only lowercase letters, numbers, and hyphens, avoiding characters that cause issues on different operating systems.
Yes — slugify your heading text to get an ID like getting-started that you can use as an HTML id attribute and link to with #getting-started.