Convert text between nine common case formats: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE. Conversions happen in real time as you type — no click required. Useful for renaming variables, formatting slugs, creating class names, and transforming copy for different contexts.
Choose your target case
Click one of the nine case format buttons at the top. The output updates immediately as you type.
Paste or type your text
Paste text, variable names, sentences, or any text in the left area. The conversion happens in real time.
Copy the result
Click Copy to copy the converted text to clipboard. It's ready to paste into your code, document, or URL.
Download if needed
For longer text, click Download to save the output as a .txt file.
camelCase starts with a lowercase letter and capitalizes the first letter of each subsequent word: myVariableName. It's the standard naming convention for variables and functions in JavaScript, Java, C#, Swift, and most modern languages. It's also used for CSS custom property names in some frameworks.
snake_case uses all lowercase with underscores between words: my_variable_name. It's the standard in Python (PEP 8), Ruby, Rust for variables and functions, and SQL for column names. It's also commonly used for file names and database table names in projects that prefer readability over compactness.
kebab-case uses all lowercase with hyphens between words: my-variable-name. It's used for HTML attributes (data-my-value), CSS class names, CSS custom properties, URL slugs (/my-blog-post), and NPM package names (@scope/my-package). Note that hyphens aren't valid in JavaScript identifiers, so kebab-case is primarily for web and URL contexts.
Both join words without separators and capitalize each word's first letter, but PascalCase capitalizes the first word too: MyVariableName. PascalCase (also called UpperCamelCase) is used for class names and component names in most languages (React components, C# types, Java classes). camelCase is for instances/variables/functions.
CONSTANT_CASE (or SCREAMING_SNAKE_CASE) uses all uppercase with underscores: MY_CONSTANT_VALUE. It's used for constants and environment variables in most languages: MAX_RETRY_COUNT in Python/Java, API_KEY in .env files, #define MAX_SIZE in C/C++. The all-caps convention signals that this value should not be changed at runtime.
Something not working? Report a bug