All tools › Text, Fonts & Symbols › Generators
Type a title and get a clean, lowercase URL slug as you type.
Make a clean URL slug from any title
A slug is the readable last part of a web address, such as “save-money-on-groceries” in a blog post URL. This slug generator converts a title into that form: lowercase, plain letters and digits only, with hyphens or underscores between the words.
It is useful when you publish posts or product pages by hand, name files that will be shared by link, or build anchors and IDs in code and want them consistent.
How to use the slug generator
- Type or paste the Title or text. The slug appears as you type.
- Pick the Separator: hyphen or underscore.
- Set Small words to Remove if you want a shorter slug without words such as a, the, of and to.
- Set Numbers to Remove to strip digits.
- Optionally enter a Maximum length from 5 to 200 characters. Leave it empty for no limit.
- Press Copy next to the result.
The steps behind the slug
slug = lowercase words, accents removed, joined by the separator
- An ampersand is replaced by the word “and”. All letters are made lowercase.
- Accented Latin letters are folded to plain ASCII: the tool has a table for the small letters from U+00DF to U+017F, which covers most Western and Central European alphabets. A few become two letters: the German sharp s becomes “ss”, the ae and oe ligatures become “ae” and “oe”, and thorn becomes “th”.
- Apostrophes are deleted, so “what’s” becomes “whats”. Any other character that is not a-z or 0-9 ends a word.
- If asked, digits are stripped and the small words are dropped. The small-word list has 26 entries: a, an, and, are, as, at, be, but, by, for, from, in, into, is, it, of, on, or, so, than, that, the, this, to, was, with.
- The words are joined. If the result is longer than the maximum, whole words are dropped from the end until it fits. Only when the first word alone is too long is a word cut in the middle.
Worked example
Title: “10 Easy Ways to Save Money on Groceries in the Winter”. With every option left as it loads, the slug is:
10-easy-ways-to-save-money-on-groceries-in-the-winter
That is 53 characters and 11 words. Now set Small words to Remove and Maximum length to 40:
| Row | Value |
|---|---|
| Slug | 10-easy-ways-save-money-groceries-winter |
| Slug length | 40 characters |
| Words in the slug | 7 |
| Small words removed | 4 (to, on, in, the) |
| Cut to fit the maximum | Not needed |
A second test with accents and an ampersand: “Crème Brûlée & Café au Lait” with the underscore separator gives creme_brulee_and_cafe_au_lait, 29 characters.
Reading the result rows
Small words removed lists the words that were dropped, in order, so you can see whether the meaning survived. If a title is made of small words only, they are kept and the row says so, because an empty slug is no use. Cut to fit the maximum tells you how many words were dropped from the end. As a URL path shows the slug between slashes, the way it would sit in an address.
What this tool does not cover
- It does not know which slugs already exist on your site. Two different titles can produce the same slug, and your publishing system has to keep them apart.
- Scripts other than Latin (Greek, Cyrillic, Arabic, Chinese and others) are not transliterated. Those characters are treated as word breaks and left out.
- Folding is letter by letter. It does not apply language-specific spellings, so a German a-umlaut becomes “a”, not “ae”.
- Removing small words is a blunt rule. “Vitamin A” would lose its “a”, so read the result before you use it.
- Changing the slug of a page that is already published changes its address. Set up a redirect in your own system if you do that; this page cannot.
Habits that keep slugs tidy
Keep the words that tell a reader what the page is about and drop the rest. Decide once between hyphens and underscores and stay with that choice across the whole site. Leave dates and counts out unless they matter to the topic, because a title like “10 tips” may become 12 tips later while the address stays the same.
Frequently asked questions
What is the difference between a slug and a URL?
The URL is the whole address. The slug is only the part that names one page, usually the last piece after the final slash.
Why are capital letters removed?
Some servers treat upper and lower case in a path as different addresses. All-lowercase slugs avoid that kind of mix-up.
What happens to symbols like %, + or @?
They are dropped and act as word breaks. Only the ampersand is spelled out, as “and”.
Can I use the result as a file name?
Yes. A slug holds only a-z, 0-9 and the separator, which is safe in file names. Add the extension yourself.
Related calculators
- Hashtag Generator to join the same keywords into hashtags.
- UUID Generator when a page or record needs an ID that is not based on its title.
- Password Generator for random strings that should be hard to guess.
- QR Code Generator to turn the finished address into a scannable code.

