All free tools

Slug generator

Type a post title, product name or heading and get a clean URL slug as you type. Switch on bulk mode to convert a whole list, one title per line.

Separator
Blank for no limit. Cuts at a whole word.

How to use it

  1. Type or paste a title. The slug updates as you type.
  2. Pick a separator (hyphens for web pages) and, if you like, a maximum length; the slug is cut at a whole word.
  3. Tick Remove small words for shorter links, or Many at once to convert a list of titles.
  4. Copy the result into your CMS, such as the WordPress permalink box.

What the generator does

  • Makes letters lowercase and removes accents (é to e, ü to u).
  • Turns & into “and” and drops apostrophes, so don’t becomes dont.
  • Replaces spaces and punctuation with a single separator and trims it from both ends.

Changing the slug of a page that is already published changes its URL. If you do, add a 301 redirect from the old address so links and search rankings carry over.

  • Meta tag generator: Title, description, canonical, robots, Open Graph and Twitter tags with a live Google preview.
  • Case converter: Change text to UPPER CASE, lower case, Title Case or Sentence case in one tap.
  • URL encode and decode: Percent-encode text for links and query strings, decode %20 URLs, and see every query parameter.
  • Keyword density checker: Top one, two and three-word phrases with counts and percentages, plus focus-keyword density.
  • Word counter: Count words, characters, sentences and paragraphs, with reading and speaking time.

Questions people ask

What is a URL slug?

The slug is the readable part of a web address that names one page, such as best-phones-under-20000 in example.com/blog/best-phones-under-20000. A good slug tells people and search engines what the page is about before they click.

Should I use hyphens or underscores?

Use hyphens. Google treats a hyphen as a space between words, so best-phones reads as two words, while best_phones can be read as one. Underscores are fine for file names and code identifiers, which is why the option is here.

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

Often yes, for shorter and cleaner links, but keep them when the slug stops making sense without them. The tool keeps your words if removing small words would leave nothing.

How long should a slug be?

Short and descriptive: three to six words is a good target, and well under 75 characters. Leave out dates and years unless the page really is about one, so you do not have to change the URL later.

What happens to accents and Hindi text?

Accented Latin letters are simplified, so Crème Brûlée becomes creme-brulee and ß becomes ss. Hindi and other scripts are kept as they are, because browsers and Google handle them in URLs; they appear percent-encoded when copied in some apps. For English-only URLs, write the title in English.