Text tool

Text Case Converter

Transform text between ten different cases instantly: UPPERCASE, lowercase, Title Case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Sentence case, and aLtErNaTiNg. No upload, no storage, everything runs in your browser.

Converted locally in your browser. Your text is never uploaded or stored.

0 words · 0 characters

How the case converter works

The text case converter transforms your text instantly as you type, switching between ten different formatting styles. Each case serves a different purpose: some are used in code (like camelCase and snake_case), others in everyday writing (like Title Case and Sentence case), and a few for emphasis (like UPPERCASE and aLtErNaTiNg). Everything runs in your browser—your text is never uploaded.

The ten cases explained

  • UPPERCASE – All letters become capital. Example: HELLO WORLD EXAMPLE
  • lowercase – All letters become lowercase. Example: hello world example
  • Title Case – First letter of each word is capitalized. Example: Hello World Example
  • Sentence case – Only the first letter and letters after sentence-ending punctuation are capitalized. Example: Hello world example.
  • camelCase – Words are joined with no spaces, first word lowercase, rest capitalized. Example: helloWorldExample
  • PascalCase – Like camelCase but all words capitalized including the first. Example: HelloWorldExample
  • snake_case – Words joined with underscores, all lowercase. Example: hello_world_example
  • kebab-case – Words joined with hyphens, all lowercase. Example: hello-world-example
  • CONSTANT_CASE – Words joined with underscores, all uppercase. Example: HELLO_WORLD_EXAMPLE
  • aLtErNaTiNg – Every other letter alternates between lowercase and uppercase, starting lowercase. Example: hElLo WoRlD eXaMpLe

Title case rules

Title Case follows English-language style conventions where small words stay lowercase unless they appear first or last in the text. This tool treats these words as small: a, an, the, and, but, or, nor, for, so, yet, at, by, in, of, on, to, up, as, if, per, via.

Different style guides have different rules. AP Style and Chicago Manual of Style differ on which words to capitalize, so your style guide of choice may produce slightly different results. This tool uses a common convention suitable for most contexts.

Developer cases

The programmatic cases (camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE) break input into tokens by splitting on spaces, punctuation, and case transitions. This means camelCase input like 'myVariableName' correctly tokenizes into 'my', 'Variable', 'Name' and can be converted to any other format.

These cases are standard in different programming languages and contexts: camelCase and PascalCase in JavaScript and Java; snake_case in Python and SQL; kebab-case in CSS and URLs; CONSTANT_CASE for global constants and environment variables.

For multi-line text, each line is converted independently and line breaks are preserved, making the converter suitable for batch transformations of code comments, variable lists, or similar text blocks.

Frequently asked questions

What is Title Case?

Title Case capitalizes the first letter of most words while keeping small words like 'the', 'and', 'of' lowercase (unless they're first or last). It's used in headlines, book titles, and document titles.

What's the difference between camelCase and PascalCase?

camelCase starts with a lowercase letter: helloWorld. PascalCase starts with an uppercase letter: HelloWorld. Both are common in programming; camelCase is typical in JavaScript variables and methods, while PascalCase is used for class names and component names.

How do I convert text without retyping it?

Paste your text into the input field and pick a case. The converter updates instantly, and the Copy button puts the converted result on your clipboard.

Is my text uploaded anywhere?

No. All conversion happens in your browser using JavaScript. Your text never leaves your device and is not stored or sent to any server.

Why does Sentence case only capitalize sentence starts?

Sentence case only recognizes sentence boundaries (periods, question marks, exclamation marks), not proper nouns or brand names. To capitalize specific words, use the case manually or edit the converted text.