Rates TodayNIFTY25,514.3+1.47%SENSEX83,021.8+1.75%Gold 24K ₹11,846.36/g down252.02Silver ₹143.04/g down3.42
InsightforGeeks

Case Converter (Upper, Lower, Title, camelCase, snake_case)

Paste or type text and see it in every common case at once: UPPER CASE, lower case, Sentence case, Title Case and more for writing, and camelCase, PascalCase, snake_case, CONSTANT_CASE and kebab-case for code. For the programming styles, each line becomes one name, so you can convert a whole list in one go. It works in your browser and nothing is uploaded.

92 characters · 72 without spaces · 21 words · 1 lines. Nothing is uploaded.

  • UPPER CASE

    THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG. I THINK IT'S A GOOD DAY FOR A WALK IN THE PARK!
  • lower case

    the quick brown fox jumps over the lazy dog. i think it's a good day for a walk in the park!
  • Sentence case

    The quick brown fox jumps over the lazy dog. I think it's a good day for a walk in the park!

    Capitalises the first letter of each sentence and the word “I”

  • Capitalized Case

    The Quick Brown Fox Jumps Over The Lazy Dog. I Think It's A Good Day For A Walk In The Park!

    Capitalises every word

  • Title Case

    The Quick Brown Fox Jumps Over the Lazy Dog. I Think It's a Good Day for a Walk in the Park!

    Keeps short words such as “of”, “the” and “to” in lower case

  • aLtErNaTiNg cAsE

    tHe QuIcK bRoWn FoX jUmPs OvEr ThE lAzY dOg. I tHiNk It'S a GoOd DaY fOr A wAlK iN tHe PaRk!
  • iNVERSE cASE

    THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG. I THINK IT'S A GOOD DAY FOR A WALK IN THE PARK!

    Swaps upper and lower case

How to use it

  1. Type or paste your text into the box, or press “Load sample”.
  2. Choose Writing styles or Programming styles.
  3. Check the result you want and press Copy, or download it as a .txt file.
  4. For programming styles, put one name on each line to convert a list.

Frequently asked questions

How does Title Case decide which words to capitalise?

It capitalises every word except short articles, conjunctions and prepositions of three letters or fewer, such as a, an, the, and, of, to and for. The first word, the last word and the word after a colon are always capitalised. Style guides differ a little, so check your own guide for headlines.

What does Sentence case do?

It writes everything in lower case, then capitalises the first letter of each sentence and the word “I” (including I’m, I’ll, I’ve and I’d). It cannot know proper names, so fix names such as London or Asha by hand.

What is the difference between camelCase and PascalCase?

Both join words without spaces and capitalise each new word. camelCase starts with a lower-case letter (userName), while PascalCase starts with a capital (UserName). Variables and functions usually use camelCase, and class names use PascalCase.

How are words found when I convert to snake_case or kebab-case?

The tool splits on spaces, underscores, hyphens, dots and other symbols, and at changes of case, so userID becomes user_id and XMLHttpRequest becomes xml_http_request. Numbers are treated as separate words.

Does it work with other languages?

Yes, it handles accented letters and any script. Scripts without upper and lower case, such as Malayalam, Hindi or Chinese, are left as they are by the case changes. The German ß becomes SS in upper case, as the standard rules say.

Related tools

These tools run entirely in your browser and are provided free, without warranty. Check important results before using them in production.