Text case conversion: upper, lower, title case
A tool for converting text case to various formats.
UPPER CASE: all letters become uppercase.
lower case: all letters become lowercase.
Title Case: the first letter of each word becomes uppercase, the rest — lowercase.
Sentence case: only the first letter of each sentence is capitalized.
camelCase: words are joined without separators, each word except the first starts with a capital letter. Used in JavaScript.
PascalCase: like camelCase, but the first word is also capitalized. Used for classes in C#, Java.
snake_case: words are separated by underscores, all letters are lowercase. Used in Python, Ruby, SQL.
kebab-case: слова разделяются дефисами, все буквы строчные. Используется в URL, CSS-классах, HTML-атрибутах.
CONSTANT_CASE: слова разделяются подчёркиваниями, все буквы заглавные. Используется для констант в JavaScript, Java, C++.
dot.case: слова разделяются точками, все буквы строчные. Используется в именах пакетов Java, конфигурациях.
iNVERSE cASE: инвертирует регистр каждой буквы: заглавные становятся строчными и наоборот.
Text Case Converter: Upper, Lower, camelCase and More Formats
Instantly transform text case — UPPER, lower, Title Case, camelCase, kebab-case, and 6 more formats. Essential for copywriters, developers, and anyone working with text or code.
Text cases overview
Text case determines which letters in a string are uppercase or lowercase. In everyday writing, the main cases are uppercase, lowercase, title case, and sentence case. In programming, many more naming conventions exist, each with specific use cases.
Case reference table
| Case | Example | Use case |
|---|---|---|
| UPPER CASE | HELLO WORLD | Headings, emphasis, abbreviations |
| lower case | hello world | URLs, tags, technical fields |
| Title Case | Hello World | English headings and titles |
| Sentence case | Hello world | Standard prose, sentences |
| iNVERSE cASE | hELLO wORLD | Stylistic effects |
| camelCase | helloWorld | JavaScript, Java variables |
| PascalCase | HelloWorld | Classes, components, types |
| snake_case | hello_world | Python, Ruby, SQL, PHP |
| kebab-case | hello-world | CSS classes, URLs, HTML attributes |
| CONSTANT_CASE | HELLO_WORLD | Constants in most languages |
| dot.case | hello.world | Config files, namespaces |
Code naming conventions
JavaScript / TypeScript
- Variables and functions —
camelCase - Classes and interfaces —
PascalCase - Constants —
CONSTANT_CASE - CSS classes (BEM) —
block__element--modifier
Python (PEP 8)
- Variables and functions —
snake_case - Classes —
PascalCase - Constants —
CONSTANT_CASE
Use cases
- Copywriting — quickly convert headings to Title Case or body text to Sentence case
- Development — transform variable names between camelCase, snake_case, and kebab-case when porting code between languages
- CSS/HTML — generate kebab-case class names from descriptive phrases
- Constants — convert identifiers to CONSTANT_CASE for configuration values
- Data cleanup — normalize inconsistent casing in imported datasets or user input
FAQ
What's the difference between Title Case and Sentence case?
Title Case capitalizes the first letter of every major word (articles and prepositions stay lowercase in English). Sentence case only capitalizes the first word and proper nouns. Title Case is standard for English headings; Sentence case is more common in most other languages.
What case should URLs use?
URLs should be lowercase with hyphens (kebab-case): /my-site/articles/how-to-do-seo. Google recommends hyphens as word separators rather than underscores.
See also: transliteration, word counter, URL encoder.