Slug Generator

Turn a title into a clean, lowercase URL slug with hyphens or underscores.

Runs in your browser — nothing is sent or saved.

How to make a URL slug

  1. Type or paste your title in the box.
  2. The slug appears below as you type.
  3. Pick a hyphen or an underscore, and choose whether to force lowercase.
  4. Press Copy slug to use it in your page address.

What a slug is

A slug is the readable part of a web address that names the page, like how-to-bake-bread in example.com/how-to-bake-bread. A good slug uses only lowercase letters, numbers, and a separator. It has no spaces, no punctuation, and no accented letters, because those can break links or get rewritten by the browser.

Why hyphens beat underscores

Google treats a hyphen as a space between words, so red-shoes reads as two words: "red" and "shoes". It treats an underscore as a joiner, so red_shoes can read as the single word "redshoes". For that reason most sites use hyphens in slugs. This tool defaults to a hyphen, but gives you the underscore option when a system needs it.

Accents and other letters

The tool folds accented letters to plain ones, so Café Menu becomes cafe-menu and Málaga becomes malaga. Any character that is not a letter or number turns into your separator, and repeated separators are squeezed to one. Leading and trailing separators are trimmed off.

FAQ

Should I use hyphens or underscores?

Use hyphens for web pages. Search engines read a hyphen as a word break, which helps your page match searches. Underscores suit some file names and code.

What happens to accented letters like é?

They are folded to the nearest plain letter, so é becomes e. This keeps the slug safe in a URL.

Can I keep capital letters?

Yes. Turn off "Lowercase" to keep the case you typed. Most sites still prefer all lowercase for links.

Does it remove small words like "the" and "of"?

No. It keeps every word. Removing small words is a style choice, so the tool leaves that to you.

Is my text sent anywhere?

No. The slug is made in your browser and nothing is saved.

What does it mean to slugify a title?

To slugify is to turn text to slug form: all lowercase, hyphens instead of spaces, and no special marks. The result is an SEO friendly URL part that both people and search engines read easily.