Case Converter
Convert text between UPPERCASE, lowercase, camelCase, snake_case, kebab-case, PascalCase and more. No data leaves your device.
Conversion Options
Examples of use
- Convert variable names between camelCase and snake_case when porting code
- Format text for headers, titles, or documentation
- Normalize inconsistent naming conventions in a codebase
When to use this tool?
- When renaming variables between different language conventions
- When normalizing text for documentation or content management
- When converting CSS class names or URL slugs
- When generating constant names or enum values from descriptive text
Frequently asked questions
- What is case conversion?
- Case conversion transforms text between different naming conventions used in programming and writing, such as camelCase, snake_case, kebab-case, and others.
- Which case should I use?
- It depends on context: camelCase for JavaScript variables, snake_case for Python/Ruby, kebab-case for CSS and URLs, PascalCase for class names, UPPER_SNAKE_CASE for constants.
- Can I convert entire code snippets?
- Yes, the converter works with any text input. However, it converts all words uniformly, so it's best suited for single identifiers or phrases.