Case Converter
Fix text that was typed with caps lock on, format a heading in Title Case, or turn a phrase into a variable name. Paste your text, click a case and it converts instantly.
Last reviewed:
Besides everyday cases, it supports the cases developers use for naming: camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE. Your text stays in your browser.
How to use this calculator
- Type or paste text into the box.
- Click the case you want. The text in the box is replaced.
- Click again with another case to convert further, or use Copy text.
- Use Clear to start over.
Formula and variables
UPPER = all letters capitals lower = all letters small Title Case = first letter of every word capital Sentence case = first letter of every sentence capital camelCase = words joined, each capitalised except the first
- Word splitting - for code cases, words are split at spaces, underscores, hyphens and lower-to-upper changes in camelCase.
Title Case here capitalises every word. Style guides that keep small words such as 'of' or 'the' in lower case need a manual touch-up.
Worked example
Turn the phrase 'the quick Brown fox' into a variable name.
| Text | the quick Brown fox |
|---|---|
| camelCase | theQuickBrownFox |
| snake_case | the_quick_brown_fox |
| Title Case | The Quick Brown Fox |
- The phrase is split into the, quick, brown and fox.
- For camelCase the first word stays lower case and the others start with a capital letter.
- The words are then joined without spaces.
What changes the result
- Names and acronyms. Converting to lower or sentence case also lowers proper names and acronyms, so check them afterwards.
- Language. Letter case applies to scripts that have it, such as Latin, Greek and Cyrillic. Devanagari has no upper or lower case.
- Special letters. Some letters change length when capitalised, such as the German ß.
Benefits and practical uses
- Fix accidental caps lock text in a click.
- Format headings and sentences consistently.
- Generate variable names for code.
Assumptions and limitations
- Conversion is done by your browser's built-in text functions.
- Title Case capitalises every word.
- Your text is not stored or sent anywhere.
Frequently asked questions
How do I change uppercase text to lowercase?
Paste the text and click 'lower case'.
What is sentence case?
The first letter of each sentence is a capital and the rest is lower case, as in normal writing.
What is the difference between camelCase and PascalCase?
camelCase starts with a lower-case letter (myValue) while PascalCase starts with a capital (MyValue).
Does it work for Hindi?
Hindi script has no upper or lower case, so those conversions leave it unchanged. Any English words in the text are converted.
Is my text safe?
Yes. It is processed on your device and never uploaded.
References
Page last reviewed on . This calculator gives estimates for planning only; it is not financial advice and not an offer from any lender.