Skip to content
HNarzędzia
en
Categories

Case converter - uppercase, lowercase, sentence case and camelCase

Paste text and pick a style: fix something typed with Caps Lock, format a headline, or turn a phrase into a variable, column or file name in the naming convention your code uses.

  • Free
  • No sign-up
  • Private
  • Runs locally
Conversion

How to change the case of text

  1. 1.

    Paste your text

    Type or paste any amount of text into the input field.

  2. 2.

    Pick a style

    Choose UPPERCASE, lowercase, Capitalize Each Word, Sentence case, a programming style or iNVERSE cASE.

  3. 3.

    Copy the result

    The output updates instantly. Copy it, or use it as the new input to apply another conversion.

Text styles at a glance

StyleExample for “customer date of birth”Typical use
UPPERCASECUSTOMER DATE OF BIRTHlabels, signs, acronyms
lowercasecustomer date of birthfixing text typed with Caps Lock
Capitalize Each WordCustomer Date Of Birthnames, product titles, quick headings
Sentence caseCustomer date of birthbody text, UI labels, modern headlines
iNVERSE cASEcUSTOMER dATE oF bIRTHundoing accidental Caps Lock

Capitalize Each Word vs title case: this mode capitalizes every word. Editorial title case (AP, Chicago, APA) keeps short words such as “of”, “and”, “the” or “in” lowercase unless they start the title - so “Customer Date Of Birth” becomes “Customer Date of Birth”. Fix those few words by hand, or use Sentence case, which many style guides now prefer for headlines.

Naming conventions in code

StyleExampleWhere it is used
camelCasedateOfBirthvariables and functions in JavaScript, Java, C#
PascalCaseDateOfBirthclasses, types, React components
snake_casedate_of_birthPython, Ruby, SQL columns
kebab-casedate-of-birthCSS classes, URLs, file names
CONSTANT_CASEDATE_OF_BIRTHconstants, environment variables

The converter recognises existing camelCase, PascalCase and snake_case, so getUserID correctly becomes get_user_id. In code modes every line is converted separately, which means a pasted list of column names stays a list. Turn on the accent option to get plain ASCII identifiers: “Größe café” becomes grosseCafe (ö → o, ß → ss, é → e). For URL slugs specifically, use the slug generator.

Keyboard shortcuts and spreadsheet functions

  • Microsoft Word: select text and press Shift+F3 to cycle through lowercase, UPPERCASE and Capitalize Each Word.
  • Excel and Google Sheets: =UPPER(A1), =LOWER(A1) and =PROPER(A1), which works like Capitalize Each Word.
  • Google Docs: Format → Text → Capitalization.
  • Text typed with Caps Lock on (“tHIS IS MY TEXT”) is fixed fastest with iNVERSE cASE or Sentence case.

Case conversion follows Unicode rules, so accented and non-Latin letters work too: “é” becomes “É”, “ł” becomes “Ł” and Greek or Cyrillic text changes case correctly.

Frequently asked questions

What is the difference between camelCase and PascalCase?

+
In camelCase the first word starts with a lowercase letter (dateOfBirth); in PascalCase every word, including the first, starts with a capital (DateOfBirth).

How does Sentence case work?

+
It lowercases the whole text, then capitalizes the first letter of the text, of every line and after a full stop, exclamation mark, question mark or ellipsis. Proper nouns and “I” need fixing by hand.

Is “Capitalize Each Word” the same as title case?

+
Not exactly. Style guides keep short articles, conjunctions and prepositions (a, and, of, the) lowercase in titles. This mode capitalizes every word, so adjust those few words manually.

Does it work with accented letters?

+
Yes. Letters such as é, ü, ñ or ł are converted correctly, and in programming styles you can optionally strip accents to get plain ASCII names.

Can I convert a whole list of names at once?

+
Yes. In programming styles every line is converted separately, so a pasted list of column or variable names stays a list.

Is my text sent to a server?

+
No. The conversion happens in your browser, on your device.

Updated: