Back to home
Text
Slug Generator
Create URL-friendly slugs from text
Runs locally in your browser
Input
Output
—
How it works
Turns titles and phrases into URL-friendly slugs: lowercase words separated by hyphens, with unsafe characters removed—ideal for blog permalinks and file names.
Who it's for: Bloggers, SEO specialists, and developers generating permalinks and anchor IDs
Lowercases text and replaces spaces with hyphens.
Strips punctuation and characters that are invalid in URLs.
Produces compact strings suitable for paths like /blog/my-first-post.
How to use
- Enter a headline or phrase in the Input field (e.g., My First Post!).
- Review the generated slug in the Result panel (e.g., my-first-post).
- Adjust the source title if the slug omits words you need for SEO.
- Click Copy and use in your CMS permalink, GitHub filename, or route param.
Good to know
- Non-Latin characters may be removed unless your CMS transliterates—check output before publishing.
- Duplicate hyphens and trailing hyphens are typically collapsed or trimmed—preview before save.
- Changing a slug after publish breaks old links—set redirects when updating.
FAQ
- How is this different from lowercase?
- Slugify also removes punctuation, replaces spaces with hyphens, and drops characters that are not URL-safe—not just case conversion.