Générateur de slug d'URL

Transformez un titre en slug d'URL propre et adapté au SEO, accents correctement gérés. Tout le traitement se fait dans votre navigateur ; vos données ne sont jamais envoyées au serveur.

A slug is the readable part of a URL: the "url-slug-generator" in this address. Good slugs are lowercase, use hyphens, and contain only characters that survive being copied, pasted and shared. This generator handles accented and non-Latin characters properly, which is where most naive slug code breaks.

Comment l'utiliser

  1. Paste your title. Punctuation, accents and multiple spaces are all fine.
  2. Choose your separator — hyphens are the convention for URLs, underscores for filenames.
  3. Copy the slug straight into your CMS, filename or route definition.
  4. Keep slugs short. Three to six meaningful words reads better in search results than a full sentence.

Questions fréquentes

Why hyphens instead of underscores?
Search engines treat a hyphen as a word separator and an underscore as a word joiner. "url-slug" is two words to a crawler; "url_slug" is one.
How are accented characters handled?
They are transliterated to their closest ASCII equivalent — é becomes e, ü becomes u, ş becomes s. Turkish ı and İ are mapped explicitly, because Unicode decomposition alone gets them wrong.
Should I change a slug after publishing?
Avoid it. The old URL becomes a 404 and any links pointing at it lose their value. If you must, set up a 301 redirect from the old slug to the new one.
Can slugs contain numbers?
Yes, and they are often useful — a version number or a year adds context. Only symbols and whitespace are stripped.
Outils développeur