Skip to content
motifuse
Text & Writing

Case Converter

Convert text into nine casing styles at once — uppercase, lowercase, title, sentence, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE.

  • Free public tool
  • No sign-up for this tool
  • Processing clearly labeled
  • Instant results

Content last reviewed

0 characters · 0 words

UPPERCASEHeadlines, acronyms

lowercaseNormalizing text

Title CaseHeadings, book titles

Sentence caseBody copy

camelCaseJavaScript variables

PascalCaseClass names

snake_casePython, databases

kebab-caseURLs, CSS classes

CONSTANT_CASEEnv vars, constants

Quick Start

  1. Enter your text

    Type or paste into the input box — a sample phrase is available if you want to experiment first.

  2. Scan the nine result cards

    Every casing style converts live below the input, so you can compare them side by side.

  3. Copy the one you need

    Each card has its own copy button — click it to put that version on your clipboard.

Examples

One phrase, four developer styles

A plain phrase converted into common identifier conventions.

Input

product launch checklist

Output

camelCase: productLaunchChecklist · PascalCase: ProductLaunchChecklist · snake_case: product_launch_checklist · CONSTANT_CASE: PRODUCT_LAUNCH_CHECKLIST

Taming an all-caps sentence

Sentence case lowercases everything, then capitalizes the start of each sentence. Note that proper nouns like Friday are not restored automatically.

Input

THIS IS URGENT. PLEASE REPLY BY FRIDAY.

Output

This is urgent. Please reply by friday.

About the Case Converter

Retyping a paragraph because the capitalization came out wrong — or renaming a variable by hand because the style guide wants snake_case — is busywork this tool removes. Type or paste once, and nine converted versions appear together: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE.

Showing every style at the same time is the point. Writers can compare a Title Case heading with its sentence-case alternative before choosing; developers can grab the camelCase, kebab-case, and CONSTANT_CASE forms of the same phrase for a variable, a CSS class, and an environment variable without converting three times. Each card carries a short hint about where that style is conventionally used and its own copy button.

Conversion happens instantly in your browser — there is no convert button, no upload, and nothing stored. It is equally useful for fixing a sentence typed with Caps Lock on, normalizing messy spreadsheet values, and generating identifier names that match a codebase convention.

How to Use Case Converter

  1. Type or paste your text into the input box. Click Try an example if you want to see the conversions with sample text first.

  2. Look at the grid of cards below — all nine casing styles are generated live as you type, each labeled with a hint about its typical use (headlines, JavaScript variables, URLs, and so on).

  3. Click the copy icon on the card you want. Only that version is copied.

  4. Edit the input at any time; every card updates immediately.

  5. Click Clear to reset and convert the next piece of text.

Key Features

  • Nine styles at once

    UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE are all generated from a single input.

  • Live conversion

    Results update on every keystroke — there is no convert button to press.

  • Per-card copy buttons

    Copy exactly the version you need without selecting text manually.

  • Usage hints

    Each card notes where the style is conventionally used, such as env vars for CONSTANT_CASE or URLs and CSS classes for kebab-case.

  • Developer-friendly identifier cases

    Spaces, hyphens, and underscores in the input are treated as word boundaries when building camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE.

When to Use Case Converter

  • Fixing Caps Lock accidents

    Convert a paragraph accidentally typed in capitals to lowercase or Sentence case instead of retyping it.

  • Formatting headings

    Compare Title Case and Sentence case versions of a headline before dropping it into a post or slide.

  • Naming code identifiers

    Turn a plain phrase into camelCase for JavaScript, snake_case for Python, kebab-case for CSS classes, or CONSTANT_CASE for environment variables.

  • Cleaning imported data

    Normalize inconsistently cased spreadsheet or database values to one predictable style.

  • Building slugs

    Produce a kebab-case version of a title as the starting point for a URL slug.

How It Works

Each card applies its own transformation to the same input, live in your browser.

  • UPPERCASE / lowercase map every letter directly.
  • Title Case capitalizes the first letter of every word and lowercases the rest — a simple style that does not skip short words like a or of.
  • Sentence case lowercases the whole text, then capitalizes the first letter and any letter following ., !, or ?.
  • camelCase and PascalCase lowercase the text, split it on spaces, hyphens, and underscores, then rejoin the words with capitalized initials (camelCase leaves the first word lowercase).
  • snake_case and kebab-case lowercase the text and replace runs of spaces and the other separator with _ or -.
  • CONSTANT_CASE uppercases the text and replaces spaces and hyphens with underscores.

Numbers, punctuation other than the separators above, and symbols pass through unchanged.

Supported Formats and Options

Formats

  • Plain text input

    Any typed or pasted text, from a single word to multiple paragraphs. Multi-line text is converted line by line within one output.

Options

  • Try an example

    Fills the input with a sample phrase so you can preview all nine conversions.

  • Clear

    Empties the input and resets every card.

  • Fullscreen expand

    Opens the input in a larger editor for long passages.

Common Errors and Troubleshooting

Common errors

  • Acronyms lose their capitals

    Title Case and Sentence case rewrite letter casing wholesale, so NASA becomes Nasa or nasa. Re-check acronyms and proper nouns after converting.

  • camelCase input is not split

    The identifier styles split on spaces, hyphens, and underscores only. Feeding productLaunchChecklist into snake_case returns productlaunchchecklist, because there are no separators to detect. Add spaces between words first.

  • Short words are capitalized in Title Case

    This converter uses the simple convention where every word is capitalized, including a, of, and the. Publications that follow AP or Chicago style keep such words lowercase — adjust manually if your style guide requires it.

Troubleshooting guide

When a conversion is not what you expected

  • Proper nouns came out lowercase: Sentence case cannot tell names from ordinary words, so friday or london need manual re-capitalization afterward.
  • The identifier styles merged everything into one word: make sure the words in your input are separated by spaces, hyphens, or underscores — those are the only boundaries the converter recognizes.
  • Mixed, messy input produced odd results: convert to lowercase first to flatten the text, then apply the style you actually want.
  • Punctuation looks untouched: that is by design — only letter casing and separator characters change, so quotes, commas, and numbers survive conversion intact.

Limitations and Important Notes

Title Case follows the simple capitalize-every-word convention rather than AP or Chicago rules, so short words like of and the are capitalized too. Sentence case cannot recognize proper nouns, acronyms, or the pronoun I — those need a manual pass afterward. The identifier styles (camelCase, snake_case, and friends) split only on spaces, hyphens, and underscores; they do not detect word boundaries inside existing camelCase text. Casing is applied with standard JavaScript string methods, which handle most Latin-script languages well but may not match locale-specific rules such as the Turkish dotless i.

Privacy and Data Processing

All nine conversions are computed in your browser as you type. Nothing you enter is uploaded, stored, or logged by the tool, and there is no account or submit step.

Tips and Best Practices

Practical tips

  • Convert messy mixed-case text to lowercase first, then apply the style you actually want.

  • Re-check acronyms and proper nouns after using Title Case or Sentence case — NASA becomes Nasa.

  • Separate words with spaces before using the identifier styles; existing camelCase is not split automatically.

  • For headlines under a formal style guide, treat Title Case output as a starting point and lowercase minor words by hand.

  • Copy from the card you need rather than selecting text — each card copies only its own version.

Best practices

Choosing the right case for the job

For prose, prefer Sentence case for body copy and decide once whether headings use Title Case or Sentence case — mixing both on one page looks unedited. Avoid ALL CAPS for emphasis in body text; it reads as shouting and is harder for screen readers to convey well.

For code, match the convention of the ecosystem you are in: camelCase for JavaScript variables, PascalCase for class and component names, snake_case for Python and database columns, kebab-case for CSS classes and URL slugs, and CONSTANT_CASE for environment variables and constants. Converting the same phrase into each style from one input keeps related names consistent across layers of a project.

After any bulk conversion, skim the output for words that carry meaning through their capitalization — names, acronyms, trademarks — and restore them manually.

Technical Details

Conversions run client-side with plain JavaScript string operations: toUpperCase and toLowerCase for the simple styles, and regular expressions for the rest. Word boundaries for the identifier styles are runs of whitespace, hyphens, and underscores. Sentence boundaries are detected as ., !, or ? followed by whitespace. All nine outputs are recomputed on each keystroke; no text is transmitted or persisted.

Comparison

The nine styles at a glance

StyleExample outputTypical use
UPPERCASEPRODUCT LAUNCHHeadlines, acronyms
lowercaseproduct launchNormalizing text
Title CaseProduct LaunchHeadings, titles
Sentence caseProduct launchBody copy
camelCaseproductLaunchJavaScript variables
PascalCaseProductLaunchClass names
snake_caseproduct_launchPython, databases
kebab-caseproduct-launchURLs, CSS classes
CONSTANT_CASEPRODUCT_LAUNCHEnv vars, constants

Who Is This For?

Writers and editors fixing capitalization or formatting headings; developers generating identifier names that match a codebase convention; content and SEO teams building slugs and normalizing titles; and anyone dealing with data exports where the same value appears in three different casings. Because all styles appear at once, it also works as a quick reference for which convention looks right.

Frequently Asked Questions

What is the difference between Title Case and Sentence case?

Title Case capitalizes the first letter of every word, which suits headings and titles. Sentence case capitalizes only the first word of each sentence, which suits body copy. Neither style preserves proper nouns automatically here, so re-check names after converting.

Does converting change anything besides letters?

The simple styles change letter casing only — numbers, punctuation, and symbols pass through untouched. The identifier styles additionally replace spaces, hyphens, or underscores with the separator that style uses.

Can it convert existing camelCase into snake_case?

Not directly. The converter splits words on spaces, hyphens, and underscores, so it cannot see the boundaries inside productLaunchChecklist. Insert spaces between the words first and it will produce product_launch_checklist.

Why does Title Case capitalize words like of and the?

It follows the simple convention of capitalizing every word. Formal style guides such as AP keep minor words lowercase; if you follow one, lowercase those words manually after copying.

Is there a limit on how much text I can convert?

There is no fixed cap. Everything runs in your browser, so very large documents are limited only by your device — typical articles and pages convert instantly.

Is my text sent to a server?

No. The conversions are computed locally in the page as you type, and nothing you enter is uploaded or saved.

Find this useful? Share it.