Slug generator

0 uploads — runs entirely in your browser, works offline

Slug

Turn a title into a clean URL slug, privately

Paste any headline, product name or blog title and get a lowercase, hyphenated URL slug — accents folded to plain letters, punctuation stripped, spaces joined. The slug is generated on your device: 0 uploads, works offline, so your titles and drafts never touch a server.

How to use it

  1. Type or paste your title in the box, e.g. Héllo, World!.
  2. Pick a separator — hyphen - (the web default) or underscore _.
  3. Choose whether to lowercase the result — turn it off to keep the original casing.
  4. The slug updates live. Copy it into your CMS, route, or filename.

FAQ

How do I create a URL slug from a title?

Paste the title into this page and the slug is built entirely in your browser — accents are folded (Cafécafe), the text is lowercased, & becomes and, and every run of spaces or punctuation collapses to a single separator. Nothing is uploaded and there's no sign-up, so it works with your Wi-Fi off.

What is a URL slug and why does it matter?

A slug is the human- and search-readable part of a URL, like my-first-post in /blog/my-first-post. Clean, lowercase, hyphenated slugs are easier to read, share, and index than ones with spaces, capitals, or symbols.

Should I use hyphens or underscores in a slug?

Hyphens are the web standard — search engines treat - as a word separator, so url-slug reads as two words. Underscores are more common in filenames and code. This tool defaults to hyphens; switch to _ when you need it.

How are accents and special characters handled?

Accented letters are normalised and reduced to their base form (Zürichzurich, São Paulosao-paulo), & is spelled out as and, and anything else that isn't a letter or number becomes the separator. An input of only symbols produces an empty slug rather than an error.

Limits

Produces ASCII slugs from Latin-script text — accents fold to plain a–z and 0–9. Non-Latin scripts (for example Chinese or Arabic) have no Latin equivalent, so those characters are dropped rather than transliterated. It does not check whether a slug is already used on your site, and it does not enforce a maximum length.

Related

Pair this with the JSON formatter and other text utilities for prepping content and metadata. More slug and case-conversion tools slot in alongside once they're live.

Bookmark this page (Ctrl+D, or ⌘D on Mac) or install the app — it works offline the next time you need it.