Type or paste text to instantly see all 8 case variants with one-click copy.
Start typing above to see all case variants
Type or paste text into the input field. The tool splits the input on spaces, hyphens, and underscores to identify word boundaries, then applies each of the 8 transformations in real time. Click Copy next to any format to copy just that variant to your clipboard. No button press needed — results update on every keystroke.
camelCase writes compound words without spaces, capitalising every word after the first — e.g. "myVariableName". It is the standard convention for variables and functions in JavaScript, Java, and Swift.
snake_case separates words with underscores, all lowercase — e.g. "my_variable_name". It is the dominant convention in Python (PEP 8), Ruby, SQL column names, and Linux file names.
Both join words without spaces, but PascalCase capitalises every word including the first (MyComponent), while camelCase keeps the first word lowercase (myComponent). PascalCase is for class names and React components; camelCase is for variables.
kebab-case joins words with hyphens in all lowercase — e.g. "my-component-name". It is used for CSS class names, URL slugs, and HTML file names. Also called spinal-case or lisp-case.
More free tools