Slug Generator
Turn any string β blog titles, product names, headlines β into a clean, URL-safe slug. Handles Unicode, diacritics, punctuation, and stop words.
About Slug Generator
A URL slug is the human-readable part of a URL that identifies a specific page β the 'my-blog-post' at the end of example.com/blog/my-blog-post. Good slugs are lowercase, hyphen-separated, ASCII-only, and describe the page content. Bad slugs are auto-generated GUIDs, uppercase mixes, or worse, non-ASCII characters that older systems mangle. This slug generator takes any input β blog title, product name, article headline β and produces a clean, URL-safe slug in one paste. It handles diacritics (cafΓ© becomes cafe), strips symbols, and normalizes whitespace so the output is safe to drop into any CMS, static site generator, or database.
The tool covers the practical variations teams actually need: separator choice (hyphen for SEO, underscore for internal identifiers, dot for versioned resources), optional stop-word stripping (drops 'the', 'and', 'of' for punchier keyword-focused slugs), lowercase toggle for CMSes that respect original casing, and a max-length cap so your slugs never exceed database column limits. Useful for bloggers naming new posts, e-commerce teams generating product URLs from titles, developers building content workflows, and anyone migrating content between systems where URL formats need to be consistent.
How to Use
Paste or type your text into the input box.
Choose your separator: hyphen (URL-friendly), underscore (developer-friendly), or dot.
Toggle 'Lowercase' for standard URL casing, or off to preserve case.
Enable 'Strip stop words' to drop filler words (the, of, and) for shorter, keyword-focused slugs.
Set a max length if your CMS has a slug limit.
Click Copy to copy the slug to your clipboard.
Frequently Asked Questions
What is a URL slug?
A slug is the human-readable part of a URL that identifies a specific page β the 'my-blog-post' in example.com/blog/my-blog-post. Good slugs are lowercase, hyphen-separated, ASCII-only, and describe the page contents.
Why does the slug generator strip accents like Γ©, Γ±, ΓΌ?
Older browsers and CMS systems sometimes mangle non-ASCII URLs. Stripping diacritics (cafΓ© β cafe) produces a universally-safe URL. If you specifically want to preserve them, edit the output manually after generating.
Should I strip stop words from my slugs?
For SEO, shorter keyword-focused slugs tend to rank marginally better because they concentrate the topical signal. 'best-javascript-frameworks' beats 'the-best-of-the-javascript-frameworks'. Enable the toggle if you want that behavior β it strips common English filler words.
Why is my slug empty?
If the input contains only characters that get stripped (punctuation, symbols, emoji), the slug ends up empty. Add at least one letter, number, or non-punctuation character to the input.
What separator should I use β hyphen, underscore, or dot?
Hyphens are the standard for URLs β Google explicitly recommends them. Underscores work but are treated by some search engines as word connectors rather than separators. Dots are rare and usually reserved for versioned resources. Default to hyphen unless your platform requires something else.