Case Converter

Transform text between common case styles instantly.

Converting text case

Changing the capitalization of text by hand is tedious and error-prone, particularly for anything longer than a line. This converter applies seven common case styles instantly, including the naming conventions used in programming.

Key takeaways

  • Sentence case capitalizes only the first letter; Title Case capitalizes most words.
  • camelCase and PascalCase differ only in whether the first letter is capitalized.
  • snake_case uses underscores, kebab-case uses hyphens.
  • URL slugs conventionally use kebab-case in lowercase.
  • Converting to uppercase and back does not restore the original capitalization.

The case styles

StyleExampleWhere it is used
UPPERCASETHE QUICK BROWN FOXHeadings, acronyms, emphasis, constants
lowercasethe quick brown foxCasual writing, tags, email addresses
Sentence caseThe quick brown foxBody text, UI labels, most modern headlines
Title CaseThe Quick Brown FoxHeadlines, book and article titles
camelCasetheQuickBrownFoxVariables in JavaScript, Java, C#
PascalCaseTheQuickBrownFoxClass names, React components, types
snake_casethe_quick_brown_foxPython variables, database columns
kebab-casethe-quick-brown-foxURL slugs, CSS classes, HTML attributes
SCREAMING_SNAKETHE_QUICK_BROWN_FOXConstants and environment variables

Sentence case versus Title Case

These two are confused constantly, and the distinction matters for anything published.

  • Sentence case capitalizes only the first word and any proper nouns: "How to write a better headline in 2026".
  • Title Case capitalizes most words but not short articles, conjunctions and prepositions: "How to Write a Better Headline in 2026".

Sentence case has become the dominant convention in digital publishing and user interfaces, because it reads faster and feels less shouty. Title Case remains standard for book titles, academic references and many news publications. If you need proper style-guide handling, the title case converter implements APA, MLA, Chicago and AP rules.

Programming naming conventions

Language / contextVariablesFunctionsClassesConstants
JavaScriptcamelCasecamelCasePascalCaseSCREAMING_SNAKE
Pythonsnake_casesnake_casePascalCaseSCREAMING_SNAKE
Java / C#camelCasecamelCase / PascalCasePascalCaseSCREAMING_SNAKE
GocamelCase / PascalCasePascalCase exportsPascalCasePascalCase
Rubysnake_casesnake_casePascalCaseSCREAMING_SNAKE
CSSkebab-case----kebab-case
SQLsnake_case---

Conventions are enforced by community style guides and linters rather than by the languages themselves, but following them is expected in almost every codebase.

Things to watch out for

  • Case conversion is lossy. Once you uppercase "iPhone" to "IPHONE", nothing can tell it should return to "iPhone" rather than "Iphone".
  • Acronyms suffer in Title Case. "NASA" can become "Nasa" depending on the implementation.
  • Some languages have no case at all - Chinese, Japanese, Arabic and Hebrew are unaffected by these operations.
  • Turkish dotted and dotless i is a classic source of bugs, because uppercasing "i" gives "İ" in Turkish locales rather than "I".
  • The German ß traditionally uppercases to "SS", changing the string length.
Keep an original copy. Because case conversion cannot be reliably reversed, paste into the converter rather than replacing your only copy - especially with text containing brand names, acronyms or proper nouns.
Everything happens in your browser. Your text is processed entirely on your own device using JavaScript. Nothing is uploaded, stored or logged, which means you can safely paste confidential drafts, client work or personal notes. Closing the tab discards everything.

Frequently Asked Questions

What is the difference between Title Case and Sentence case?

Sentence case capitalizes only the first word and proper nouns, like an ordinary sentence. Title Case capitalizes most words but usually leaves short articles, conjunctions and prepositions lowercase. Sentence case dominates digital publishing; Title Case remains standard for book titles and academic references.

What is camelCase?

A naming convention where words are joined with no spaces and each word after the first starts with a capital, as in theQuickBrownFox. It is the standard for variables in JavaScript, Java and C#. PascalCase is identical except the first letter is also capitalized.

What is the difference between snake_case and kebab-case?

Only the separator. snake_case joins words with underscores and is standard in Python and database column names. kebab-case uses hyphens and is standard for URL slugs, CSS class names and HTML attributes.

Can I convert text back to its original case?

No. Case conversion is lossy - once "iPhone" becomes "IPHONE", there is no way to know it should return to "iPhone" rather than "Iphone". Always keep the original text rather than converting your only copy.

Which case should I use for URLs?

Lowercase kebab-case, such as my-blog-post-title. Hyphens are treated as word separators by search engines while underscores are not, and lowercase avoids problems on case-sensitive servers.

How are acronyms handled in Title Case?

Imperfectly. A simple algorithm cannot tell that "NASA" should stay fully capitalized while "nasa" as an ordinary word should not, so acronyms sometimes come out as "Nasa". Check any text containing acronyms or brand names after converting.

Does case conversion work for non-English text?

For most Latin, Greek and Cyrillic scripts, yes. Scripts without letter case - Chinese, Japanese, Arabic, Hebrew, Devanagari - are unaffected. A few locale-specific rules, such as the Turkish dotless i and the German ß, need special handling.

Is my text uploaded anywhere?

No. Conversion happens entirely in your browser using JavaScript, so nothing is transmitted or stored. Closing the tab discards everything.

Related Calculators