snake_case to kebab-case Converter
Convert snake_case to kebab-case.
Try an example:
Converting snake_case to kebab-case
Both styles join lowercase words, but snake_case uses underscores and kebab-case uses hyphens. This simply swaps the separator.
How to convert snake_case to kebab-case by hand
- Split the string at each underscore.
- Keep every word lowercase.
- Join the words with hyphens.
Worked example
snake_case_text → snake-case-text
More converters
- camelCase to snake_case
- snake_case to camelCase
- camelCase to kebab-case
- kebab-case to camelCase
- Decimal to Binary
- Binary to Decimal
Frequently asked questions
How do I convert snake_case to kebab-case?
Split the string at each underscore. Keep every word lowercase. Join the words with hyphens. Or just use the converter on this page — it does it instantly. Example: snake_case_text becomes snake-case-text.
What is snake_case_text in kebab-case?
snake_case_text converts to snake-case-text.
Is this converter free and private?
Yes — it is free and unlimited, and the conversion runs entirely in your browser, so nothing is uploaded to a server.