Developer tool

Slug GeneratorTurn Titles into Clean URL Slugs

Turn a title into a clean URL slug: lowercase, hyphen-separated, accents stripped, punctuation removed. Also produces underscore and dot variants and a version without stop words.

🔄 6 Styles – click Copy on any result

URL slug

URL slug: How to Make Café-Style Coffee at Home (2026 Guide)

Slug without stop words

Slug without stop words: How to Make Café-Style Coffee at Home (2026 Guide)

Full URL preview

Full URL preview: How to Make Café-Style Coffee at Home (2026 Guide)

Underscore slug

Underscore slug: How to Make Café-Style Coffee at Home (2026 Guide)

Dot separated

Dot separated: How to Make Café-Style Coffee at Home (2026 Guide)

Keep capital letters

Keep capital letters: How to Make Café-Style Coffee at Home (2026 Guide)

Styled letters are Unicode characters, not fonts – screen readers may read them letter by letter and search engines don't match them to plain words, so keep essential details in plain text. Learn more

A slug is the part of a URL that identifies a page in readable words: /how-to-make-cafe-style-coffee-at-home. Good slugs are lowercase, use hyphens between words, contain only a–z and 0–9, and are short enough to read in a search result. This generator applies those rules to any title: accented letters are converted to their base letter, punctuation and brackets are dropped, and runs of spaces or symbols collapse into a single hyphen.

The “without stop words” row removes a, an, the, and, of, to, in and similar words to make a tighter slug – a common SEO practice – while the underscore, dot and case-preserving rows cover file names, image names and identifiers in code.

How to Use This Generator

  1. 1

    Type the title of the page, post, product or file.

  2. 2

    Copy the URL slug (or the stop-word-free version for a shorter URL).

  3. 3

    Paste it into your CMS permalink field, file name or route.

Slug Rules Search Engines Prefer

Google treats hyphens as word separators and underscores as joiners, which is why URL slugs use hyphens even though file names often use underscores.

  • Lowercase only – URLs are case-sensitive on most servers
  • Hyphens between words; no spaces, %20 or underscores in page URLs
  • ASCII letters and digits only – café → cafe, ñ → n
  • Keep it short and descriptive; 3–6 meaningful words is typical
  • Never change a published slug without a redirect

Stop Words and Keyword Slugs

“How to make café-style coffee at home” becomes how-to-make-cafe-style-coffee-at-home; the stop-word row gives make-cafe-style-coffee-home. Both are valid – the shorter one is easier to share and puts keywords closer to the domain, while the full one reads more naturally. If the title is a question or a phrase where the small words carry meaning, keep them.

File Names and Code Identifiers

Image and document names benefit from the same cleaning: my photo (final).JPG → my-photo-final. For code, the underscore row gives snake_case identifiers and the case-preserving row keeps CamelCase words. For camelCase and PascalCase see the case converter.

Frequently Asked Questions

What characters are allowed in a slug?

Lowercase letters, digits and hyphens. Everything else is removed or replaced.

Hyphens or underscores?

Hyphens for URLs – search engines read them as spaces. Underscores are fine for file names and code.

What happens to accents and non-Latin letters?

Accented Latin letters are converted to plain letters (é → e). Letters from other scripts are removed – write the slug in Latin letters.

Does it limit the length?

No – trim it yourself or use the stop-word row for a shorter slug.

Is the slug generator free?

Yes.

Create Unicode text in seconds – free, no sign-up.

20 font styles, 5000+ symbols and a full Unicode text editor. Everything runs in your browser and your text never leaves your device.