Menu

Menu

Convertir camel case a snake case en línea

Convertidor de Camel case a Snake case

¿Necesitas pasar de Camel case a Snake 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 underscores (_).

Popular in Python, Ruby, and SQL column names. Teams often land here from Camel case searches when they already have a draft string and want reliable Snake case output.

Ejemplo

Suppose you are cleaning up copy before publish:

  • Paste: Hello World Example
  • Choose Snake 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

Camel case

camelCase identifiers such as userProfileId.

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

Snake case

Produces snake_case tokens that fit Python and SQL conventions.

This page outputs Snake 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 Camel case versus Snake case before picking a convention.

Preguntas frecuentes

Will `userProfile` become `user_profile`?

Only if you separate words with spaces, hyphens, or underscores first (`user Profile` → `user_profile`). Mid-word capitals alone are not split.

Python from JavaScript field?

Paste `user profile` derived from camel by adding spaces, then snake_case here—or edit manually for precision.

Common misconception?

Automatic camelCase → snake_case needs word boundaries. This tool is honest about that limit.

Already `user_profile`?

Underscores stay; letters lower case.

Conclusión

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