Case Converter
Our Case Converter switches any block of text between eight common capitalization styles — UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, and kebab-case — with a live word and character count alongside it.
How to Use the Case Converter
1. Enter Your Text
- Type or paste a sentence, heading, or identifier
- Works on single words or full paragraphs
2. Pick a Case
- Click any of the eight case buttons
- The result updates immediately, and stays live as you keep typing
3. Copy the Result
- Copy the converted text with one click
- Word and character counts update alongside it
Key Features
Prose Cases
- UPPERCASE: every letter capitalized
- lowercase: every letter lowercased
- Title Case: first letter of each word capitalized
- Sentence case: first letter of each sentence capitalized, rest lowercase
Identifier Cases
- camelCase: words joined with no separator, first word lowercase
- PascalCase: words joined with no separator, every word capitalized
- snake_case: words joined with underscores, all lowercase
- kebab-case: words joined with hyphens, all lowercase
Use Cases
1. Software Development
- Renaming a variable, function, or database column to match a project's naming convention
- Converting a spec's plain-English field names into
camelCaseorsnake_caseidentifiers - Turning a page title into a
kebab-caseURL slug or CSS class name
2. Writing & Editing
- Fixing text that was typed with Caps Lock stuck on
- Converting a heading to Title Case for a style guide, or Sentence case for body copy
- Cleaning up text pasted from a source with inconsistent capitalization
3. Content & Data Prep
- Normalizing a spreadsheet column of names or labels to one consistent case
- Preparing constant names (
SCREAMING_SNAKE_CASE-adjacent uses) from descriptive text - Standardizing filenames or config keys before importing them into a system
Technical Features
- Smart Word Splitting: Recognizes spaces, hyphens, underscores, and existing camelCase/PascalCase boundaries as word breaks
- Live Conversion: Updates as you type, no button to re-click after editing
- Word & Character Counts: See length at a glance without a separate tool
- Round-Trippable Input: Convert an existing
snake_caseorcamelCasestring into any of the other seven styles
Why Use Our Case Converter
1. Covers Every Common Style
- Four prose-oriented cases and four identifier-oriented cases
- One tool instead of remembering separate conversion rules for each
2. Handles Real-World Text
- Understands identifier boundaries, not just spaces
- Works on single words, full sentences, or multi-paragraph text
3. Privacy Focused
- Client-side processing only
- No text is ever transmitted or stored
- Works entirely in your browser
Understanding Text Case Conventions
Why So Many Styles Exist
Prose styles (Title Case, Sentence case) exist for readability in headings and body text. Identifier styles (camelCase, PascalCase, snake_case, kebab-case) exist because most programming languages and file systems don't allow spaces in names, so words get joined together with a consistent, parseable convention instead.
Where Each Identifier Style Is Used
- camelCase: Common for variable and function names in JavaScript, Java, and many other languages
- PascalCase: Common for class and component names, and for type names in many typed languages
- snake_case: Common in Python, Ruby, and SQL column names
- kebab-case: Common in URL slugs, HTML/CSS class names, and command-line flags
Splitting Rules
Converting into an identifier case requires first splitting the input into individual words. This tool treats whitespace, hyphens, and underscores as explicit separators, and also detects an existing camelCase or PascalCase boundary (a lowercase letter followed by an uppercase letter) as an implicit word break — so userFirstName splits into user, First, Name just like user first name would.
Remember: converting text between cases is a formatting change only — it doesn't alter the underlying words, so round-tripping through multiple cases (camelCase → snake_case → PascalCase) reliably returns to the same word boundaries each time.