Case Converter

Convert text between sentence, lower, upper, title and capitalized case, or programming styles like camelCase and snake_case, then copy or download it.

Cases explained

  • Title Case: capitalises the main words and keeps short words like "and" and "of" lower case: A Beginner's Guide to Saving Money: Ten Tips That Work. Good for headings and video titles.
  • Sentence case: capitalises only the first letter of each sentence and line.
  • aLtErNaTiNg and iNVERSE: playful styles for social posts; inverse swaps each letter's case.
  • camelCase / PascalCase: JavaScript variables and class names.
  • snake_case / CONSTANT_CASE: Python variables, constants and environment variables.
  • kebab-case / dot.case: URLs, CSS classes and configuration keys. budget-planner-guide makes a clean URL slug.

Frequently asked questions

How do I fix text typed with Caps Lock on?

Choose Sentence case. Every word goes to lower case and each sentence and line starts with a capital, so put the capitals back on names and acronyms like NASA afterwards.

What's the difference between Title Case and Capitalize Each Word?

Title Case keeps articles, short conjunctions and short prepositions (a, the, and, of, in, with…) in lower case unless they are the first or last word or follow a colon, as Chicago and MLA style do. APA and AP style also capitalise words of four or more letters, such as With. Capitalize Each Word gives every word a capital. Both keep acronyms like NASA and names like iPhone, unless the whole text is in capitals.

Which case should I use in code?

camelCase for JavaScript and Java variables, PascalCase for class names, snake_case for Python and database columns, CONSTANT_CASE for constants and environment variables, kebab-case for URLs and CSS classes, and dot.case for many configuration keys. Words joined in camelCase or with acronyms, like XMLHttpRequest, are split correctly first.

Does it work with other languages?

Yes, for scripts with capital letters, including accented letters (é → É) and German ß (→ SS in capitals). Hindi, Arabic, Chinese and other scripts without capitals stay as they are, and the programming cases still keep their words whole.

Is my text saved?

No. Conversion happens in your browser and nothing is sent anywhere.

More text and developer tools

See all text and developer tools →

Can't find the tool you need? Tell us.