AllinHub

Case converter

Ten cases, converted as you type: sentence, Title, camelCase, snake_case and more.

Paste your text, pick a case, and the result appears next to it. The converter covers the ten cases people actually need: sentence case, lowercase, UPPER CASE, Title Case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and aLtErNaTiNg. Use it to repair a heading somebody typed with caps lock on, to turn a column of labels into variable names, or to tidy a title before it goes live. Everything runs in your browser, so the text never leaves your device. Your last input is kept on this device only, and Clear removes it.

How to use

  1. Paste or type your text in the box on the left.
  2. Choose the case you want from the list above the result.
  3. Read the result and copy it with the Copy button.
  4. Use Clear to empty the box and forget the saved text.

What it handles

  • Keeps acronyms: in sentence case, the NASA report becomes The NASA report, not The nasa report. Words with an inner capital such as iPhone survive too.
  • Treats text written entirely in capitals as shouting and re-cases every word of it, because there is nothing left to tell an acronym from a normal word.
  • Title Case keeps small words such as a, of and the lowercase, always capitalizes the first and last word of a line, and writes state-of-the-art as State-of-the-Art.
  • Splits identifiers you already have: XMLHttpRequest becomes xml_http_request, user_first_name becomes userFirstName, and apostrophes are dropped, so don't stop gives dontStop.
  • Converts each line on its own for camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE, so a pasted list comes back as one identifier per line.
  • Handles accents, combining marks, Cyrillic and Greek. Chinese, Japanese, Arabic and Hebrew have no upper and lower case, so they pass through unchanged.

FAQ

What is the difference between Title Case and sentence case?

Sentence case capitalizes only the first word of each sentence, the way you write a paragraph. Title Case capitalizes every important word and leaves small words such as a, of and the lowercase, the way headlines and book titles are written. Both of them keep acronyms, so a line about HTML keeps its capitals.

Is my text uploaded anywhere?

No. The conversion runs in your browser, on your device, and the page keeps working after you go offline. Nothing is logged or sent to a server. The only copy of your text is in your browser's local storage, so it is still there when you come back on this device, and Clear removes it.

Is there a limit on how much text I can convert?

There is no fixed limit. Up to about fifty thousand characters the result appears while you type. Above that the work moves to a background thread and lands shortly after you stop typing, so the page never freezes. The copy kept in your browser is capped at 200 KB, so a very long text is converted but not remembered.

Does it keep acronyms like NASA or HTML?

Yes, in sentence case and in Title Case, as long as the text is not written entirely in capitals. A word in capitals with at least two letters counts as an acronym, and so does a word with an inner capital such as iPhone or JavaScript. In a text that is all capitals nothing distinguishes an acronym from shouting, so every word is re-cased.

Which words stay lowercase in Title Case?

Articles, short conjunctions and short prepositions: a, an, and, as, at, but, by, for, if, in, nor, of, on, or, per, so, the, to, up, via, vs and yet. They are capitalized anyway when they open or close a line, or when they follow a colon. Longer words such as with, from and over always keep their capital. These are English rules.

Why does ß come back as ss after UPPER CASE?

Because German ß has no capital form in ordinary text: uppercasing Straße gives STRASSE, and lowercasing STRASSE gives strasse. The information is lost in the middle step, so a round trip through capitals is not reversible. Convert from the original text rather than from a version you already put in capitals.

Updated

All tools