Case Converter
Convert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case and more.
What is a text case converter?
A text case converter transforms text between different capitalization styles: UPPER CASE, lower case, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, and more. Instead of manually retyping text, paste it in and convert instantly. This tool is essential for programmers working with different naming conventions and writers who need to fix capitalization.
Programming languages use specific naming conventions: JavaScript prefers camelCase for variables and PascalCase for classes, Python uses snake_case, and CSS uses kebab-case. Converting between these styles manually is tedious and error-prone. Writers often need to convert headlines to Title Case or fix text accidentally typed in caps lock.
Case styles explained
- UPPER CASE โ all letters capitalized. Used for acronyms, constants, and emphasis.
- lower case โ all letters in lowercase. Common for CSS class names and URL slugs.
- Title Case โ capitalize the first letter of each major word. Used for headings and titles.
- Sentence case โ capitalize only the first word and proper nouns. Standard for body text.
- camelCase โ no spaces, each word capitalized except the first. Standard for JavaScript variables.
How to use this tool
Paste or type your text, then click the desired case style button. The converted text appears instantly and can be copied with one click. The tool preserves special characters, numbers, and punctuation while converting only alphabetic characters.
Naming conventions in programming
Consistent naming conventions improve code readability. camelCase and PascalCase are standard in JavaScript, TypeScript, and C#. snake_case is preferred in Python, Ruby, and Rust. kebab-case is used in CSS, HTML attributes, and URL slugs. SCREAMING_SNAKE_CASE is used for constants in many languages. This tool helps convert between all these styles when refactoring code or adapting code from one language to another.
Frequently asked questions
What is the difference between Title Case and Sentence Case?
Title Case capitalizes the first letter of each major word (articles like 'a', 'the', and prepositions like 'in', 'at' are usually lowercase unless they start the title). Sentence case capitalizes only the first word and proper nouns, just like a regular sentence. Academic styles (APA, Chicago, MLA) have specific Title Case rules for which words to capitalize.
Can this tool handle non-English text?
Yes. The tool supports Unicode characters including accented letters (like e with accent, u with umlaut), Cyrillic, Greek, and other scripts that have uppercase/lowercase distinctions. Languages without case distinction (like Chinese, Japanese, Arabic) pass through unchanged. The tool correctly handles locale-specific rules like the Turkish dotted and dotless I.