📝 Text tools

Case converter

Paste text, choose a case and copy the result: upper, lower, title, sentence, camel, Pascal, snake, kebab, constant, dot, alternating or inverse.

Free · no signup Runs in your browser

Converted textType or paste text above

How do I change the case of my text?

Paste or type your text, choose the case you want and the converted text appears below, ready to copy. You can make it UPPER CASE, lower case, Title Case, Sentence case, or a programming style such as camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE or dot.case. Nothing is uploaded; the conversion happens in your browser.

Why use a case converter

Retyping a heading that was typed in capitals, tidying a pasted list, or turning a title into a URL or a variable name are all small jobs that are tedious by hand. A converter does them in one step and does not miss a letter.

Title case follows a common rule: every word starts with a capital except short words such as 'a', 'the', 'of' and 'and', which stay lower case unless they come first or last. Style guides differ on which small words count, so the result is a good start rather than a final answer. Sentence case capitalises the first letter of each sentence and the word 'I'.

It runs in your browser. What you type is never sent anywhere, and there is no sign-up.

How it works in detail

Words are found by splitting at anything that is not a letter or number, and at a change from lower case to upper case, so 'helloWorld' is read as 'hello world'. UPPER and lower case change every letter. Title Case capitalises each word except short words such as a, an, and, of, the and to, unless they come first or last. Sentence case capitalises the first letter of each sentence, makes the rest lower case, and turns a lone 'i' into 'I'. The programming styles join the words: camelCase and PascalCase with no separator and a capital at each word start (camel keeps the first word lower case), snake_case with underscores, kebab-case with hyphens, CONSTANT_CASE with upper-case underscores and dot.case with dots. aLtErNaTiNg and iNVERSE are for fun. Letters in other alphabets, including accented letters, use your browser's Unicode support.

How to use it

  • Type or paste your text into the first box.
  • Choose the case you want from the list.
  • Read the converted text in the result box.
  • Copy it and paste it where you need it.
  • To try another style, change the choice; the text updates at once.

What changes and what stays the same

What the tool does to your text, and what it leaves alone.

What changes and what stays the same
AspectWhat happens
The wordsKept; only the capital letters and the separators change
PunctuationKept in the plain cases (upper, lower, title, sentence); dropped in the programming styles, which keep only words and numbers
Names and acronymsSentence case cannot know which words are names, so it lowercases them; fix those by hand
Accented lettersHandled with Unicode rules
Line breaksKept in the plain cases
PrivacyThe text stays in your browser: it is not uploaded, saved or logged

When to use it

  • Fixing text typed in capitals or with caps lock on
  • Writing headings and titles consistently
  • Turning a phrase into a variable, file or CSS class name
  • Making a list of names consistent

Problems you may run into

Most problems come from the text you paste, not from the tool.

Problems you may run into, and what to do
What you seeLikely causeWhat to do
Names lose their capitals in sentence caseThe tool cannot know that a word is a nameFix the names by hand, or use Title Case
Title Case capitalises 'The' in the middleA short word that is first or last is capitalisedThat follows the usual title rule; edit if your style guide differs
Programming styles drop my punctuationThey keep only words and numbersUse the plain cases if you need punctuation kept
An acronym like NASA becomes NasaTitle and sentence case lower-case the rest of each wordCorrect acronyms by hand
camelCase is wrong for 'iPhone'The tool splits at the capital letterEdit the result by hand
FormattingThe boxes hold plain text, so bold, colours and links from a document or web page are lost when you paste; the words stay

Mistakes it helps you avoid

  • Using title case for every heading when the style guide says sentence case.
  • Lower-casing proper names, acronyms and brands in sentence case: check them after converting.
  • Using spaces in a file or variable name.
  • Mixing styles inside one project: pick camelCase or snake_case and keep to it.

How it works

Everything happens in your browser as you type.

  • UPPER / lower = every letter changed to capital or small letters
  • Title Case = each word capitalised except short words (a, an, and, of, the, to...) that are not first or last
  • Sentence case = first letter of each sentence capitalised, the rest lower case, and 'i' becomes 'I'
  • camelCase / PascalCase = words joined with no separator; capital at each word start (camel keeps the first word lower case)
  • snake_case / kebab-case / CONSTANT_CASE / dot.case = words joined by _ - _ or . in lower or upper case

Words are found by splitting at anything that is not a letter or number, and at a lower-to-upper letter change (so 'helloWorld' becomes 'hello world'). Letters in other alphabets, including accented letters, are handled with the browser's Unicode support. Sentence case cannot know which words are names or acronyms, so check those after converting.

Example: from a title to a variable name

You have the phrase 'the quick brown fox' and need it in different cases.

  1. Title CaseThe Quick Brown Fox
  2. camelCasetheQuickBrownFox
  3. snake_casethe_quick_brown_fox
  4. kebab-casethe-quick-brown-fox
  5. CONSTANT_CASETHE_QUICK_BROWN_FOX

The same words in five styles

Choose the style your project or style guide uses.

Terms on this page

Title case
Capitalising the main words of a heading and leaving short words lower case.
camelCase
Joining words with no separator, with a capital at the start of each word after the first.

Common questions

What is title case?

Each main word starts with a capital letter, while short words such as 'of', 'the' and 'and' stay lower case unless they begin or end the title. Exact rules vary between style guides.

What is the difference between camelCase and PascalCase?

Both join words with no separator. camelCase starts with a lower-case letter, as in myVariable, and PascalCase starts with a capital, as in MyVariable.

What is snake_case used for?

Joining words with underscores, common for file names, database columns and variables in languages such as Python.

Does it work with accented letters?

Yes. Accented letters and other alphabets are converted using the browser's Unicode rules.

Is my text sent anywhere?

No. The conversion happens in your browser.

Where these numbers come from

Last verified 2026-10-25 The method on this page is checked against the sources above at least once a year. Spotted something out of date? Tell us and we will fix it.

📝 Text tools

Small text jobs done in your browser: counting, converting, comparing and cleaning. What you type never leaves your device.

See all 17 tools in this section