Skip to content
ToolMug

Case Converter

Paste text once and get it in every case at the same time — UPPER, lower, Title Case, Sentence case — plus programming styles like camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE. Copy the one you need.

Runs in your browser — nothing you enter is uploaded

  • lower case
    type or paste text to convert
  • UPPER CASE
    TYPE OR PASTE TEXT TO CONVERT
  • Title Case
    Type or Paste Text to Convert
  • Sentence case
    Type or paste text to convert
  • camelCase
    typeOrPasteTextToConvert
  • PascalCase
    TypeOrPasteTextToConvert
  • snake_case
    type_or_paste_text_to_convert
  • CONSTANT_CASE
    TYPE_OR_PASTE_TEXT_TO_CONVERT
  • kebab-case
    type-or-paste-text-to-convert
  • dot.case
    type.or.paste.text.to.convert
  • aLtErNaTiNg
    tYpE Or pAsTe tExT To cOnVeRt
  • iNVERSE
    tYPE OR PASTE TEXT TO CONVERT

How to use

  1. Type or paste your text. Every style is shown at once.
  2. Copy the result you need, or press ↑ to put it back in the input and keep editing.
  3. For variable names, each line is converted separately, so you can convert a whole list at once.

Options explained

Title Case
Capitalises major words and keeps short articles, conjunctions and prepositions (a, an, the, and, of, in…) lower case unless they are first or last. Words that already have capitals inside, like iPhone or NASA, are left alone.
Sentence case
Lower-cases everything, then capitalises the first letter of each sentence. Proper nouns need fixing by hand.
camelCase / PascalCase
Common for JavaScript, Java and C# variables, functions and classes.
snake_case / CONSTANT_CASE
Used in Python, Ruby, SQL column names and environment variables.
kebab-case
Used in URLs, CSS class names and file names.

Examples

Style “user account settings”
camelCase userAccountSettings
PascalCase UserAccountSettings
snake_case user_account_settings
CONSTANT_CASE USER_ACCOUNT_SETTINGS
kebab-case user-account-settings
Title Case User Account Settings

Frequently asked questions

How does it split words in identifiers like XMLHttpRequest?

It breaks at lower-to-upper transitions and before the last capital of an acronym, so XMLHttpRequest becomes XML, Http, Request, and parseJSONData becomes parse, JSON, Data.

Does it work with accented and non-Latin letters?

Yes — upper and lower case work for all scripts that have case, such as Greek, Cyrillic and accented Latin letters. Chinese and Japanese have no case and are left unchanged.

Why is my title case different from a style guide?

Style guides (APA, Chicago, AP) disagree on details such as prepositions of four or more letters. This tool follows common Chicago-style rules; check your guide for edge cases.

Privacy

This tool runs entirely in your browser. Your files and text are processed on your device and are never uploaded to our servers.

Related tools