Text Case Converter
Paste · Convert · Copy
Input
Results appear here as you type.
Frequently asked questions
- What is camelCase?
- camelCase joins words together with no spaces, capitalising the first letter of each word except the first: "myVariableName". It is the standard naming convention for variables and functions in JavaScript, Java, Swift, and many other languages.
- What is PascalCase?
- PascalCase is like camelCase but the first word is also capitalised: "MyVariableName". It is commonly used for class names, components (React), and type names across most programming languages.
- What is snake_case?
- snake_case separates words with underscores, all in lowercase: "my_variable_name". It is the standard in Python for variables and functions, and is widely used in database column names and file names.
- What is kebab-case?
- kebab-case separates words with hyphens, all in lowercase: "my-variable-name". It is the standard for CSS class names, HTML attributes, URL slugs, and file names in web projects.
- What is SCREAMING_SNAKE_CASE?
- SCREAMING_SNAKE_CASE is snake_case in all capitals: "MY_VARIABLE_NAME". It is the conventional style for constants and environment variables in most programming languages (e.g. MAX_RETRIES, API_BASE_URL).
- What is Title Case?
- Title Case capitalises the first letter of every word: "My Variable Name". It is used for headings, titles, and proper nouns in written text, though style guides vary on whether small words like "and" or "the" should be capitalised.
- What is Sentence case?
- Sentence case capitalises only the first letter of the first word: "My variable name". It reads naturally as plain text and is the preferred style for UI labels, error messages, and body copy in most design systems.
- What is dot.case?
- dot.case separates words with dots, all lowercase: "my.variable.name". It appears in package names (e.g. com.example.app), some configuration keys, and certain logging frameworks.