Convert strings between camelCase, PascalCase, snake_case, kebab-case and 8 naming formats
Zero Dependencies ยท Works OfflineThe String Case Converter is a free online developer tool that converts strings between 8 naming conventions: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, path/case, and Sentence case. It supports batch processing, auto-detects input format, and is ideal for code refactoring, API naming conventions, and database field mapping. All processing happens locally in your browser.
1. Enter the string to convert in the input box, supports multi-line batch input.
2. The tool auto-detects format and shows all 8 conversion results in real-time.
3. Click the copy button on any result row to copy a single result.
4. Click "Copy All" to get all format conversions.
Batch convert JavaScript camelCase variables to Python snake_case or vice versa.
Unify API field naming conventions, converting between JSON camelCase and database snake_case.
Switch between BEM kebab-case and CSS Modules camelCase.
Naming conventions vary by language: JavaScript/Java prefer camelCase, Python/Ruby use snake_case, HTML/CSS use kebab-case, C# uses PascalCase, environment variables use CONSTANT_CASE. The conversion works by first tokenizing (splitting by uppercase letters, underscores, hyphens, dots, slashes), then recombining per target format. Consecutive uppercase letters (e.g., HTMLParser) are kept as a whole to avoid incorrect splitting.
8 formats: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, path/case, and Sentence case.
Auto-detects separators (underscores, hyphens, uppercase letters, dots, slashes) to determine format.
Yes. Enter one string per line for batch conversion.
Consecutive uppercase letters (like HTML in HTMLParser) are kept as a whole, not incorrectly split.
No. All conversion happens locally in your browser.
camelCase starts with lowercase (myVariable), PascalCase starts with uppercase (MyVariable).