Case Converter Online
Convert text to camelCase, snake_case, PascalCase, kebab-case and more.
What Is a Case Converter?
A Case Converter is a free online tool that transforms text between different naming conventions used in programming and writing. Whether you need camelCase for JavaScript variables, snake_case for Python, PascalCase for class names, kebab-case for CSS and URLs, CONSTANT_CASE for environment variables, or simple Title Case for headings — this tool converts your text instantly with a single click. Paste any identifier, sentence, or phrase and get all case formats at once.
How to Use the Case Converter
- Paste your text into the input area.
- Click any case format button to convert instantly.
- The result appears in the output panel.
- Click Copy to copy the converted text to your clipboard.
Features
- camelCase — for JS/TS variables and functions
- PascalCase — for class and component names
- snake_case — for Python, Ruby, and database columns
- CONSTANT_CASE — for environment variables and constants
- kebab-case — for CSS classes and URL slugs
- Title Case — for headings and titles
- UPPERCASE and lowercase conversions
- Copy result to clipboard in one click
FAQ
What is camelCase?
camelCase writes compound words with no spaces, where each word after the first starts with an uppercase letter. Example: myVariableName. It is commonly used for variable and function names in JavaScript, Java, and Swift.
What is the difference between snake_case and kebab-case?
snake_case separates words with underscores (my_variable_name) and is common in Python and Ruby. kebab-case separates words with hyphens (my-variable-name) and is common in CSS class names and URL slugs.
What is PascalCase used for?
PascalCase (also called UpperCamelCase) capitalizes the first letter of every word with no separators. Example: MyClassName. It is the standard for class names and component names in most programming languages.
Can I convert multiple lines at once?
Yes. The case converter processes your entire input, converting all text to the selected case format.