Yueser

kebab-case Converter

Convert words into lowercase with hyphens, so User Profile becomes user-profile. A readable choice for URL paths, CSS class names, and static file names.

How to use
  • Spaces and underscores become hyphens, and letters are lowercased.
  • Before using the result in a URL, check for repeated or leading and trailing hyphens.

FAQ

Should I use hyphens or underscores?

URLs and CSS class names usually take hyphens, while programming variables and database fields often take underscores. Follow your team's existing convention so a project does not mix both.

Can I use the result as a file name?

Usually yes, but avoid reserved characters and overly long names. Before saving a real file, check for repeated hyphens and confirm whether the target system is case-sensitive.