Slug Generator
Turn any text into a clean, URL-friendly slug.
How to use the slug generator
- Type or paste your text.
- The URL-friendly slug is generated instantly below.
- Press Copy slug to copy it to your clipboard.
Paste a title or phrase and instantly get a clean, lowercase, hyphen-separated URL slug. Good for blog post URLs, file names, or anywhere spaces and special characters aren't allowed.
What makes a good URL slug
A slug is the readable part of a URL that identifies a page, like 'how-to-make-cold-brew' in example.com/blog/how-to-make-cold-brew. Good slugs are short, lowercase, use hyphens between words, and contain the main keywords of the page.
Search engines and people both read slugs. A clear slug tells them what the page is about before they click, while long slugs full of numbers or random characters look less trustworthy. Many sites also drop filler words like 'a', 'the' and 'and'.
Frequently asked questions
What does this tool do to special characters and accents?
Accented letters are converted to their plain equivalent (e.g. é becomes e), and anything that isn't a letter or number is replaced with a hyphen.
Is the slug always lowercase?
Yes, slugs are conventionally lowercase for consistency and to avoid case-sensitivity issues in URLs.
Should I use hyphens or underscores in URLs?
Hyphens. Google treats hyphens as word separators, while underscores join words together.
Should I change the slug of a page that's already published?
Only if needed, because old links will break. If you do, set up a 301 redirect from the old URL to the new one.