Converters
Calculators
Other Tools
Browse tools
Web tools

Case converter

Switch text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, and kebab-case.

Never leaves your device No signup Free forever Not stored, not logged

Text

Result
Words
0
Characters
0
More web tools

Related tools you might need next

All web tools

How it works

Two steps, no account

1

Paste your text

A sentence, a heading, or a variable name — anything you type or paste goes in the same box.

2

Pick a case

camelCase, PascalCase, snake_case, and kebab-case rebuild the text as a single identifier; the others keep your original spacing.

FAQ

Common questions

What's the difference between Title Case and Sentence case?
Title Case capitalizes the first letter of every word — used for headlines and titles. Sentence case only capitalizes the first letter of each sentence, the way normal prose is written.
How do camelCase and PascalCase decide where words split?
Spaces, hyphens, underscores, and existing case boundaries (like the "C" in "myColor") are all treated as word breaks, then the words are rejoined with no separator — capitalizing the first letter of each word except the very first in camelCase, and including the first in PascalCase.
Can I convert an existing camelCase or snake_case string?
Yes — the word-splitting logic recognizes underscores, hyphens, and camel/Pascal case boundaries as separators, so user_first_name or userFirstName both convert cleanly into any of the eight styles.
Is my text sent anywhere?
No. Every conversion runs entirely in your browser using plain JavaScript — nothing is transmitted, logged, or stored.
ad slot · bottom of content 336×280 / responsive
Related

People who used this also used

Case Converter

Our Case Converter switches any block of text between eight common capitalization styles — UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, and kebab-case — with a live word and character count alongside it.

How to Use the Case Converter

1. Enter Your Text

  • Type or paste a sentence, heading, or identifier
  • Works on single words or full paragraphs

2. Pick a Case

  • Click any of the eight case buttons
  • The result updates immediately, and stays live as you keep typing

3. Copy the Result

  • Copy the converted text with one click
  • Word and character counts update alongside it

Key Features

Prose Cases

  • UPPERCASE: every letter capitalized
  • lowercase: every letter lowercased
  • Title Case: first letter of each word capitalized
  • Sentence case: first letter of each sentence capitalized, rest lowercase

Identifier Cases

  • camelCase: words joined with no separator, first word lowercase
  • PascalCase: words joined with no separator, every word capitalized
  • snake_case: words joined with underscores, all lowercase
  • kebab-case: words joined with hyphens, all lowercase

Use Cases

1. Software Development

  • Renaming a variable, function, or database column to match a project's naming convention
  • Converting a spec's plain-English field names into camelCase or snake_case identifiers
  • Turning a page title into a kebab-case URL slug or CSS class name

2. Writing & Editing

  • Fixing text that was typed with Caps Lock stuck on
  • Converting a heading to Title Case for a style guide, or Sentence case for body copy
  • Cleaning up text pasted from a source with inconsistent capitalization

3. Content & Data Prep

  • Normalizing a spreadsheet column of names or labels to one consistent case
  • Preparing constant names (SCREAMING_SNAKE_CASE-adjacent uses) from descriptive text
  • Standardizing filenames or config keys before importing them into a system

Technical Features

  • Smart Word Splitting: Recognizes spaces, hyphens, underscores, and existing camelCase/PascalCase boundaries as word breaks
  • Live Conversion: Updates as you type, no button to re-click after editing
  • Word & Character Counts: See length at a glance without a separate tool
  • Round-Trippable Input: Convert an existing snake_case or camelCase string into any of the other seven styles

Why Use Our Case Converter

1. Covers Every Common Style

  • Four prose-oriented cases and four identifier-oriented cases
  • One tool instead of remembering separate conversion rules for each

2. Handles Real-World Text

  • Understands identifier boundaries, not just spaces
  • Works on single words, full sentences, or multi-paragraph text

3. Privacy Focused

  • Client-side processing only
  • No text is ever transmitted or stored
  • Works entirely in your browser

Understanding Text Case Conventions

Why So Many Styles Exist

Prose styles (Title Case, Sentence case) exist for readability in headings and body text. Identifier styles (camelCase, PascalCase, snake_case, kebab-case) exist because most programming languages and file systems don't allow spaces in names, so words get joined together with a consistent, parseable convention instead.

Where Each Identifier Style Is Used

  1. camelCase: Common for variable and function names in JavaScript, Java, and many other languages
  2. PascalCase: Common for class and component names, and for type names in many typed languages
  3. snake_case: Common in Python, Ruby, and SQL column names
  4. kebab-case: Common in URL slugs, HTML/CSS class names, and command-line flags

Splitting Rules

Converting into an identifier case requires first splitting the input into individual words. This tool treats whitespace, hyphens, and underscores as explicit separators, and also detects an existing camelCase or PascalCase boundary (a lowercase letter followed by an uppercase letter) as an implicit word break — so userFirstName splits into user, First, Name just like user first name would.

Remember: converting text between cases is a formatting change only — it doesn't alter the underlying words, so round-tripping through multiple cases (camelCase → snake_case → PascalCase) reliably returns to the same word boundaries each time.