March 26, 20263 min read

Text Case Converter — UPPER, lower, Title, Sentence Case and More

Convert text between uppercase, lowercase, title case, sentence case, camelCase, snake_case, and kebab-case instantly. Perfect for writing, coding, and formatting.

text case uppercase camelcase snake case calchub
Ad 336x280

Copying text from one source often means inheriting its capitalization — ALL CAPS from a legal document, all lowercase from a chat, or random Mixed caps from who knows where. Fixing it manually is tedious. The CalcHub Text Case Converter converts text to any case format in one click, including programming-specific formats like camelCase and snake_case.

Available Conversions

FormatExampleCommon Use
UPPER CASEHELLO WORLDHeadings, emphasis, acronyms
lower casehello worldUsernames, URLs, informal
Title CaseHello WorldTitles, headings
Sentence caseHello worldNormal prose
camelCasehelloWorldJavaScript variables, Java
PascalCaseHelloWorldClasses, components, C#
snake_casehello_worldPython, SQL, file names
kebab-casehello-worldURLs, CSS classes, HTML
SCREAMING_SNAKEHELLO_WORLDConstants (Python, JS)
Alternate CaSehElLo WoRlDMocking text (SpongeBob meme)

How to Use It

  1. Open CalcHub and find the Text Case Converter.
  2. Paste or type your text in the input box.
  3. Click the desired case format.
  4. The converted text appears immediately — copy it with one click.
You can convert the same input to multiple formats in sequence without re-pasting.

Title Case Nuances

True title case follows rules about which words to capitalize. Prepositions (in, on, at, for), articles (a, an, the), and coordinating conjunctions (and, but, or) are typically lowercase unless they're the first or last word.

Simple capitalization: The Art Of War Proper title case: The Art of War

The converter uses AP Style or Chicago Manual of Style rules depending on the selected mode.

Programming Case Uses

LanguageVariable StyleClass StyleConstant Style
JavaScriptcamelCasePascalCaseSCREAMING_SNAKE
Pythonsnake_casePascalCaseSCREAMING_SNAKE
CSSkebab-caseN/AN/A
SQLsnake_caseN/AUPPER_CASE
JavacamelCasePascalCaseSCREAMING_SNAKE

Why does Title Case vary between sources?

Different style guides have different rules. AP Style (journalism) lowercases prepositions of any length. Chicago Manual of Style lowercases prepositions under 5 letters. APA style has its own rules. The converter lets you choose a style guide.

How does the converter handle punctuation and numbers?

Punctuation and numbers are preserved in all conversion modes. Only letter characters are changed. So "Hello, World! 2026" in snake_case becomes "hello,_world!_2026" — keeping punctuation in place.

Can I convert code variable names from one convention to another?

Yes — this is one of the most practical uses. If you need to convert Python snake_case names to JavaScript camelCase (or vice versa), paste the names and select the target format. Multi-word conversions all work correctly.


Related tools: Slug Generator · Find and Replace Tool · Word Counter
Ad 728x90