URL slug generator

Client

Paste 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.

Options

Slug

cafe-resume-10-tips-for-a-better-public-api-2025-release-notes

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

Related utilities you can open in another tab—mostly client-side.