URL Slug Generator (Clean & SEO Friendly)

"My Awesome Blog Post!! (2026 Edition)" → my-awesome-blog-post-2026-edition. Paste any title, get a clean URL slug — with options for separators and length.

—
Embed this tool on your website / blog No code required · Copy and paste
HTML Embed Code (iframe):
<iframe src="https://lucentool.com/slug-generator" width="100%" height="650" style="border:1px solid #e5e0d8;border-radius:12px;max-width:850px;width:100%;" frameborder="0"></iframe>
<div style="font-size:12px;color:#78716c;margin-top:6px;font-family:sans-serif;">Powered by <a href="https://lucentool.com/slug-generator" target="_blank" style="color:#c85a32;text-decoration:none;">Lucentool - URL Slug Generator (Clean & SEO Friendly)</a></div>

Why slugs matter

The slug is the human-readable part of a URL — and it's a ranking signal and a UX signal: /my-awesome-blog-post tells both Google and readers what the page is about, while /p/12345 tells nothing. Good slugs are lowercase, hyphen-separated, and drop stop words (a, the, and) when it makes them shorter without losing meaning.

What this tool does

Slug best practices

What happens in the page

Four steps, in order: normalize('NFD') decomposes accented characters into a base letter plus a combining mark, a regular expression strips the combining marks in the U+0300–U+036F range so café becomes cafe, the string is lowercased, and everything that is not a letter, digit, space or hyphen is removed. Runs of spaces and hyphens collapse into a single hyphen, and leading or trailing hyphens are trimmed.

Where it breaks down

Latin-script accents only. Chinese, Japanese and Cyrillic are deleted outright, because NFD decomposition does not apply to them — a Chinese slug needs transliteration, which this tool does not do. Uniqueness is not checked: the page knows nothing about your existing URLs. Length is not truncated, so a long title produces a long slug that most CMSs will cut at around 200 characters.

Privacy: no data leaves this tab

The title is transformed with string operations in this tab; nothing is stored and no request is made, so unpublished product names stay private.

Frequently asked questions

What happens to a Chinese title?

The Chinese characters are removed and only Latin letters and digits survive. Transliterate to pinyin first if you need a readable slug.

Why did café become cafe?

Because accents are decomposed and then stripped, leaving the base letter. That is what NFD normalisation is for.

Does it check for duplicates?

No. It has no knowledge of your site, so collisions must be checked before publishing.