Case Converter
Convert text between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, and more.
Features
- ✓Convert between 8 popular naming conventions
- ✓Supports camelCase, PascalCase, snake_case, kebab-case, and more
- ✓Handles multi-line input — each line converted independently
- ✓Automatically detects word boundaries in any format
- ✓Real-time conversion as you type
- ✓Copy results with one click
How to Use
- 1Select a target case format from the toggle buttons
- 2Paste or type your text in the input field
- 3The converted result appears instantly in the output
- 4Copy the result using the Copy button
- 5Try different cases by switching the toggle
Examples
Input
hello world example
Output
helloWorldExample
Input
myVariableName
Output
my_variable_name
Input
Some_mixed-Input String
Output
some-mixed-input-string
Input
api base url
Output
API_BASE_URL
What Is a Case Converter?
A case converter transforms text between different naming conventions used in programming, writing, and web development. Each convention has specific rules about capitalization, word separators, and formatting. Developers constantly switch between these styles when working across languages, frameworks, and configuration files.
camelCase starts with a lowercase letter and capitalizes each subsequent word — widely used in JavaScript, TypeScript, and Java for variable and function names. PascalCase is similar but capitalizes the first letter too, making it the standard for class names in most languages and component names in React.
snake_case separates words with underscores and uses all lowercase letters. It is the dominant convention in Python, Ruby, and database column names. CONSTANT_CASE (or SCREAMING_SNAKE_CASE) is the uppercase variant, used for constants and environment variables across nearly every language.
kebab-case uses hyphens between lowercase words. It is the standard for CSS class names, URL slugs, HTML attributes, and CLI flags. Title Case capitalizes the first letter of every word and is used in headings, titles, and display text.
This tool automatically detects word boundaries regardless of the input format. Whether you paste camelCase, snake_case, plain text, or a mix of conventions, the converter splits the words correctly and reassembles them in your chosen format. Multi-line input is supported — each line is converted independently, making it easy to batch-convert lists of variable names, constants, or identifiers.