Case Converter β UPPERCASE, lowercase, Title, camelCase
Convert any text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and dot.case. Type or paste, pick the case, copy.
Every case style explained
- UPPERCASE β every letter capitalised. Use for headings, acronyms, warnings.
- lowercase β every letter small. Use for casual, modern aesthetics or normalising input.
- Title Case β Each Major Word Capitalised. Use for book titles, song titles, article headings (US style).
- Sentence case β Only the first letter and proper nouns capitalised. Use for ordinary prose, UI labels, button text (modern style).
- camelCase β firstWordLowerThenCapitalise. Standard for JavaScript variable and function names.
- PascalCase β EveryWordCapitalised. Standard for class names in most languages, also React components.
- snake_case β words_joined_by_underscores. Standard for Python variables, database columns, file names.
- kebab-case β words-joined-by-hyphens. Standard for URLs, CSS classes, HTML attributes, file names.
- CONSTANT_CASE β UPPERCASE_WITH_UNDERSCORES. Standard for environment variables, configuration constants.
- dot.case β words.joined.by.dots. Used in some namespacing conventions and config files.
- aLtErNaTiNg cAsE β sarcastic / mocking. Internet meme usage.
- iNVERSE β swaps the case of every letter.
When you need each case
Writing and editing: Title Case for titles, Sentence case for body text, UPPER for warnings. Programming: camelCase for JS variables, PascalCase for class names, snake_case for Python, kebab-case for URLs and CSS, CONSTANT_CASE for env vars. Marketing: Title Case for SEO titles in the US; Sentence case in the UK and most modern brand style guides.
Title Case β the rules
Title Case capitalises the first letter of every "major" word. The classic rule excludes articles (a, an, the), short prepositions (of, in, on, at, to, by, for) and short conjunctions (and, or, but, nor, yet) unless they're the first or last word. So "The Lord of the Rings" not "The Lord Of The Rings". This tool follows the AP / Chicago middle-ground rule (more permissive than strict APA).
Programming cases β quick reference
| Language | Variables | Classes | Constants |
|---|---|---|---|
| JavaScript / TypeScript | camelCase | PascalCase | CONSTANT_CASE |
| Python | snake_case | PascalCase | CONSTANT_CASE |
| Java / C# | camelCase | PascalCase | CONSTANT_CASE |
| Ruby | snake_case | PascalCase | CONSTANT_CASE |
| Rust / Go | snake_case (Rust), camelCase (Go) | PascalCase | CONSTANT_CASE |
| SQL | snake_case (typical) | β | β |
| CSS | kebab-case | β | β |
| HTML attributes | kebab-case | β | β |
FAQs
Will this preserve emojis and special characters?
Yes β only ASCII letters change case. Emojis, numbers and symbols pass through.
Does Title Case capitalise every word?
No β articles, short prepositions and short conjunctions stay lowercase unless they're the first or last word.
Is anything uploaded?
No. Case conversion happens in your browser.
Will it handle multi-line text?
Yes β newlines are preserved in all modes.
What's the difference between camelCase and PascalCase?
camelCase starts with a lowercase letter; PascalCase starts with a capital. Otherwise identical.