Case Converter

Convert text between lower, upper, title, camel, snake, kebab and constant case.

  • Runs locally in your browser
  • No upload required

Try it

Paste any text. It is converted in your browser and never uploaded.

Result
hello world

Supported formats

Input
text, select
Output
text

Privacy

Runs entirely in your browser. Your input is never uploaded, stored, or sent to a third party.

Processing
In your browser
Privacy level
Browser only

Converted 11 character(s) to upper case.

How it works

  • Read the input text and the target case.
  • Split the text into Unicode words at case boundaries.
  • Re-join the words with the target case's rule.
textSelect to copy
transform(words)
  • Conversions are one-way and do not recover the original spelling.
  • Case mapping follows Unicode and is not locale-specific.

Methodology

  1. Read the input as Unicode letters and numbers.
  2. Split words at separators and at case transitions.
  3. Apply the target case's separator and capitalisation.
  4. Lower and upper map the whole text with Unicode defaults.
  5. Sentence case capitalises the first letter of each sentence.

Usage

  1. Choose the target case.
  2. Paste or type the text.
  3. Run the tool and read the converted result.

Examples

These are examples, not current values: they use fixed inputs, while the interactive tool computes live results in your browser.

Lower and upper

jsonSelect to copy
{
  "text": "Hello World",
  "mode": "upper"
}

Title case

jsonSelect to copy
{
  "text": "the quick brown fox",
  "mode": "title"
}

camelCase

jsonSelect to copy
{
  "text": "HTTPServer response code",
  "mode": "camel"
}

snake_case

jsonSelect to copy
{
  "text": "HTTPServer-v2",
  "mode": "snake"
}

CONSTANT_CASE

jsonSelect to copy
{
  "text": "max retry count",
  "mode": "constant"
}

Limitations

Choosing a case

Use camelCase for identifiers, kebab-case for URLs and snake_case for data.

Frequently asked questions

What is the difference between camelCase and PascalCase?
camelCase lowercases the first word; PascalCase capitalises every word.
How are acronyms handled?
An acronym before a capitalised word is split (HTTPServer -> HTTP Server).
Does it apply locale-specific casing rules?
No. It uses Unicode default case mapping, not locale-specific rules.
Is my text sent anywhere?
No. The conversion runs in your browser and is never uploaded.

Sources

  1. Unicode Standard Annex #44: Unicode Character Database — Unicode Consortium
  2. MDN Web Docs — String.prototype.toLowerCase() — MDN