Case Converter
Convert text between camelCase, snake_case, and other formats
Enter text above to see all case conversions
All processing happens locally in your browser. No data is sent to any server.
About Case Converter
Convert text between common naming conventions used in programming, writing, and data processing. This tool transforms text into camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, Sentence case, and more with a single click. Case conversion is a routine task when adapting variable names between languages, formatting API field names, preparing database column names, or normalizing text for display. All conversion runs locally in your browser.
How to Use Case Converter
- Paste or type text into the input area.
- Select the target case format from the available options.
- View all converted outputs simultaneously.
- Copy any output variant using the copy button next to it.
Case Converter FAQ
Which text cases are supported?
The tool supports camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, Sentence case, dot.case, path/case, and more.
Can I convert multiple lines at once?
Yes. Multi-line input is converted line by line, preserving line breaks.
How does the tool detect word boundaries?
The tool splits on spaces, underscores, hyphens, dots, slashes, and camelCase boundaries to identify individual words before re-joining in the target format.
What is the difference between camelCase and PascalCase?
camelCase starts with a lowercase letter (myVariableName), while PascalCase starts with an uppercase letter (MyVariableName). Both capitalise subsequent words.
When should I use snake_case vs kebab-case?
snake_case is common in Python, Ruby, SQL, and environment variables. kebab-case is common in URLs, CSS class names, CLI flags, and file names.