Slug Generator

Works fully offline Text

Type a title and get a clean, URL-safe slug back instantly, with your choice of separator and accent handling.


    

Overview

A slug is the URL-safe version of a title — lowercase, no punctuation, words joined by a separator — used in blog post URLs, file names, and CMS routes. Getting it right by hand means remembering to strip punctuation, collapse repeated separators, and decide what to do with accented characters; this tool does all of that as you type.

Examples & Sample Data

A blog post title

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

How It Works

  1. Type or paste a title into the box.
  2. Choose a separator (hyphen or underscore) and whether to strip accents.
  3. Copy the generated slug, updated live as you type.

Common Use Cases

Naming a blog post or page URL

Turn an article title into a short, readable, lowercase URL path.

Making safe file and folder names

Convert titles with accents, spaces and punctuation into names that work on every operating system.

Frequently Asked Questions

No. Slug generation happens entirely in your browser using JavaScript — nothing you type is transmitted anywhere.

With "Strip accents" enabled (the default), they're converted to their closest plain-ASCII equivalent (é → e). Disable it to keep them as-is, though most URL routers expect ASCII-only slugs.

Hyphens are the more common convention and are treated as word separators by search engines, while underscores can be treated as part of a single word. Use underscores only if your platform specifically expects them.

Yes — consecutive separators are collapsed into one, and any leading or trailing separator is removed.

Related Tools

Explore more high-performance utilities.

More in Text Tools

Browse all Text Tools