Slug Generator and Case Converter

Type or paste a title or any text. You get a clean URL slug and every common case style, ready to copy.

URL slug

Options
Cut at a whole word. Short slugs are easier to read and share.

Case converter

Runs entirely in your browser: 0 bytes uploaded. Your files and text never leave your device. Privacy

What makes a good URL slug

The slug is the part of the address after the domain: in example.com/speed-up-wordpress/ the slug is speed-up-wordpress. A good slug is short, readable and describes the page.

  • Lowercase letters, numbers and hyphens only. Google treats hyphens as spaces between words; underscores join words together.
  • No accents or special characters. café-menü becomes cafe-menu, so it never turns into caf%C3%A9 when shared.
  • Leave out words that add nothing, like "a", "the" and dates, so the address stays valid when you update the post.
  • Keep it under about 60 characters.

Changing the slug of a live page? Add a 301 redirect from the old address, or you lose its links and rankings. Our .htaccess redirect generator writes the rule for you.

Case styles

  • Title Case capitalizes main words and leaves short words like "of", "and" and "the" lowercase, as most style guides do.
  • Sentence case capitalizes only the first word. Check names and brands by hand afterwards.
  • camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE are naming styles used in code, file names and CSS classes.

FAQ

Hyphens or underscores in URLs?

Hyphens. Google reads a hyphen as a space between words, but treats words joined by underscores as one word.

Should I remove stop words from slugs?

Often yes, to keep slugs short, but keep them when the slug reads badly without them.

Can I change the slug of a published post?

Yes, but add a 301 redirect from the old address. WordPress tries to redirect old slugs for posts, but not always for pages.

Is my text sent anywhere?

No. Everything runs in your browser.

More free tools

Need a Tool We Don’t Have?

Tell us what you check on your sites every week. The most-requested tools get built first.