Text Case Converter
UPPER · lower · Title · Sentence · camelCase · PascalCase · snake_case · kebab-case · Alternating · Free · Instant
Case Format Reference
| Format | Example | Typical use |
|---|---|---|
| UPPER CASE | HELLO WORLD | Emphasis, headings, constants in code |
| lower case | hello world | Casual text, some metadata fields |
| Title Case | Hello World | Headings, book titles, article titles |
| Sentence case | Hello world | Normal prose, UI labels, descriptions |
| camelCase | helloWorld | JavaScript variables, JSON keys, Java methods |
| PascalCase | HelloWorld | Class names, React components, C# types |
| snake_case | hello_world | Python variables, database columns, file names |
| kebab-case | hello-world | URLs, CSS classes, HTML attributes, npm packages |
| aLtErNaTiNg | hElLo wOrLd | Mocking tone on the internet, sarcasm |
| iNVERSE cASE | hELLO wORLD | Inverting existing case formatting |
Frequently Asked Questions
What is Title Case and how does it differ from Sentence case?
Title Case capitalises the first letter of every major word — typically all words except short conjunctions (and, or, but), prepositions (in, on, at), and articles (a, an, the) when they are not the first word. Sentence case only capitalises the first word of each sentence, like a normal sentence. Title Case is used for headings and titles; Sentence case is used for body text and UI labels.
What is the difference between camelCase and PascalCase?
Both join multiple words with no spaces, capitalising the start of each word — but camelCase keeps the very first letter lowercase (helloWorld), while PascalCase capitalises the first letter too (HelloWorld). In most programming conventions, PascalCase is used for classes and types, while camelCase is used for variables and functions.
Why use snake_case or kebab-case?
Both formats replace spaces with a separator character — underscore for snake_case, hyphen for kebab-case. snake_case is common in Python, database column names, and file names where spaces are not allowed. kebab-case is standard in CSS class names, HTML data attributes, URL slugs, and npm package names.
Is my text stored anywhere?
No. All conversion runs entirely in your browser using JavaScript. Your text is never sent to any server.