What is kebab-case?

Kebab-case is a naming convention where words are separated by hyphens and written in lowercase. For example: "my-variable-name" or "get-user-by-id". It is commonly used in URLs (e.g., "how-to-make-pizza"), CSS class names, and some programming contexts. Kebab-case is also known as spinal-case or hyphen-case. It is similar to slug format.

Related tools

Back to Glossary

People Also Used