Slug Generator

Turns a title or phrase into a lowercase URL slug in the browser. Accents are latinized (café → cafe); other characters become hyphens. This is a formatter only: it does not improve SEO rank, reserve a URL, or check that a slug is unique or available.

Slug generator

This is a formatter. It does not improve SEO rank, reserve a URL, or check that a slug is unique or available. Client-side only. Nothing is sent to a server.

How to use

  1. Enter a title or phrase. Empty or whitespace-only input fails closed.
  2. Read the slug as text and copy it on this device. A preview path such as /your-slug/ is shown as text, not as a live link.
  3. Nothing is sent to a server. Refreshing the page clears the form.

Slug rules

  1. Trim leading and trailing whitespace.
  2. Unicode letters and digits are NFD-normalized and combining marks are stripped (basic latinize: café → cafe). Keep a-z and 0-9 after lowercasing.
  3. Lowercase.
  4. Any run of characters that are not [a-z0-9] becomes a single hyphen.
  5. Collapse consecutive hyphens. Strip leading and trailing hyphens.
  6. Empty or whitespace-only input fails closed (error, no slug).
  7. Oversized input larger than 100KB fails closed.
  8. The result is a string. XSS-looking input such as <script>alert(1)</script> becomes a slug of safe characters only (script-alert-1-script), never HTML.

Results

Enter a title or phrase to generate a slug.

Runs in your browser. Nothing is uploaded.

Frequently asked questions

What does this slug generator produce?

It turns a title or phrase into a lowercase URL slug string you can copy. Output is plain text, not HTML and not a live link. This is a formatter only. It does not improve SEO rank, does not make a slug unique, and does not reserve or check whether a path is available on any site.

What rules does the slug follow?

1. Trim leading and trailing whitespace. 2. Unicode letters and digits are NFD-normalized and combining marks are stripped (basic latinize: café → cafe); only a-z and 0-9 are kept after lowercasing. 3. The text is lowercased. 4. Any run of characters that are not [a-z0-9] becomes a single hyphen. 5. Consecutive hyphens collapse; leading and trailing hyphens are stripped. 6. Empty or whitespace-only input fails closed (error, no slug). 7. Input larger than 100KB fails closed. 8. The result is a string. XSS-looking markup such as a script tag wrapping alert(1) becomes a slug of safe characters only (script-alert-1-script), never HTML.

Does this improve SEO or reserve a URL?

No. A slug is just formatted text. This page does not claim ranking benefits, uniqueness, or that the slug is reserved or available. There is no /url-slug-generator/ or /slugify/ URL; this page is /slug-generator/.

How are accents, punctuation, and HTML treated?

Accents are latinized by NFD normalization and stripping combining marks, so Café becomes cafe. Punctuation, spaces, and other separators become hyphens and then collapse. Markup is not rendered: a script tag wrapping alert(1) becomes the slug script-alert-1-script. The result never contains angle brackets.

Is this client-side? Do I need an account?

Yes, it is client-side only. There is no signup. The title or phrase never leaves the browser. Tallymill does not save what you enter. Refreshing the page clears the form.

Is there a size limit?

Yes. Input larger than 100KB (100 × 1024 UTF-8 bytes) is rejected. Empty or whitespace-only input also fails closed and produces no slug. Nothing is sent to a server either way.