Slug Generator
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
My Blog Post Title!
my-blog-post-title
How It Works
- Type or paste a title into the box.
- Choose a separator (hyphen or underscore) and whether to strip accents.
- 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
- Text Compare
- Character Counter
- Diff Checker
- Duplicate Line Remover
- Lorem Ipsum Generator
- Markdown Editor
- Online Notepad
- Random String Generator