What is the difference between camelCase and PascalCase?+
camelCase starts with a lowercase letter (myVariable), while PascalCase starts with an uppercase letter (MyVariable). camelCase is standard in JavaScript/TypeScript for variables and functions. PascalCase is used for class and component names.
What is snake_case used for?+
snake_case uses underscores between words and all lowercase letters. It's the standard naming convention in Python, Ruby, and SQL column names.
What is kebab-case used for?+
kebab-case uses hyphens between words and all lowercase letters. It's used in HTML attributes, CSS class names, and URL slugs.
What is title case?+
Title case capitalises the first letter of each major word. Style guides differ - AP Style and Chicago Manual have different rules about which words to capitalise. This tool uses a general convention.
What are the rules for title case capitalisation?+
Generally capitalise all nouns, verbs, adjectives, and adverbs. Do not capitalise short prepositions (in, on, at), articles (a, an, the), or coordinating conjunctions (and, but, or) unless they start the title. The first and last word are always capitalised regardless of type.
What is the difference between camelCase and PascalCase?+
camelCase starts with a lowercase letter and capitalises each subsequent word: myVariableName. PascalCase (also called UpperCamelCase) starts with an uppercase letter: MyClassName. camelCase is standard for JavaScript variables and functions; PascalCase is standard for classes, React components, and TypeScript types.
When should I use sentence case instead of title case?+
Sentence case (only the first word and proper nouns capitalised) is standard for body text, product descriptions, UI labels, and most digital content. Use title case for blog post titles, article headings, and formal document titles. Google recommends sentence case for UI elements.
Can I convert text back after changing the case?+
Yes. The tool is non-destructive - your original text remains in the input field. Paste the converted text back in and apply a different case transformation. For example, convert to camelCase first, then to snake_case if you change your mind.