Home › Generators & Text Tools › Case Converter
Case Converter
The Case Converter changes your text into UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, kebab-case, or alternating case in one click. Paste your text, pick a style, and copy the result — with live word, character, and line counts as you type. It is free, runs in your browser, and never saves what you paste.
How it works
Case means which letters are capital and which are small, and each style has its own rule. UPPERCASE makes every letter capital, which suits headings, warnings, and labels that need to stand out. Lowercase makes every letter small, which suits web addresses and file names. Title Case capitalises the first letter of every word, the way book and article titles are written. Sentence case capitalises only the first letter of each sentence, the way normal writing works — the converter also capitalises the word "I" and leaves other words small.
The programmer styles join words without spaces. camelCase starts with a small letter and capitalises each later word, like helloWorld, and is the standard for names in JavaScript. snake_case joins words with underscores, like hello_world, and is common in Python and in file names. kebab-case joins words with hyphens, like hello-world, and is common in web addresses and CSS class names. Alternating case switches capitals on and off letter by letter, like hElLo WoRlD, which is mostly used for fun or for playful social media text.
The counts update live as you type, so you always know the size of your text: words are counted by splitting on white space, characters include spaces and punctuation, and lines are counted by line breaks. The converter handles mixed input gracefully — if you paste text that is already in snake_case and ask for Title Case, it treats the underscores as word breaks first, so hello_world becomes Hello World, not Hello_world. Numbers and punctuation are left exactly as they are.
Worked example
Take the sentence "hello world, this is a case converter test" and convert it to Title Case.
Step 1: Paste the sentence into the box. The live count reads 8 words, 42 characters, 1 line.
Step 2: Choose Title Case. The converter splits the sentence into its eight words: hello, world, this, is, a, case, converter, test.
Step 3: It capitalises the first letter of each word and makes the rest small: Hello, World, This, Is, A, Case, Converter, Test.
Step 4: It joins the words back with single spaces and keeps the comma after "World".
The tool shows exactly this: Hello World, This Is A Case Converter Test. Switch the style to snake_case and the same sentence becomes hello_world_this_is_a_case_converter_test — punctuation is dropped in programmer styles, so the comma after "world" disappears. Switch to UPPERCASE and it becomes HELLO WORLD, THIS IS A CASE CONVERTER TEST.
FAQ
What is a case converter?
A case converter changes the capitalisation of text. It can turn a sentence into all capitals, all lower case, Title Case, Sentence case, or a programmer style such as camelCase, snake_case, or kebab-case, without you retyping anything.
What is the difference between Title Case and Sentence case?
Title Case capitalises the first letter of every major word, as in a book title: The Quick Brown Fox. Sentence case capitalises only the first letter of the sentence and proper nouns, as in normal writing: The quick brown fox.
What is camelCase used for?
camelCase joins words together with no spaces and capitalises the first letter of each word after the first, like myVariableName. It is the standard style for variable and function names in JavaScript and many other programming languages.
What is the difference between snake_case and kebab-case?
snake_case joins words with underscores, like my_variable_name, and is common in Python and in file names. kebab-case joins words with hyphens, like my-variable-name, and is common in web addresses and CSS class names.
Does the case converter save my text?
No. The conversion runs entirely in your browser and your text is never sent to a server or saved. Closing the page clears it.