Case Converter
Change text to UPPERCASE, lowercase, Title Case or Sentence case — or convert names to camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE for code. One click, live as you type.
Text Cases and Naming Conventions
From headlines to variable names — every case has its place.
Title Case here is smart: it capitalizes major words but keeps short articles, conjunctions and prepositions (a, an, the, and, of, in, on, to…) lowercase unless they start or end the title or follow a colon — close to AP and Chicago style. Hyphenated words are capitalized on both sides (“Self-Driving”).
Sentence case lowercases everything, then capitalizes the first letter of each sentence and the pronoun “I”. With Keep acronyms on, words like NASA, HTML, iPhone and JavaScript stay exactly as you wrote them.
The code cases split text into words at spaces, punctuation and existing case changes, so XMLHttpRequest, user_id, user-id and User ID all convert cleanly. Each line is converted separately, so you can paste a list.
Remove accents turns “Crème brûlée” into cremeBrulee instead of crèmeBrûlée — safer for identifiers, CSS classes and file names.
Which Case Should I Use?
Common naming conventions in programming and on the web.
| Case | Example | Typically used for |
|---|---|---|
| camelCase | userFirstName | JavaScript / Java / C# variables and functions, JSON keys |
| PascalCase | UserFirstName | Classes, types, React components, C# methods |
| snake_case | user_first_name | Python, Ruby, Rust variables, SQL columns |
| CONSTANT_CASE | USER_FIRST_NAME | Constants, environment variables |
| kebab-case | user-first-name | URLs, CSS classes, HTML attributes, file names |
| Train-Case | User-First-Name | HTTP headers (Content-Type) |
| dot.case | user.first.name | Config keys, i18n message keys, package names |
| Title Case | The Lord of the Rings | Headlines, page titles, book and article titles |
| Sentence case | The lord of the rings | UI labels, buttons, many style guides' headings |
How to Use the Case Converter
Get your result in under ten seconds.
Paste your text
Enter a headline, paragraph, or a list of names — one per line.
Pick a case
Click any case button. The result updates live as you keep typing.
Copy it
Copy or download the result, or use it as the new input to chain conversions.
Why Use the Case Converter on Developers Web Tools
Fast, accurate and private — built for developers.
Smart Title Case
Small words stay lowercase, hyphenated words are handled, and the last word is always capitalized.
Keeps acronyms
NASA, HTML, iPhone and JavaScript survive Title and Sentence case untouched.
Developer cases
camel, Pascal, snake, CONSTANT, kebab, Train and dot case — splitting existing identifiers correctly.
Bulk friendly
Convert hundreds of lines at once; code cases work line by line.
Unicode-aware
Works with accented, Greek and Cyrillic letters; optionally strips accents for identifiers.
Private
Text is converted locally in your browser and never uploaded.
Frequently Asked Questions
Articles (a, an, the), coordinating conjunctions (and, but, or, nor, for, so, yet) and short prepositions (as, at, by, in, of, off, on, per, to, up, via, from, into, with, over) — unless they are the first or last word or follow a colon.
Capitalize Each Word uppercases the first letter of every word, including “a”, “of” and “the”. Title Case follows headline style rules and keeps those small words lowercase.
Words are split at spaces, punctuation and case changes, so getHTTPResponse becomes get_http_response in snake_case and user-id becomes userId in camelCase.
If the whole input is in capitals, acronyms can't be told apart from normal words, so everything is converted. Turn off Keep acronyms to force full conversion in any case.
Yes. Put one name per line — code cases convert each line separately and keep the line breaks.
No. Conversion happens locally in your browser; nothing is uploaded or saved.