Case Converter
Transform text between every common letter-case style instantly. Perfect for developers renaming variables, content creators generating URL slugs, editors fixing all-caps emails, or anyone needing consistent text formatting. Ten different case styles handle any conversion need.
What does this tool do?
The Case Converter transforms text between different capitalization and word-separation conventions. It intelligently detects word boundaries in various input formats — whether words are separated by spaces, joined in camelCase, or connected with underscores or hyphens. The output is available in ten formats: UPPERCASE (all caps), lowercase (no caps), Title Case (First Letter Caps), Sentence case (First letter only), camelCase (lowercaseFirst), PascalCase (UppercaseFirst), snake_case (lower_with_underscores), kebab-case (lower-with-hyphens), CONSTANT_CASE (UPPER_WITH_UNDERSCORES), and aLtErNaTiNg CaSe for playful effects.
How it works
The tool analyzes input text to identify word boundaries using multiple heuristics: whitespace detection, case transitions (camelCase/PascalCase boundaries), and separator characters (underscores, hyphens). Once words are identified, it applies the selected case transformation rules: uppercase/lowercase conversion, title casing rules (keeping small words lowercase in titles), and appropriate separator insertion. The result updates live as you type, with copy-to-clipboard functionality for each output format.
Features
- Ten conversion styles: UPPER, lower, Title, Sentence, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, aLtErNaTiNg
- Instant conversion as you type
- Smart word splitting — handles 'myVar' AND 'kebab-case' AND 'snake_case'
- Copy to clipboard with one click
- Runs entirely in your browser
- Preserves numbers and special characters
- Batch convert large text blocks
How to use
- 1
Paste or type your text
Enter any text into the input box — single words, sentences, paragraphs, code variable names, or entire documents.
- 2
Select a case style
Click any of the ten case-style buttons. The output instantly shows your text transformed to that convention.
- 3
Copy the result
Click Copy on the output box, or select and copy the text. Paste into your document, code editor, or application.
- 4
Try different styles
Experiment with multiple styles to find the best fit. The input text stays unchanged so you can switch between outputs freely.
Common use cases
Code refactoring
Developers quickly rename variables between camelCase, PascalCase, snake_case, and CONSTANT_CASE to match different language conventions or team style guides.
Content formatting
Editors convert screaming all-caps emails to readable sentence case, or transform titles between Title Case and sentence case for different contexts.
URL slug generation
Convert article titles or product names to kebab-case for clean, SEO-friendly URL slugs.
Data normalization
Standardize text data from multiple sources into consistent case for databases, spreadsheets, or analysis.
Tips & best practices
- camelCase starts with lowercase (myVariable); PascalCase starts uppercase (MyVariable) — use Pascal for class names, camel for variables
- Title Case keeps small words (a, an, the, and, but) lowercase unless they're the first word
- kebab-case is ideal for URLs and CSS class names; snake_case is common in Python and Ruby
- CONSTANT_CASE (ALL_CAPS_WITH_UNDERSCORES) is standard for environment variables and configuration keys