Slug Generator

Runs in browser

Convert text to a URL-friendly slug instantly.

Convert a title or phrase into a URL-friendly slug: lowercase, hyphens, no special characters. Handles accents and diacritics.

Slug Generator tool

Separator
Slug
how-to-build-a-browser-based-developer-tool-in-2025

🔒 Runs in your browser · No uploads · Your data never leaves your device

How to use

  1. Enter title or text

    Type or paste the phrase you want to turn into a slug.

  2. Get slug

    The slug appears below: lowercase, spaces to hyphens, special chars removed.

  3. Copy slug

    Use Copy to use the slug in URLs or CMS.

Common use cases

  • Generating blog post URLsConvert a post title into a clean URL slug for your CMS, blog, or landing page.
  • Creating consistent route namesNormalize user-submitted titles or product names into URL-safe identifiers for routing.

Examples

  • Blog title

    Spaces and caps become a slug.

    Input
    My Blog Post Title!
    Output
    my-blog-post-title

Frequently asked questions

What about non-English characters?
Accented characters are normalized (e.g. é → e) so the slug is ASCII.
Can I use this for SEO?
Yes. Short, readable slugs are good for URLs and SEO.

Key concepts

Slug
A URL-friendly string derived from a title — lowercase, spaces replaced with hyphens, special characters removed.
Kebab-case
A naming convention where words are separated by hyphens (e.g., my-page-title), commonly used in URLs and CSS.

You might find these useful too.

More text tools