Text Case Converter

Convert text between camelCase, snake_case, kebab-case, PascalCase, UPPER_CASE, Title Case, and more

About This Tool

Different programming languages and contexts use different naming conventions. JavaScript uses camelCase, Python uses snake_case, CSS uses kebab-case, and constants are SCREAMING_SNAKE_CASE. Manually converting between them is tedious and error-prone. This tool instantly converts any text between 10 common case formats. Paste a variable name, a sentence, or a list of identifiers โ€” get every variation at once. It intelligently splits input on spaces, underscores, hyphens, dots, and camelCase boundaries, so it works regardless of your starting format. Useful for developers switching between languages, renaming variables during refactoring, generating CSS class names from JavaScript props, or converting database column names to API field names.

How to Use

1. Type or paste your text in the input field 2. All case conversions appear instantly below 3. Click "Copy" next to any result to copy it 4. Use "Copy Link" to share a specific conversion with a colleague

Frequently Asked Questions

What is camelCase?
camelCase starts with a lowercase letter, and each subsequent word starts with an uppercase letter โ€” no separators. Example: 'getUserName'. It's the standard convention in JavaScript, Java, and TypeScript for variable and function names.
What is the difference between camelCase and PascalCase?
PascalCase is the same as camelCase but the first letter is also uppercase. Example: 'GetUserName'. It's used for class names in most languages, React components, and C# method names.
When should I use snake_case vs kebab-case?
snake_case (words_separated_by_underscores) is standard in Python, Ruby, Rust, and SQL. kebab-case (words-separated-by-hyphens) is used in CSS, HTML attributes, URL slugs, and CLI arguments. They serve the same purpose in different contexts.
What is SCREAMING_SNAKE_CASE?
SCREAMING_SNAKE_CASE (also called CONSTANT_CASE) is snake_case in all uppercase. Example: 'MAX_RETRY_COUNT'. It's the universal convention for constants in virtually every programming language.
How does the tool detect word boundaries?
The converter splits text on spaces, underscores, hyphens, dots, and camelCase transitions (lowercase-to-uppercase). This means it correctly converts 'getUserName', 'get_user_name', 'get-user-name', and 'get user name' to all other formats.

Related Tools