Skip to content
PocketCaliper
Language
Open menu

Runs locally in your browser

Slug Generator

Turn a page title into a URL slug: lowercase, accents stripped, words joined with hyphens. The conversion stays in your browser.

Paste a headline and get a path segment you can drop into a CMS permalink. Accents flatten so café becomes cafe.

Slug building uses Unicode normalization in this tab. No title is sent to a server.

How to use

  1. Paste the title or phrase.
  2. Read the live slug in lowercase with hyphens.
  3. Copy the slug into your CMS or routes file.

How it works

The generator decomposes accented letters, drops combining marks, lowercases, then replaces any run of non-alphanumerics with a hyphen.

Leading and trailing hyphens are stripped so the slug is ready for a path. It is not a full URL encoder for query strings.

Examples

  • Blog title

    How to Brew Café au Lait becomes how-to-brew-cafe-au-lait for a post path.

  • Product name

    Size 12 / Blue (Ltd) becomes size-12-blue-ltd after punctuation collapses.

FAQ

Are numbers kept?

Yes. Digits stay in the slug. Only letters, digits, and hyphens remain.

What about German ß or Spanish ñ?

Combining marks are stripped after NFKD normalization. ñ becomes n. ß may stay or flatten depending on the browser mapping.

Is this the same as URL encoding?

No. Slugs are hyphenated identifiers. Use the URL encoder for query values with reserved characters.

Does the title leave the browser?

No. Slug generation is local.

Related tools