Slug Generator
Turn titles and text into clean, URL-friendly slugs.
your-slug-will-appear-hereAbout the Slug Generator
A URL slug is the readable part of a web address, like the end of /blog/my-post-title. Good slugs are lowercase, use hyphens and contain no special characters.
Paste a title and this tool removes accents, strips punctuation, replaces spaces with your chosen separator and trims the result into a clean, SEO-friendly slug.
It all runs in your browser, so nothing you type is uploaded.
Key features
- Converts any title into a clean slug
- Hyphen or underscore separator
- Removes accents and special characters
- Optional lowercase output
How to use
- 1Type or paste your title or text.
- 2Choose a separator and case option.
- 3Copy the generated slug.
Examples
10 Best Tools for Developers!10-best-tools-for-developersSpaces become hyphens, letters go lowercase and symbols are dropped.
Hello World hello-worldSurrounding spaces are removed and the result is lowercased.
Frequently asked questions
- Why use hyphens instead of underscores in URLs?
- Search engines treat hyphens as word separators, so hyphenated slugs are generally better for SEO. Underscores are still supported if you prefer them.
- What does the slug generator remove?
- Spaces and punctuation are replaced with your chosen separator and accents are simplified, leaving clean, URL-safe letters, numbers and separators.
- Can I choose the separator and case?
- Yes. You can switch between hyphen and underscore separators and choose whether the slug is lowercased.
Continue your workflow
Open a related tool to prepare your files or refine the finished result.
- GeneratorsGit Branch Name Generator
Convert plain text into a valid, clean Git branch name.
Open tool - Text ToolsCase Converter
Convert text to UPPERCASE, lowercase, Title Case or Sentence case.
Open tool - Featured toolDeveloper ToolsURL Encoder / Decoder
Percent-encode or decode URLs and query strings.
Open tool
