Slug Generator
Turn any title or phrase into a clean, SEO-friendly URL slug. Lowercase, strip accents, and choose hyphen or underscore separators - free, instant, and private.
Prefer hyphens for SEO-friendly URLs. Underscores are available when a CMS or filename convention requires them.
About Slug Generator
Create SEO-friendly URL slugs from any title or phrase in your browser. Paste a headline, product name, or blog title and get a lowercase, hyphenated permalink instantly - accents stripped, punctuation removed, and spaces converted. Choose a hyphen (recommended for SEO) or underscore separator, then copy the slug into your CMS, static site, or route config. Nothing is uploaded; everything runs client-side.
How to Use Slug Generator
- Paste or type a page title, headline, or any text into the input box.
- Choose Hyphen (-) for SEO-friendly URLs, or Underscore (_) if your stack requires it.
- Read the live slug output as it updates while you type.
- Click Copy slug and paste it into your CMS permalink, filename, or route.
Slug Generator Examples
Blog post title to permalink
Input "How to Write SEO-Friendly URL Slugs" → Output "how-to-write-seo-friendly-url-slugs". Paste into WordPress, Ghost, or Next.js as the path segment.
Accented or international titles
Input "Café au lait" → Output "cafe-au-lait". Diacritics are stripped via Unicode NFKD so URLs stay ASCII-safe across hosts and CDNs.
Underscore for filenames or APIs
Switch the separator to Underscore when you need "hello_world" style identifiers for file names, S3 keys, or systems that prefer underscores over hyphens.
Read the full guide
How to Use Slug Generator: Complete Guide (2026) - 5 min read
Frequently Asked Questions about Slug Generator
- What is a URL slug?
- A slug is the readable part of a URL that identifies a page - for example, "how-to-use-slug-generator" in /blog/how-to-use-slug-generator. Good slugs are short, lowercase, keyword-focused, and separated by hyphens so people and search engines can understand the page topic at a glance.
- Should I use hyphens or underscores in slugs?
- Prefer hyphens. Google treats hyphens as word separators and generally recommends them for URL readability. Underscores are often treated as part of a single word, which can hurt keyword clarity. Use underscores only when a CMS, API, or filename convention requires them.
- Does this tool remove accents and special characters?
- Yes. Text is normalized with Unicode NFKD and combining diacritical marks are stripped (café → cafe), then anything that is not a letter or digit is replaced with your chosen separator. The result is a clean ASCII-friendly slug suitable for most web servers.
- Will changing a slug hurt SEO?
- Changing a published slug can break old links and lose ranking signals unless you set up a permanent (301) redirect from the old URL to the new one. Generate the right slug before you publish when you can, and always redirect if you must rename a live page.
- Is my text uploaded anywhere?
- No. Slug generation runs entirely in your browser. Your titles and phrases are never sent to a server, so it is safe to use with unpublished drafts and internal product names.