Text Case Converter – Convert Text to Any Case Instantly
Instantly convert text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case and more. Paste your text and transform it in one click — free, no signup required.
Text Case Types Explained
| Case Type | Example | Common Use |
| UPPERCASE | HELLO WORLD | Headings, emphasis, acronyms |
| lowercase | hello world | URLs, CSS class names, informal text |
| Title Case | Hello World | Book titles, headings, names |
| Sentence case | Hello world | Normal writing, social media posts |
| camelCase | helloWorld | JavaScript variables, JSON keys |
| PascalCase | HelloWorld | Class names in Python, Java, C# |
| snake_case | hello_world | Python variables, database column names |
| kebab-case | hello-world | HTML/CSS class names, URL slugs |
When to Use Each Case
In Programming
- JavaScript — variables use camelCase (myVariable), classes use PascalCase (MyClass), constants use UPPER_SNAKE_CASE (MAX_SIZE)
- Python — variables and functions use snake_case (my_variable), classes use PascalCase (MyClass)
- CSS — class names and IDs typically use kebab-case (.nav-bar, #main-content)
- HTML — attribute values use lowercase, custom data attributes use kebab-case (data-user-id)
In Writing
- News headlines — Title Case in most publications
- Email subjects — Sentence case is modern standard; Title Case also acceptable
- Social media — Sentence case feels most natural and readable
- Legal documents — UPPERCASE for defined terms and section headings
💡 Title Case rules: Capitalise the first and last words always. Capitalise nouns, verbs, adjectives, adverbs. Don't capitalise articles (a, an, the), prepositions (of, in, on) or conjunctions (and, but, or) unless they are the first or last word.
Frequently Asked Questions
How do I convert a long document to Title Case?Paste the entire document into this converter and select Title Case. The converter handles punctuation correctly — it capitalises the first word after a full stop and does not capitalise articles mid-sentence.
What is the difference between camelCase and PascalCase?camelCase starts with a lowercase letter (firstName). PascalCase starts with an uppercase letter (FirstName). Both use uppercase letters at the start of each subsequent word. PascalCase is also called UpperCamelCase.
Can I convert code variable names using this tool?Yes — paste your variable names and convert between snake_case (Python style), camelCase (JavaScript style) and PascalCase (Java/C# class names).
Is there a character limit?No — convert documents of any length instantly.