Skip to content
logo-iconPikiTools

Slug Generator

Turn any title into a clean, lowercase, hyphenated URL slug, one at a time or a whole list at once.

Runs in your browser · Free · No sign-up

Titles (one per line)

0 characters · 0 lines

Slugs

What makes a good URL slug

The slug is the readable part of a URL that identifies one page: in example.com/blog/best-coffee-shops it's best-coffee-shops. Good slugs are:

  • Lowercase. Some servers treat /About and /about as different pages.
  • Hyphen-separated, with no spaces, underscores or %20.
  • ASCII only. Accents are turned into plain letters (café → cafe, São → sao) so links survive copying and pasting.
  • Short and descriptive. 3–6 meaningful words, without dates or numbers that will go out of date.

What this generator does

  1. Splits accented letters into base letter + accent and drops the accent (Unicode NFKD).
  2. Transliterates special letters: ß → ss, æ → ae, ø → o, & → and, @ → at.
  3. Removes apostrophes so "Beginner's" becomes beginners, not beginner-s.
  4. Turns every other run of symbols and spaces into a single separator, and trims separators from the ends.
  5. Optionally removes stop words and cuts to a maximum length at a word boundary.

Examples

TitleSlug
10 Best Cafés in São Paulo — 2026 Guide!10-best-cafes-in-sao-paulo-2026-guide
How to Use Git & GitHubhow-to-use-git-and-github
Why "Less Is More" in UX Designwhy-less-is-more-in-ux-design

Paste many titles at once, one per line, and each line becomes its own slug.

Frequently asked questions

Should I use hyphens or underscores in URLs?

Hyphens. Google treats hyphens as word separators, so best-coffee-shops is read as three words, while underscores join words together. Hyphens are also easier to read when a link is underlined.

Should I remove stop words from slugs?

Often, but not always. Removing 'the', 'a' and 'of' makes slugs shorter, but if a word carries meaning (for example 'to' in 'how-to-tie-a-tie'), keep it. Short, readable and descriptive matters more than any strict rule.

Should I change the slug of a page that's already published?

Only if you must, and always add a 301 redirect from the old URL to the new one. Changing slugs without redirects breaks links and loses the ranking signals the old URL had built up.