Slug Generator
Paste a title and get a clean, lowercase URL slug instantly. Choose the separator, cap the length, drop stop words, transliterate accents and other alphabets, or convert a list of titles at once.
Batch Slugs
One title per line. Uses the options above. Repeated slugs get -2, -3 and so on when numbering is on.
Clean, SEO-friendly URLs
Lowercase words joined by hyphens, with punctuation, emoji and accents removed, which is the format search engines and browsers handle best.
Real transliteration
Accents, ß, ø, æ, Cyrillic and Greek become plain Latin letters, and a German mode turns ä, ö, ü into ae, oe, ue.
Length and stop words
Trim to a maximum length without cutting a word in half, and optionally drop filler words such as the, of and and.
>> technical info
How Slugs Are Built:
The text is Unicode-normalised, accents and special letters are transliterated, apostrophes are dropped, and every run of other characters becomes a single separator. Leading and trailing separators are removed. When a maximum length is set, the slug is cut at the last full word that fits.
Example:
Crème brûlée: 10 Tips & Tricks! -> creme-brulee-10-tips-tricks
Why Use This Slug Generator:
- >Readable, shareable links that rank and read well
- >Consistent slugs across a whole content list
- >Works with accented and non-Latin titles
- >Runs locally: your drafts never leave the browser
>> frequently asked questions
Q: What is a URL slug?
A: The human-readable last part of a URL that identifies a page, such as hello-world in example.com/blog/hello-world.
Q: Hyphen or underscore?
A: Search engines treat hyphens as word separators and generally do not split words on underscores, so hyphens are the safer default for SEO.
Q: How long should a slug be?
A: Short and descriptive is best. Around 3 to 5 words, or under about 60 characters, keeps URLs readable and avoids truncation in results.
Q: Should I remove stop words?
A: It can make slugs shorter, but it is optional. Keep them if removing them would change the meaning of the title.
Q: What about non-Latin titles?
A: Transliteration covers Cyrillic and Greek. For other scripts such as Chinese or Japanese, enable keeping non-Latin letters, which keeps the characters and percent-encodes them in links.
Other Languages
References
How we make sure
We check this tool with the automated test suites linked below. Example checks are shown in their original language.
- Verification method
- Check expected word boundaries, case, accents, separators and non-ASCII output.
- Comparison reference
- Authored text fixtures; not a claim of unique tokenization/transliteration for every language.
- Verification scope
- These samples and boundaries do not prove correctness for every input.
Test source and cases (select a file to read it)
-
slug-generator.test.js
- basic title becomes a hyphenated lowercase slug
- diacritics are stripped by default
These checks cover the listed examples and boundaries, not every possible input. Round trips and checks using the same library are not independent verification.