Menu

Menu

Convertir snake case a kebab case en línea

Convertidor de Snake case a Kebab case

¿Necesitas pasar de Snake case a Kebab case? Pega el texto arriba y verás el cambio al momento. Ejemplo: «Hello World Example» → «hello-world-example».

Cómo funciona

Words are lowercase and separated by hyphens (-).

Often used in HTML attributes, CSS classes, and route slugs. Teams often land here from Snake case searches when they already have a draft string and want reliable Kebab case output.

Ejemplo

Suppose you are cleaning up copy before publish:

  • Paste: Hello World Example
  • Choose Kebab case as the output style.
  • Second try: “Quick-Brown Fox” → “quick-brown-fox”.
You get: hello-world-example — ready to copy into your doc, CMS, or codebase.

Acerca de las unidades

Snake case

snake_case identifiers such as user_profile_id.

Helpful reference when your source string already looks like Snake case.

Kebab case

Produces kebab-case tokens that work in URLs and CSS.

This page outputs Kebab case so you can paste into docs, UI, or repositories.

Cuándo usarlo

  • Normalize variable or file names when moving between languages and style guides.
  • Fix accidental caps lock in customer-facing headings before go-live.
  • Prepare slug-friendly strings for URLs, anchors, and design tokens.
  • Compare how a phrase looks in Snake case versus Kebab case before picking a convention.

Preguntas frecuentes

Underscore to hyphen for URLs?

`spring_sale` → `spring-sale`—one of the most direct snake → kebab paths.

npm package from snake repo?

Repos often use snake; published package names frequently use kebab.

CSS from Sass variables?

`$primary_color` style tokens sometimes become `primary-color` classes.

Already hyphenated?

If input uses `-`, they stay; snake input with `_` is the typical case here.

Conclusión

Use this Snake case to Kebab case page when you want fast, readable Kebab case text without a spreadsheet formula or manual retyping. Bookmark it for the next time design, marketing, or engineering needs the same casing call.