Paste your text and convert it to any letter case instantly.
camelCase and PascalCase are common in JavaScript variable/class names; snake_case is common in Python; kebab-case is common in URLs and CSS class names.
Different contexts expect different capitalization styles. Programmers use camelCase or snake_case for variable names depending on the language's conventions, writers need Title Case for headlines, and URLs typically use lowercase kebab-case. Manually retyping text to match each style is slow and error-prone — this tool converts your text into all common styles at once.
camelCase and PascalCase are the default in JavaScript, Java, and C# for variables and class names respectively; snake_case dominates Python and Ruby; kebab-case is the standard for CSS class names and URL slugs; and CONSTANT_CASE is the near-universal convention for constants across almost every language. Picking the convention that matches your codebase's existing style (rather than your personal preference) is what actually matters for readability when other people review your code.
What's the difference between camelCase and PascalCase?
Both join words without spaces, but camelCase starts with a lowercase letter (myVariableName) while PascalCase starts with an uppercase letter (MyVariableName). camelCase is typically used for variables and functions in JavaScript, while PascalCase is used for class and component names.
Why does Title Case sometimes capitalize words I didn't expect?
This tool's Title Case capitalizes the first letter of every word for simplicity. Professional style guides (like AP or Chicago) actually keep small words such as "a," "the," or "of" lowercase unless they start the sentence — if you need that level of precision, a final manual check is worth doing.
Is snake_case or kebab-case better for URLs?
kebab-case (words-separated-by-hyphens) is generally preferred for URLs because search engines treat hyphens as word separators, while underscores in snake_case are sometimes read as one continuous word. For code, the right choice depends entirely on your programming language's conventions.