CorexoTools

Slug Generator

Convert any title or phrase into a URL-safe slug. Handles accents, spaces, and special characters.

Separator:

What is a URL Slug?

A URL slug is the part of a web address that identifies a specific page in a human-readable form. It is the final, descriptive segment of a URL — for a blog post titled “Hello World!”, the slug might be hello-world, giving a full address like example.com/blog/hello-world. A good slug is lowercase, contains only letters, numbers, and separators (usually hyphens), and has no spaces or special characters. It should make sense to a person reading it before they even open the page.

A slug generator automates the conversion from a free-form title to a clean, standards-compliant slug. It lowercases the text, replaces spaces with a separator, strips punctuation, and — importantly — normalises accented and non-Latin characters into their plain ASCII equivalents so the result is safe to use in any URL. Doing this by hand for every page is tedious and inconsistent; a generator gives you the same predictable result every time.

How to Use the Slug Generator

  1. Type or paste your title, headline, or phrase into the input field.
  2. Choose a separator — hyphen, underscore, or dot.
  3. The slug is generated instantly, with accents, spaces, and punctuation cleaned up.
  4. Review the result and shorten it if needed by removing filler words.
  5. Copy the slug and use it as the page path in your CMS, router, or static site.

How to Create a Good Slug

Separator Options

Hyphen (-) — Most common. Preferred by Google. Used by WordPress, Ghost, and most modern CMSs.
Underscore (_) — Used in some systems and programming conventions. Google treats it as a word joiner, not a separator.
Dot (.) — Less common, but used in some legacy CMS systems and file paths.

Why Slugs Matter for SEO and Sharing

A clean slug does real work. Search engines treat the words in a URL as a ranking and relevance signal, so a slug like best-budget-headphones tells both Google and the reader what the page is about before they click. Cryptic URLs full of IDs and query strings — page.php?id=8842 — give away nothing and look untrustworthy when pasted into a chat, an email, or a social post. Readable slugs also get clicked more often because people can predict where the link leads.

The most important rule is permanence: once a page is published and indexed, do not change its slug. The old URL is now stored in search results, bookmarks, and links from other sites, and changing the slug breaks all of them unless you set up a redirect. Decide on a short, descriptive slug up front. Avoid stuffing in keywords — three or four meaningful words beat a long chain — and remember that the accent and special-character handling in this tool is what keeps a slug valid when the title contains characters like é, ß, or ñ.

Frequently Asked Questions

Should I change the slug of an existing page?

Avoid it. The old slug is already indexed and linked from elsewhere. If you must change it, add a permanent (301) redirect from the old URL to the new one so existing links keep working.

Hyphen or underscore — which should I pick?

Use a hyphen. Google treats hyphens as word separators and underscores as word joiners, so budget-headphones is read as two words while budget_headphonesis read as one. Hyphens are the modern standard.

How long should a slug be?

Short and descriptive. Three to five meaningful words is ideal. Drop filler words like “a”, “the”, and “and” — they add length without adding clarity.

Is my text sent to a server?

No. Slug generation runs entirely in your browser. The titles you enter are never transmitted or stored.