You typed a whole paragraph with caps lock on. A spreadsheet arrived with every customer name in capitals. A heading needs Title Case for a blog and sentence case for an app. A label like "Order Total Amount" has to become order_total_amount in Python and orderTotalAmount in JavaScript. Retyping is tedious, and fixing it letter by letter invites typos.
Paste your text, pick one of eleven case buttons and the converted version appears next to it, ready to copy or download as a .txt file. Hover over a button to see a tiny example of what it produces. The conversion runs locally in your browser.
The eleven cases and what they are for
Writing cases change capital letters but keep your words and punctuation. UPPER CASE capitalises every letter, which suits short labels and acronyms. lower case is handy for normalising email addresses or tags. Title Case capitalises the first letter of every word. Sentence case capitalises the first letter after each full stop, question mark, exclamation mark or line break and lowers the rest. aLtErNaTe flips between lower and upper on each letter, the mocking style familiar from memes, and iNVERSE swaps the case of every letter, which repairs text typed with caps lock on.
Programming cases remove spaces and punctuation and join the words. camelCase starts lower and capitalises each following word (orderTotal), PascalCase capitalises every word (OrderTotal), snake_case joins lower-case words with underscores (order_total), kebab-case uses hyphens (order-total), and CONSTANT_CASE is upper-case snake case (ORDER_TOTAL). These five work line by line, so a list of labels becomes a list of identifiers in one pass.
Everyday jobs for a case converter
Recovering from caps lock
Paste the shouted text and choose Sentence case, or iNVERSE if you typed normally with caps lock on, so "hELLO tHERE" becomes "Hello There". Then fix any names that need capitals.
Cleaning names and data
Contact lists and product feeds often mix "JOHN SMITH", "john smith" and "John Smith". Title Case makes them consistent before importing into a CRM or a mail merge.
Naming variables, files and CSS classes
Developers turn a field label or a heading into an identifier: snake_case for Python and database columns, camelCase for JavaScript, PascalCase for class names, kebab-case for CSS classes and file names, CONSTANT_CASE for environment variables.
Headlines and headings
Switch a headline between Title Case and Sentence case to match a style guide, or put a short call to action in UPPER CASE for a button or banner.
How words are detected
For the programming cases the converter splits each line into words at any space or punctuation, and also where the case changes inside a word. That means it can convert between programming styles: XMLHttpRequest becomes xml_http_request in snake_case, and user-id becomes userId in camelCase. Accented and non-Latin letters are kept as they are, so a phrase in French or German converts without losing its accents.
Upper and lower case follow the Unicode rules built into your browser, so Greek, Cyrillic and other cased alphabets convert correctly. Scripts that have no capital letters, such as Arabic, Hebrew, Chinese or Japanese, pass through unchanged. The output pane updates as you type or switch modes; use Copy to put the result on the clipboard or Download to save it as text.txt.
Как пользоваться инструментом
- Type or paste your text into the Input box.
- Click one of the case buttons, such as Title Case or snake_case. Hover a button to preview its style.
- Check the Output pane on the right, or below on a phone.
- Press Copy to grab the result, or Download to save it as a text file.
What to check after converting
- Title Case capitalises every word, including short ones like "of" and "the". It does not apply AP or Chicago style rules, so lower those words by hand if your guide requires it.
- Title Case and Sentence case lower everything else first, so acronyms and names lose their capitals: NASA becomes Nasa, and "London" becomes "london" in the middle of a sentence.
- Conversion is not language-specific. In Turkish, for example, a dotted i is upper-cased to I rather than İ.
- The programming cases drop punctuation entirely, so symbols such as $, @ or apostrophes in your text disappear from the identifier.