Slug Generator
Turn any title into a clean, URL-ready slug.
About this tool
Generate SEO-friendly slugs from any text: lowercase, hyphenated, Unicode-safe and stripped of punctuation. Great for blog posts, routes and file names.
How it works
The generator lowercases, normalises Unicode (NFKD) to strip accents, replaces non-alphanumeric runs with hyphens, and trims edges. Optional limits keep slugs concise.
How to use Slug Generator
- 1Type or paste your title (e.g. a blog post title).
- 2The slug updates live as you type.
- 3Toggle options like word count limits.
- 4Copy the slug for your CMS or routes.
Examples
"How to Write a Great Slug" → how-to-write-a-great-slug
"Café & Bakery — NYC" → cafe-bakery-nyc
" Welcome to ToolCraft! " → welcome-to-toolcraft
Pro tips
- Keep slugs short and readable — they help both users and search engines.
- The tool strips accents (é → e) but keeps letters for other scripts.
- Use it to generate consistent file names for downloads too.
Frequently asked questions
What is a slug?
The human-readable portion of a URL that identifies a page, e.g. /blog/how-to-write-a-great-slug.
Does it handle non-English text?
Yes. Accented Latin characters are transliterated to ASCII and other scripts are preserved.
Can I set a maximum length?
Yes — a word limit trims the slug while keeping it meaningful.
Advertisement
Related tools
Convert text to upper, lower, title, sentence and camelCase.
JSON Formatter
PopularPretty-print, validate and minify JSON — securely in your browser.
Encode and decode URLs, query strings and components.
