Slug Generator
Free slug generator — turn any title or phrase into a clean, URL-safe slug with your choice of separator, in your browser.
Runs entirely in your browser — nothing you enter is uploaded or stored.
About slugs
A slug turns a messy title into a clean, URL-safe identifier: spaces and punctuation collapse into a single separator, accents are optionally flattened to ASCII, and everything can be lowercased. The result is a link that reads well to humans and to search engines. This tool updates live as you type, so you can tweak the separator or accent handling and copy the finished slug instantly.
Frequently asked questions
What is a URL slug?
A slug is the human-readable part of a URL that identifies a page, like the "url-slug" in example.com/blog/url-slug. Good slugs are short, lowercase and use hyphens, which makes links easier to read, share and index for search engines.
Should I use hyphens or underscores?
Hyphens. Search engines treat hyphens as word separators but read underscores as joiners, so my-blog-post is indexed as three words while my_blog_post can be read as one. Hyphen is the default here; underscore is available for filenames or systems that require it.
What does "strip accents" do?
It converts accented characters to their plain ASCII equivalents — café becomes cafe, naïve becomes naive — so the slug stays universally compatible with URLs and file systems.
Is this private?
Yes — runs locally in your browser, nothing uploaded.