D

Case Converter

Convert text between camelCase, snake_case, kebab-case, PascalCase, CONSTANT_CASE, and more.

Runs 100% in your browser — nothing is uploaded

About this tool

The Case Converter transforms text between the most common programming naming conventions. Paste any identifier or phrase and instantly see it converted to all supported formats: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, UPPER CASE, and lower case.

Naming conventions vary by language and context: JavaScript functions are camelCase, React components are PascalCase, Python variables and Django URLs are snake_case, CSS class names are kebab-case, and environment variables and constants are CONSTANT_CASE. This tool intelligently splits the input by existing word boundaries — spaces, hyphens, underscores, and camelCase transitions — before rebuilding in the target format.

All conversions run instantly in the browser. No text is sent anywhere.

Frequently asked questions

How does it detect word boundaries?
The converter recognizes spaces, underscores, hyphens, and transitions from lowercase to uppercase. "helloWorld", "hello-world", "hello_world", and "Hello World" all produce the same word list: ["hello", "world"].
Does it handle acronyms?
Acronyms in camelCase (like "JSONParser") are treated as words. "JSONParser" splits as ["j","s","o","n","parser"] if no spaces/underscores are present. For cleaner results, pre-split with spaces or underscores: "JSON Parser".