Skip to content
DoItJag

Case Converter

Change the letter case of any text in one click, including programming styles such as camelCase and snake_case.

About Case Converter

Case Converter rewrites the capitalisation of your text in one step. It covers the everyday styles (UPPER, lower, Title, Sentence and Capitalized Each Word), the programming styles (camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE), and iNVERSE cASE, which swaps every letter.

It saves retyping when a heading arrives in capitals, when a spreadsheet column needs consistent names, or when you turn a phrase into a variable or file name.

When to use it

  • A colleague sent a paragraph typed with Caps Lock on.
  • You need headings in title case for a report or blog post.
  • You are naming database columns or constants and want a consistent style.
  • You want to turn a label such as userAccountID into user_account_id for a config file.

Worked example

Start with a tale OF two cities: the HTTPServer config and try a few buttons:

  • Title Case gives A Tale of Two Cities: the Httpserver Config.
  • Sentence case gives A tale of two cities: the httpserver config.
  • snake_case gives a_tale_of_two_cities_the_http_server_config.
  • camelCase gives aTaleOfTwoCitiesTheHttpServerConfig.

Each button converts the text in the box itself, so you can apply several in a row.

Good to know

  • Title Case, Sentence case and Capitalized Each Word lowercase the rest of each word first, so acronyms such as HTTP or NASA lose their capitals. Fix those by hand afterwards.
  • In Title Case, 27 short words (for example a, an, the, of, to, via, vs) stay lowercase unless they are first or last on the line. A word after a colon is not treated specially.
  • Sentence case capitalises the first letter after ., !, ? or a line break. Names in the middle of a sentence become lowercase.
  • The programming styles split words at spaces, punctuation and case changes, and drop all punctuation, so HTTPServer becomes http and server.
  • Letters beyond English work too: straße in UPPER CASE becomes STRASSE.
  • To check the length of the result, paste it into the Word Counter.

How to use Case Converter

  1. Type or paste your text.
  2. Select the case you want.
  3. Copy the result.

Privacy: how it works

Everything happens in your browser. Your text is not sent to any server.

Frequently asked questions

How does Title Case treat small words?

Short words such as "of", "the" and "and" stay lowercase unless they are the first or last word, following common English style guides.

How are acronyms handled in camelCase?

Words are split at case changes, so "parseHTTPResponse" becomes parse / HTTP / Response before converting.