HassleFreeTools

Case Converter

Change text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case and more. The result updates as you type.

0 characters · 0 lines

Convert to

Every letter becomes a capital: HELLO WORLD.

Runs entirely in your browser. Your files and text are not uploaded.

How to use Case Converter

  1. Step 1: Add your text

    Type or paste text into the box. Line breaks and spacing are kept.

  2. Step 2: Pick a case

    Choose a style such as Title Case, Sentence case or snake_case. The result updates straight away.

  3. Step 3: Copy or download

    Copy the result to your clipboard or download it as a .txt file.

How each conversion works

  • UPPERCASE and lowercase change every letter and nothing else. Spaces, punctuation, numbers and line breaks stay where they are.
  • Title Case capitalises the first letter of each word. Articles, short conjunctions and short prepositions (a, an, the, and, but, or, nor, for, as, at, by, in, of, on, per, to, via and vs) stay in lower case unless they are the first or last word of a line, or follow a colon or the end of a sentence. Prepositions of four or more letters, such as with and from, are capitalised, as in AP and APA style. Each part of a hyphenated word counts as a word, so up-to-date becomes Up-to-Date.
  • Sentence case puts a capital at the start of each sentence (after a full stop, question mark or exclamation mark) and at the start of each line, keeps I, I'm and I've in capitals, and turns everything else into lower case.
  • camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and dot.case treat spaces and punctuation as word breaks and join the words with the chosen style. Words already written in camelCase or PascalCase are split first, so XMLHttpRequest becomes xml_http_request. Apostrophes inside words are dropped (don't becomes dont), and numbers stay attached to the word before them (html5Parser becomes html5_parser).
  • aLtErNaTiNg makes small and capital letters take turns, starting with a small letter. InVeRsE swaps the case of every letter.

Each line is converted on its own. In the identifier styles that means every line becomes a separate name, so you can convert a whole list of column or variable names at once.

Acronyms, brand names and links

In Title Case and Sentence case, words whose capitals carry meaning are kept as you typed them: acronyms such as NASA or GST, plurals such as PDFs, and mixed-case names such as iPhone, eBay or McDonald. Turn off "Keep acronyms and mixed-case words" if you want them converted as well. When a whole line is written in capitals, the tool cannot tell acronyms apart from ordinary words, so every word on that line is converted.

Web addresses, e-mail addresses, file names and dotted abbreviations such as example.com, e.g. or U.S.A. are left unchanged in these two modes.

Other languages

Conversion uses the Unicode case rules built into your browser. Accented letters (é, ü, ç), Greek and Cyrillic convert correctly, and the German ß becomes SS in capitals. Scripts without capital letters, such as Hindi, Tamil or Chinese, are left as they are; camelCase and PascalCase join their words without a separator, while the other identifier styles add underscores, hyphens or dots between them.

Privacy

The conversion runs in your browser. Your text is not uploaded or stored, and it disappears when you close the page.

Limitations

  • Title Case follows one consistent set of rules. Style guides such as Chicago, APA and AP disagree about words like with, from and if, so check headings that must follow a particular guide.
  • Sentence case cannot recognise names and places, so London becomes london unless it starts a sentence. Every new line also starts a sentence, so remove line breaks in the middle of sentences first (common in text copied from a PDF).
  • Abbreviations other than e.g., i.e., Mr, Mrs, Ms, Dr, Prof and vs can be read as the end of a sentence, which gives the next word a capital.
  • Turkish and Azerbaijani dotted and dotless i follow the general Unicode rules: i becomes I, not İ.
  • Texts longer than 1 million characters are not converted. Split them into smaller parts.

Frequently asked questions

Does the case converter change anything apart from letters?

UPPERCASE, lowercase, Title Case, Sentence case, aLtErNaTiNg and InVeRsE only change letters. Spacing, punctuation, numbers and line breaks stay as they are. The identifier styles (camelCase, snake_case and the others) remove spaces and punctuation, because those styles cannot contain them.

Why did NASA stay in capitals when I chose Title Case?

Words with more than one capital, or with a capital after a small letter, are treated as acronyms or brand names (NASA, PDFs, iPhone) and kept as typed. Turn off "Keep acronyms and mixed-case words" to convert them too. If the whole line is in capitals, every word is converted anyway.

Which words stay lower case in Title Case?

a, an, the, and, but, or, nor, for, as, at, by, in, of, on, per, to, via and vs. They are still capitalised when they are the first or last word of a line, or come straight after a colon or the end of a sentence.

Can I convert a list of names to snake_case or camelCase?

Yes. Put one name on each line. Every line is converted separately and empty lines are kept, so "First Name" and "Last Name" on two lines become first_name and last_name.

Does it work with Hindi and other languages?

Accented Latin letters, Greek and Cyrillic are converted using Unicode rules. Hindi and other scripts without capital letters stay unchanged, but the identifier styles still join their words, for example with underscores in snake_case.

Is my text uploaded anywhere?

No. The conversion happens in your browser. Nothing is sent to a server or saved, and the text is gone when you close the page.

Count words, characters, sentences and paragraphs as you type, with reading time and keyword density.

Compare two texts and see what was added, removed or changed, line by line, word by word or character by character.

Find text and replace it in one step, with match case, whole word and regular expression options, highlighted matches and a count.

Delete repeated lines from a list while keeping the original order, with options to ignore case, extra spaces and empty lines.

Sort lines alphabetically, in natural number order, by number or by length, or reverse and shuffle them, with sorting rules for Hindi and other languages.

Count characters with and without spaces, bytes and SMS parts, then check text against common limits.