Slug Generator, Turn Any Title Into a Clean URL Slug
This slug generator converts any title or phrase into a clean, SEO-friendly URL slug instantly. Choose hyphens or underscores, strip stop words, set a max length, and convert entire lists at once, no sign up needed.
Why accents need converting, not deleting. Stripping anything that is not a plain letter turns “Crème brûlée” into “crme-brle”, which is unreadable and unsearchable. Unicode normalisation splits an accented character into its base letter plus a separate accent mark, so removing just the marks leaves “creme-brulee”. Letters with no Latin base, like ß and ø, and whole alphabets like Cyrillic and Greek, get an explicit conversion instead.
Hyphens beat underscores. Google treats a hyphen as a word separator and an underscore as a joiner, so web_development reads as a single word while web-development reads as two. Use hyphens for anything you want found.
Keep it short. Three or four meaningful words beat a full sentence. Long slugs get truncated in search results, wrap badly when shared, and rarely add anything the first few words did not already say.
The exact transformation rules this slug generator applies to every line
A slug generator sounds trivial until you feed it a title with an accented letter, an ampersand, or a stray apostrophe. This tool runs entirely in your browser, nothing you type is sent anywhere, and it processes each line of input through the same fixed sequence of string operations, so the same title always produces the same slug regardless of order in the batch.
The transformation pipeline, in order
String.normalize('NFKD'), which decomposes accented characters into a base letter plus a separate combining mark, then a regex strips every character in the Unicode combining diacritical marks block. A word like café becomes cafe, not caf followed by a dropped letter.
The stopword list
When enabled, the tool filters out 22 common English function words: a, an, the, and, or, but, of, in, on, at, to, for, with, by, is, are, was, were, be, been, it, this, and that. This is a fixed list built into the source, not configurable per language, so it is most useful for English titles and will leave equivalent function words in other languages untouched.
| Input title | Default output | With stopwords removed |
|---|---|---|
| 10 Tips for Better Sleep & Focus | 10-tips-for-better-sleep-and-focus | 10-tips-better-sleep-and-focus |
| The Café on 5th Street | the-cafe-on-5th-street | cafe-5th-street |
Separator choice
Hyphens are the standard recommendation since Google explicitly treats them as word separators in URLs, while underscores are historically treated as joining characters rather than separators, which can merge words together in search indexing.
Bulk mode and export
Paste one title per line and every row gets its own slug, an optional base URL preview column, and a per-row copy button, plus a Copy All and a CSV download for dropping straight into a spreadsheet or CMS import.
URL structure references
- Google’s URL structure guidance recommends simple, readable, hyphen separated URLs over long parameter strings or underscore joined words.
- Unicode Standard Annex 15 documents the NFKD normalization form this tool relies on to separate base letters from diacritical marks.
URL decisions that stick
Converting a batch of blog post titles into clean URL slugs before a CMS import, generating consistent product URL segments from a spreadsheet of names, cleaning up an old site’s inconsistent URL casing and punctuation during a migration, and quickly checking how a title with special characters will resolve into a URL before publishing.
FAQ: Slug Generator
A slug is the part of a URL that identifies a specific page in a human readable form, for example in convertnow.tools/tools/seo-marketing/slug-generator/, “slug-generator” is the slug. It’s typically derived from the page’s title but simplified, lowercased, and stripped of punctuation so it reads cleanly in a browser address bar and search results.
Hyphens are the standard recommendation. Google has confirmed it treats hyphens as word separators when parsing a URL for its meaning, effectively reading “coffee-shops” as two words. Underscores are sometimes treated as a single joined word instead, which can slightly hurt how search engines interpret the slug’s individual keywords. Most CMS platforms, including WordPress, default to hyphens for this reason.
No, removing common stop words like “a,” “the,” “of,” and “and” from a slug is a widely accepted practice and generally considered good for SEO, since it shortens the URL and keeps the focus on meaningful keywords without changing what the page is actually about. Google’s own guidance favors short, descriptive URLs over long, exact-match phrasing.
There’s no strict character limit enforced by search engines, but shorter slugs, generally under 60 characters or so, tend to perform better in practice since they’re fully visible in search results without being truncated and are easier for people to read and remember. Focus on including the most important 3 to 6 keywords rather than mirroring your entire title.
They’re automatically converted to their closest plain ASCII equivalent, so “café” becomes “cafe” and “château” becomes “chateau.” This keeps URLs universally readable and avoids encoding issues that can occur with non-ASCII characters in some browsers, servers, and sharing contexts.
Yes, but changing a slug on a page that’s already indexed and receiving traffic or backlinks means the old URL will 404 unless you set up a 301 redirect from the old slug to the new one. It’s best to finalize a slug before publishing when possible, and to always add a redirect if you do need to change one later, to preserve existing search rankings and avoid broken links.
Not necessarily, and often it shouldn’t. Titles can be longer and more descriptive for readers and click-through appeal, “10 Best Coffee Shops in New York City You Need to Try in 2026,” while the slug can be a shorter, keyword focused version like “best-coffee-shops-nyc.” The slug’s job is to be a clean, permanent identifier, not a full restatement of the title.
No, all conversion happens locally in your browser using JavaScript text processing, nothing you type is sent to a server, logged, or stored.
From the blog
Search, without the guesswork
What actually moves rankings and what is folklore.