Text Case Converter
Convert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case, kebab-case, and more.
What is text case conversion?
Text case conversion transforms text between different capitalization patterns used in programming, writing, and content creation. Programming has many conventions: camelCase (JavaScript, Java), PascalCase (classes), snake_case (Python, Ruby), kebab-case (URLs, CSS), SCREAMING_SNAKE (constants). Writing has: Title Case (headlines), Sentence case (paragraphs), UPPERCASE (emphasis), lowercase (text). Converting manually is error-prone for long text. This tool instantly shows your text in 11 different cases – just paste and copy whichever you need. Useful for: code refactoring (changing variable name conventions), URL slug creation, headline writing, brand styling, email subject lines, social media posts.
How to use this tool
- Paste or type text — Any text – single word, sentence, paragraph, long content. Updates instantly as you type.
- View all formats — 11 case options shown simultaneously: UPPER, lower, Title, Sentence, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, iNvErSe, Reversed.
- Click Copy on the format you need — Each format has its own Copy button – one click to clipboard.
Case formats explained
- UPPERCASE – All caps for emphasis or shouting
- lowercase – All lowercase for tags, basic text
- Title Case – First Letter Of Each Word Capitalized (headlines, book titles)
- Sentence case – Only the first letter of sentence capitalized
- camelCase – firstLowerThenCapital – JavaScript, Java variable convention
- PascalCase – SameAsCamelButFirstAlso – class names, React components
- snake_case – words_separated_by_underscores – Python, Ruby variables
- kebab-case – words-with-hyphens – URLs, CSS classes
- SCREAMING_SNAKE_CASE – CONSTANT_NAMES – environment variables, constants
- dot.case – words.separated.by.dots – some configs and namespaces
- InVeRsE – Toggle each character’s case – silly but fun
- Reverse – Reverse character order – puzzles, debugging
Examples
‘The Quick Brown Fox’:
- UPPERCASE: THE QUICK BROWN FOX
- lowercase: the quick brown fox
- Title Case: The Quick Brown Fox
- camelCase: theQuickBrownFox
- PascalCase: TheQuickBrownFox
- snake_case: the_quick_brown_fox
- kebab-case: the-quick-brown-fox
- CONSTANT_CASE: THE_QUICK_BROWN_FOX
- dot.case: the.quick.brown.fox
Tips & best practices
- JavaScript/Java: variables in camelCase, classes in PascalCase, constants in UPPER_CASE
- Python/Ruby: variables in snake_case, classes in PascalCase, constants in UPPER_CASE
- URLs and CSS: kebab-case (hyphen-separated) is standard – SEO friendly
- Database columns: snake_case is conventional – works in all SQL dialects
- Title Case ignores small words (a, the, of) in formal English style – some converters do this, others capitalize all
- Headlines: Title Case for newspapers, Sentence case for modern web (cleaner look)
- Email subject lines: Sentence case for personal, Title Case for professional
Limitations & notes
Title Case implementation is simple (capitalizes first letter of each word) – doesn’t follow AP/Chicago style rules (where ‘and’, ‘or’, ‘of’ stay lowercase). For style-aware Title Case, use specialized tools. Doesn’t preserve internal capitalization (like ‘iPhone’ becomes ‘Iphone’ in Title Case) – manual fix needed for trademarked names.
Frequently Asked Questions
What’s the difference between camelCase and PascalCase?
PascalCase capitalizes the FIRST letter (TheQuickBrownFox). camelCase keeps first letter lowercase (theQuickBrownFox). PascalCase used for classes/types, camelCase for variables/functions. Most languages use both.
Why are there so many naming conventions?
Historical – different language designers chose different styles. Java: camelCase vars + PascalCase classes. Python: snake_case vars + PascalCase classes. JavaScript: camelCase vars + PascalCase classes. SQL: snake_case columns. CSS: kebab-case classes. Just match your language’s convention.
Which case for URL slugs?
kebab-case (hyphen-separated lowercase). Search-engine friendly, easy to read, works in URL syntax without encoding. Example: /about-us, /how-to-cook-pasta. Avoid underscores in URLs.
Does Title Case differ between English and AP style?
Yes. AP Style: capitalize all words EXCEPT certain short ones (a, the, and, but, or, for, nor, on, at, to, with – when not first word). Chicago Style: similar. Strict simple Title Case (this tool): every word capitalized.
Can I use UPPERCASE for emphasis in writing?
Sparingly. Excessive UPPERCASE reads as SHOUTING in modern communication. For emphasis: prefer italic or bold formatting. UPPERCASE acceptable for: warnings (DANGER), one-word emphasis (RESPECT), brand identity, headings in technical docs.
Are hyphens or underscores better?
Depends on context. URLs/CSS: hyphens (-). Programming variables: underscores (_) in Python/Ruby, no separator in camelCase. Filenames: hyphens better for cross-OS compatibility. Hashtags: no separator allowed.
Why doesn’t ‘iPhone’ stay as ‘iPhone’ in Title Case?
Simple Title Case algorithms capitalize first letter of each space-separated word. ‘iPhone’ becomes ‘Iphone’. Specialized text editors preserve trademarked names – this tool uses simple logic. For brand names, manual correction needed.
