What this tool does
A slug is the part of a web address that names a single page. In example.com/blog/how-to-bake-bread, the slug is how-to-bake-bread. This URL slug generator turns any title into a slug like that: lowercase letters, accents removed, punctuation dropped and words joined with hyphens. The preview under the result shows the full address, so you can see how it will look before you paste it into WordPress, Shopify, Ghost, a static site or your own code.
What makes a good slug
A good slug is short, readable and describes the page. Someone who sees only the address should be able to guess what the page is about. A few habits help:
- Use hyphens between words. Google's own advice is to use hyphens rather than underscores, because hyphens clearly separate words. Underscores are fine for file names or systems that require them.
- Use lowercase. Some servers treat
/My-Pageand/my-pageas two different addresses. All lowercase avoids duplicates and broken links. - Keep it short. Three to six meaningful words are usually enough. Long slugs get cut off in search results and are hard to share.
For more on choosing words, the guide to camelCase, snake_case and kebab-case explains where each style is used. Slugs are kebab-case.
How the slug is built
The tool follows the same steps for every title:
- Accents are removed. "Café crème" becomes
cafe-creme. Letters that have no accent to strip get a fixed spelling: ß becomes ss, æ becomes ae, ø becomes o, œ becomes oe and ł becomes l, so "Straße" becomesstrasse. - Apostrophes disappear. "Don't" becomes
dont, notdon-t, which is how most content systems handle it. - Everything that is not a letter or a digit separates words. Spaces, punctuation, slashes and emoji all become a single separator. An ampersand becomes the word "and", so "Rock & Roll" becomes
rock-and-roll; untick Convert & to and to drop it instead. Repeated separators collapse into one, and there is never a separator at the start or the end. - Numbers are kept. "Top 10 tools of 2026" becomes
top-10-tools-of-2026.
You can switch off lowercase, choose underscores instead of hyphens, and switch between ASCII only and Unicode letters.
Stop words and length
Tick Remove English stop words to drop small words such as a, an, the, and, of, to, in and for. "The Best Way to Learn a Language" becomes best-way-learn-language. Words that carry meaning, such as how, why and not, are never removed, and if a title has nothing but stop words, they are all kept so the slug is never empty. Check that the shorter slug still reads well, because sometimes a small word matters.
Maximum length cuts the slug at the last whole word that fits, so you never get a broken word at the end. Only when the very first word is longer than the limit is it cut inside the word. The length counter shows the characters of the slug, and the character counter helps with other limits. To keep page titles short too, see the guide to meta title length.
ASCII only or Unicode letters
ASCII only keeps only the letters a to z and the digits 0 to 9. It is the safest choice for titles in English and other languages written in Latin letters, because every system, email client and old browser handles it.
Keep Unicode letters keeps words in other scripts whole, such as Urdu, Arabic, Hindi, Russian, Greek, Chinese or Japanese. Modern browsers show these slugs in their own script, while behind the scenes they are sent percent-encoded, which makes the raw address much longer. Many sites in those languages use Unicode slugs. If you choose ASCII only for a title without Latin letters, the slug would be empty, and the tool tells you to switch.
Bulk mode
Tick Bulk to convert a whole list. Each line becomes one slug on the same line of the result, and blank lines stay blank so the lines still match. This is handy when you plan a series of posts, migrate a site or prepare redirects in a spreadsheet. Two pages cannot share one address, so the tool warns you when the same slug appears more than once and shows how many repeat. Tick Make duplicates unique to add -2, -3 and so on to the later copies. To find repeated titles in the list first, use Remove Duplicate Lines.
Changing a live slug
A new slug is a new URL. If a page is already published and linked, keep its slug unless there is a strong reason to change it. When you do change it, set up a 301 redirect from the old address so visitors and search engines find the new one. For titles in a different case, such as Title Case for headings, use the case converter, and the guide on meta description length covers the text that appears under your page in search results.
Privacy
Your titles are converted in your browser. Nothing is uploaded, saved or tracked, and there is no sign-up. Input is limited to 200,000 characters and, in bulk mode, 10,000 lines. Like every page on this site, this one may show ads from third-party vendors once ads are switched on, and those vendors can use cookies. Read the privacy policy for details.