MrHimanshu.comAlways ready to work
Let’s talk

TEXT / FORMAT

Case Converter

Convert text to UPPER, lower, Title, Sentence, camelCase, snake_case, kebab-case and more in one click.

Free · runs in your browser

Runs entirely in your browser. Nothing you enter is sent anywhere.

How to use Case Converter

  1. Paste or type your text into the box.
  2. Choose the case you want: upper, lower, title, sentence, camel, Pascal, snake, kebab or constant.
  3. Copy the converted text from the result box.

The common naming styles

camelCase joins words with each new word capitalised (userName) and is standard for JavaScript variables. PascalCase capitalises every word (UserName) and is used for classes and components. snake_case uses underscores (user_name) in Python and database columns. kebab-case uses hyphens (user-name) in URLs and CSS class names. CONSTANT_CASE uses capitals with underscores (MAX_SIZE) for constants.

Title Case and Sentence case are for ordinary writing such as headings and paragraphs.

Tips

Convert a phrase first, then paste it into your code. For URLs, kebab-case is the usual choice because search engines treat hyphens as word separators.

The converter splits words on spaces, hyphens, underscores and capital letters, so an existing camelCase name can be converted to snake_case directly.

Frequently asked questions

What is the difference between camelCase and PascalCase?

camelCase starts with a lowercase letter (myVariableName) while PascalCase capitalises every word including the first (MyClassName).

Does Title Case follow style-guide rules?

It capitalises the first letter of every word. Style guides that keep small words like “of” lowercase need a manual pass.

Is my text sent anywhere?

No. The conversion happens in your browser.

All 6 in Writing and textBrowse all 38 free tools