Snake Case Converter
Convert camelCase, PascalCase, kebab-case or spaced text into lower snake_case.
Description
Convert spaced, punctuated, camelCase, PascalCase, or kebab-case text to snake_case.
Snake case is widely used for Python variables, database columns, API fields, file names, and configuration keys.
When to use Snake Case Converter
- Format a Python-style identifier
- Split acronym and camelCase boundaries
- Collapse punctuation into underscores
How the calculation works
Case boundaries split first, non-ASCII-alphanumeric runs become underscores, edge underscores are trimmed, and the result is lowercased.
Interpreting the result
Multiple separators collapse and original case is lost. Check naming rules before using the output as a persistent public identifier.
Important limitations
- Non-ASCII letters act as separators.
- Reserved words, uniqueness, and length constraints are not checked.