How to use the Slug Generator
Type or paste a title. For bulk slugs, put one title on each line.
Choose a separator (hyphen is recommended) and whether to keep lower case.
Optionally remove stop words and set a maximum length.
Copy the slug and use it as the URL path of your page or post.
Examples
10 Tips for Better Sleep!
10-tips-for-better-sleep
Crème Brûlée & Café Déjà Vu
creme-brulee-and-cafe-deja-vu
The Best Running Shoes of 2026
best-running-shoes-2026
What is a URL slug?
The slug is the part of a URL that identifies a specific page in a readable way. In https://example.com/blog/better-sleep-tips/, the slug is better-sleep-tips. Content management systems such as WordPress, Shopify and Ghost generate one from the title, but the automatic version is often too long or full of filler words, so it is worth editing before you publish.
What makes a good slug
- Short and descriptive: three to five meaningful words is usually enough.
- Lower case: URLs can be case-sensitive, and mixed case creates duplicate-looking addresses.
- Hyphens between words: Google recommends hyphens rather than underscores, which can join words together.
- No dates or numbers that will go stale, unless the content is genuinely tied to them, so you can update the page later without changing the URL.
- Plain ASCII letters: accents and symbols get percent-encoded into unreadable strings like
%C3%A9when shared. - Includes the main topic, which helps users and search engines understand the page at a glance.
Options explained
Remove stop words drops short filler words such as "the", "a", "of" and "for" ("the-best-running-shoes-of-2026" becomes "best-running-shoes-2026"). Keep them when removing them changes the meaning, as in "to-be-or-not-to-be".
Max length trims the slug at a word boundary so it never ends with half a word. 50 to 60 characters is a sensible ceiling.
Special characters are converted rather than dropped where it helps: "&" becomes "and", "@" becomes "at", "%" becomes "percent", and letters like "ß" and "æ" become "ss" and "ae".
Changing the slug of a published page
Once a page is indexed and linked to, changing its slug changes its address. If you must change it, set up a 301 redirect from the old URL to the new one so visitors and search engines are sent to the right place and links keep their value. It is better to choose a good slug before publishing.
Pair a clean slug with a strong title using the Title Tag Checker, and preview the full search snippet with the Meta Description Checker.
Bulk slugs for imports and migrations
When importing products, migrating a blog or building pages from a spreadsheet, paste the whole title column here, one title per line. Each line becomes its own slug in the same order, so you can paste the result straight back into the next column. Check for duplicates afterwards with the List Sorter: two titles that differ only by punctuation will produce the same slug, and most systems will add -2 to the second one.
Frequently asked questions
Last reviewed by the WordTools Pro team. How our tools work