DevPad

String Case Converter — Free Online Converter

Convert text between camelCase, snake_case, kebab-case, and more

All processing happens locally. No data is sent to any server.

Different programming languages and frameworks use different naming conventions. Our String Case Converter transforms text between all major case formats with a single click. Supported formats: camelCase (JavaScript), PascalCase (React components), snake_case (Python, Ruby), kebab-case (CSS, URLs), CONSTANT_CASE (constants), Title Case (headings), and plain upper/lower case. The converter intelligently splits words by camelCase boundaries, hyphens, underscores, and other separators, then rejoins them in the target format. Paste any text — "helloWorld", "hello-world", "hello_world", "Hello World" — and see instant conversion results. This is invaluable when refactoring code across languages, converting API field names, or ensuring consistent naming in documentation and configuration files. All processing happens in your browser. Your data never leaves your device. For related text tools, try our [JSON Formatter](/tools/json-formatter) to format code, or [Regex Tester](/tools/regex-tester) to test patterns.

FAQ

How does word splitting work?

We split on camelCase boundaries (helloWorld → hello world), hyphens, underscores, spaces, and other non-alphanumeric characters. This means any common format is recognized automatically.

Does it handle acronyms?

The converter treats consecutive uppercase letters as a single word unit (e.g., "parseJSON" → "parse_json"). Special handling for acronyms like "XML" or "HTTP" may be added in future versions.