URL slug generator
ClientPaste a title, product name, or line from a spec. Get one path segment you can use in routes, file names, or anchors: lowercase, no duplicate hyphens, optional length cap, and diacritics removed when that helps English URLs.
When to use a slug vs other text tools
Marketing copy and spec titles are messy: punctuation, year suffixes, and accents. Slug helpers collapse that into a predictable segment. For full-page meta (title and description drafts) after you have a topic, the SEO meta tool complements this. For how a link will look in chat and search previews, use Open Graph preview.
ASCII only is on by default: only letters A–Z, a–z, and digits remain—good for most English site paths. If you need slugs for languages that use their own writing systems, turn it off; separators still collapse between words.
Title or phrase
?
Produces a single path segment. ASCII-only mode drops non-Latin letters (use Unicode mode for CJK, Cyrillic, and other scripts). This does not validate against a CMS’s reserved slugs.
Slug
Common use cases
- Derive a blog or docs route from a long headline before publishing in a CMS or static site generator.
- Create stable API sub-path segments from human-readable product names in mock servers or design docs.
- Normalize filenames, anchor IDs, and Git branch names to a single convention without a full rename tool.
Common mistakes to avoid
Expecting a database or CMS to accept every slug
Your platform may reserve words (e.g. admin, api) or require uniqueness. Copy the slug, then check rules there.
Losing all characters for non-English text with “ASCII only” on
CJK, Cyrillic, and similar scripts are dropped in ASCII mode—uncheck it to keep letters and numbers from those scripts.
Relying on this for security-sensitive identifiers
Slugs are for readability, not unguessable secrets. Use a password or token generator for secrets.
FAQ
Is my title sent to a server?
No. The slug is computed in your browser; nothing is uploaded.
Is this the same as converting camelCase to kebab-case?
String case tools rename identifiers (see /tools/string-case). This page is tuned for free text: spaces, punctuation, and diacritics into one path segment.
How is this different from a regex template?
Regex gives full control for experts; this tool applies common defaults for headlines. For custom patterns, use /tools/regex or the AI natural-language → regex helper under /tools/ai/nl-regex.
Common search terms
Phrases people search for that match this tool. See the full long-tail keyword index.
- url slug generator
- permalink generator online
- title to slug for blog
- kebab case url from headline
More tools
Related utilities you can open in another tab—mostly client-side.
String case converter
ClientcamelCase, snake_case, kebab-case, PascalCase, CONST_CASE from one paste—client-side.
Open Graph preview
ClientPaste HTML head or og: meta lines—see title, description, and image URL fields.
Title & meta description
AIDraft a page title and meta description in English from a topic or body—assistant output; review before publishing.
Regex generator & tester
ClientPresets (US/NANP & E.164 phones, email, URL), JS snippet, local test.