Phrasit

Search Phrasit

Search every tool, guide, and citation page.

FREE · 12 CASE VARIANTS

Case converter

Convert text between UPPERCASE, lowercase, Title Case, Sentence case, snake_case, kebab-case, camelCase, PascalCase, and seven more. All variants update as you type. Copy any one with a single click.

0 characters

Which case do I need?

Title Case is the standard for headlines and book titles in English. We follow Chicago style, lowercasing short conjunctions, articles, and prepositions (a, an, the, of, in, etc.) unless they start or end the title. Sentence case capitalises only the first letter and proper nouns — closer to natural prose, used by The Guardian and BBC News in headlines.

snake_case and kebab-case are common in code: Python prefers snake, Ruby and CSS prefer kebab. camelCase and PascalCase are standard in JavaScript and TypeScript — variables use camel, classes use Pascal. CONSTANT_CASE is reserved for module-level constants in JavaScript and Java.

About the Case converter

The case converter takes whatever you type and shows it in twelve letter cases at once, each in its own copy-ready panel. Instead of toggling one format and losing the others, you see UPPERCASE, lowercase, Title Case, Sentence case, aLtErNaTiNg, iNVERSE, snake_case, kebab-case, camelCase, PascalCase, CONSTANT_CASE and dot.case side by side and grab the one you need.

It solves the small friction that shows up everywhere: a heading pasted in all caps, a database column that needs snake_case, a React component that wants PascalCase, a CSS class that wants kebab-case. Rather than retyping or hunting through a word processor menu, you paste once and copy the variant that fits the destination.

How to use it

  1. Paste or type your text into the input box on the left; every panel recalculates as you type.
  2. Read the live previews on the right, where each case shows its result with a short description of the rule it follows.
  3. Click Copy on the panel you want; the result goes to your clipboard and the button shows a checkmark.
  4. Use the Clear button to empty the input and start over with fresh text.
  5. Watch the character count above the box if you are working against a length limit.

Examples

A blog heading into a URL slug

Paste "The State of CSS in 2026" and the kebab-case panel reads "the-state-of-css-in-2026". Copy it straight into a page path. The snake_case panel gives "the_state_of_css_in_2026" if your CMS prefers underscores instead of hyphens.

A variable name from a label

Type "user first name" and camelCase returns "userFirstName" while PascalCase returns "UserFirstName" and CONSTANT_CASE returns "USER_FIRST_NAME". One label produces the property, the class name and the constant without you touching the shift key.

Fixing shouty pasted text

Paste "BREAKING: MARKET CLOSES EARLY" and Sentence case gives "Breaking: market closes early" while Title Case gives "Breaking: Market Closes Early", leaving small words lowercase. Pick whichever matches your house style.

Frequently asked questions

Why does Title Case leave words like 'of' and 'the' lowercase?
It follows the common headline convention where short function words (a, an, and, of, the, to, with and similar) stay lowercase unless they are the first or last word. That matches most editorial style guides rather than capitalising every single word.
What is the difference between camelCase and PascalCase?
Both join words with no separator and capitalise each word after the first. camelCase keeps the very first letter lowercase (userId), while PascalCase capitalises it too (UserId). camelCase is typical for variables, PascalCase for class and component names.
How does the converter split words for snake, kebab and camel cases?
It breaks on spaces, underscores, hyphens, dots and slashes, and also at the boundary inside runs like 'myXMLParser'. That means it can re-case input that is already in another joined format, not just plain spaced text.
What does inverse case do versus alternating case?
Inverse case swaps the case of every letter you typed, so HELLO becomes hello and hello becomes HELLO. Alternating ignores your original casing and rebuilds the text lower, upper, lower across the letters, skipping spaces and punctuation.
Does it change my text on a server?
No. Every conversion runs in your browser as you type, so nothing you paste is uploaded. You can use it on sensitive copy and it keeps working offline once the page has loaded.

Good to know

Letter case is a presentation choice, not a meaning change, so the converter never alters your words, only their capitalisation and, for the joined cases, the separators between them. CONSTANT_CASE is simply snake_case in capitals and is the convention for environment variables and exported constants in many languages; dot.case appears in object paths and some logging keys.

One thing to watch: the joined cases (snake, kebab, camel, pascal, constant, dot) strip the spaces and punctuation between words, so they are meant for identifiers and slugs, not for prose. If you only want to fix capitalisation while keeping sentences intact, reach for UPPERCASE, lowercase, Title Case, Sentence case or inverse instead. For acronyms the splitter treats 'XML' as one unit, so 'XMLHttpRequest' camel-cases predictably rather than scattering capitals.

Related tools