100% offline
Text & Content
Free · no signup
Updated

Case Converter

A Case Converter transforms a string between common identifier and prose casing styles — camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, Sentence case, UPPERCASE, and lowercase — entirely in your browser.

Input
  • camelCase
  • PascalCase
  • snake_case
  • kebab-case
  • CONSTANT_CASE
  • dot.case
  • Title Case
  • Sentence case
  • UPPERCASE
  • lowercase

About Case Converter

Paste any string and see every common casing variant side-by-side. The converter handles input with mixed separators (spaces, underscores, hyphens) and disambiguates word boundaries inside camelCase and PascalCase using a small set of locale-aware rules.

What Case Converter does

  • Nine case variants generated side-by-side from a single input
  • camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, Sentence case, UPPERCASE, lowercase
  • Handles mixed separator input (spaces, underscores, hyphens)
  • Acronym-aware splitting (HTTPResponse stays whole where possible)
  • Locale-aware uppercase/lowercase via String.prototype.toLocale* methods

When to reach for Case Converter

  • Renaming a variable to match the host language's casing convention
  • Converting an API field name to the casing your codebase expects
  • Generating consistent slugs from titles for URLs
  • Standardizing headings to Title Case before publishing

How to use Case Converter

  1. 01

    Paste your text

    Paste any identifier or sentence.

  2. 02

    Read every variant

    All nine case variants appear in a labeled grid below the input.

  3. 03

    Copy the one you need

    Each variant has its own copy button.

When to use Case Converter vs alternatives

AlternativeUse Case Converter when…Use the alternative when…
VS Code 'Change Case' extensionthe text is in a browser, chat, or doc — not in an open editor file.the text is already in a file you are editing.

Frequently asked questions

How does the converter detect word boundaries?
It splits on whitespace, hyphens, and underscores; then it splits camelCase by inserting a boundary before any uppercase letter that follows a lowercase letter. Acronyms like 'HTTPResponse' are detected and kept whole where possible.
Does it preserve numbers?
Yes. Digits are kept inline and treated as part of the adjacent word — 'user2faToken' becomes 'user2fa-token' in kebab-case, for example.
What's the difference between Title Case and Sentence case?
Title Case capitalizes the first letter of every word ('How To Convert Cases'). Sentence case capitalizes only the first word and proper nouns ('How to convert cases').