Slug generator

Turn any title into a short, clean URL slug that's easy to read, share and rank. Paste several titles to convert them all at once.

Your slug

How to use it

  1. Type or paste a title. For several slugs, put one title per line.
  2. Choose the separator, an optional maximum length, and whether to remove small words.
  3. Click Copy.

Example: “10 Best Budget Phones in Pakistan (2026 Edition)!” becomes 10-best-budget-phones-in-pakistan-2026-edition, or 10-best-budget-phones-pakistan-2026-edition with small words removed.

What the generator does

  • Converts everything to lower case.
  • Replaces spaces and punctuation with your separator.
  • Removes accents, so “Café Crème” becomes cafe-creme.
  • Turns & into “and” and @ into “at”.
  • Removes apostrophes, so “don’t” becomes dont rather than don-t.
  • Trims a long slug at a word boundary, not in the middle of a word.

What makes a good slug

  • Short and descriptive. Three to six words is usually enough.
  • Includes the main keyword. A slug like /emi-calculator/ tells people and search engines what the page is about.
  • No dates unless needed. /best-phones-2026/ goes out of date; /best-budget-phones/ can be updated each year.
  • Lower case only. Some servers treat capital letters as different addresses, which can cause duplicate pages.

Writing the rest of your page’s SEO? Try the meta tag generator and the Google SERP preview.

Last updated 4 December 2026

Frequently asked questions

What is a URL slug?

The slug is the part of a web address that identifies a page, after the domain. In toolzario.com/image-compressor/, the slug is image-compressor.

Should I use hyphens or underscores?

Hyphens. Google treats hyphens as spaces between words, but may read words joined by underscores as one long word. Underscores are fine for file names and code.

Should I remove words like “the” and “of”?

Often, yes. They make slugs longer without adding meaning, so “how-to-raise-cgpa” is tidier than “how-to-raise-your-cgpa”. Keep them if removing them changes the meaning.

Should I change the slug of an existing page?

Only with a 301 redirect from the old address to the new one. Otherwise, links and search rankings pointing to the old URL break.