Slug Generator

Turn a title into a URL slug: lowercase, hyphens for spaces, punctuation stripped, repeated separators collapsed. Latin accents are unaccented. Other scripts are kept, not romanized.

Last updated: October 4, 2026

Tool

This tool will load here.

What this tool does

A slug generator turns a title into a string that is safe to put in a URL path: lowercase, spaces turned into hyphens, punctuation dropped, repeated hyphens collapsed, edges trimmed. This slug generator does that in the browser. Latin letters with accents are converted to their unaccented base (café → cafe) by decomposing and stripping combining marks. Other letters — Arabic, Cyrillic, CJK — are kept. They are not romanized. Nothing is uploaded.

That last point matters. A tool that claims “universal transliteration” and then emits empty slugs or guesswork pinyin is lying. This page will not invent ni-hao from Chinese. If your CMS requires ASCII-only slugs, you still have to supply a Latin title, or accept a Unicode slug if the server allows it.

This is not a case converter. Title Case for a heading belongs on the Case Converter. A slug is a different output: separators instead of spaces, and no punctuation left to look pretty.

How to use

  1. Paste the title or phrase.
  2. Generate slug. Copy writes the result.
  3. Example uses “Hello, World! Café — already–hyphenated”.

Empty input is an error. If every character was punctuation, the result is empty and the status says so. Input over 200,000 characters is refused.

Example

Example input becomes hello-world-cafe-already-hyphenated. The comma and exclamation mark go away. Extra spaces become one hyphen. é becomes e. Two hyphens already in the title collapse to one. Leading or trailing hyphens would be stripped if they appeared.

Hello, World!  Café -- already--hyphenated
→ hello-world-cafe-already-hyphenated

Limits

  • No romanization table. Greek, Arabic, Hebrew, and CJK letters remain those letters, lowercased when the script has case.
  • No stop-word removal. “and” and “the” stay if you typed them.
  • No uniqueness check against existing YallaSolve slugs or anyone else’s.
  • The separator is a hyphen. There is no underscore mode.
  • This is not percent-encoding. A Unicode slug may still need encoding when it is placed in a URL. The string in the box is the path segment, not a fully encoded href.

WordPress sanitize_title may apply different transliteration on the server. Treat this page as a preview of a conservative client-side slug, then confirm what your CMS stores. Pasted HTML is stripped of tags only in the sense that < and letters become punctuation and words; the markup is not executed.

If the title is messy, clean spaces first on the Whitespace Cleaner so you are not hyphenating around leftover tabs. If you only wanted uppercase for a heading, stay on the Case Converter.

The slug is built in this browser. Copy it into the CMS field and then look at the live permalink. Some stacks lowercase again, some strip more characters, some add a numeric suffix when the slug already exists. This page cannot see those collisions.

Digits stay. “Review 2024” becomes review-2024. Underscores in the title become hyphens because they are separators, not letters. If you needed to keep underscores, this is the wrong generator. There is no “preserve underscore” toggle, because a slug with two separator styles is the usual source of broken links later.

On this page

Related Articles

Related solutions

Need another tool ?

Open the free tools — no signup.

FAQs

newsletter signup

Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Innovative Solutions For Modern Needs
Copyright © 2026 Yallasolve. all rights reserved.