Tools/Case Converter

Case Converter

Convert text between camelCase, snake_case, kebab-case, and more.

Input
camelCase
—
PascalCase
—
snake_case
—
CONSTANT_CASE
—
kebab-case
—
Title Case
—
Sentence case
—
lower case
—
UPPER CASE
—

Runs entirely in your browser — your data never leaves this page.

About the Case Converter

This case converter transforms text between every common programming and writing convention at once — camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, Title Case, Sentence case, and plain upper/lowercase. It intelligently splits your input into words no matter how it is currently formatted, so you can convert an existing identifier from one style to another in a click.

It is handy for renaming variables to match a codebase’s style guide, generating slugs, or cleaning up copied text.

How to use it

  1. 1Type or paste your text into the input box.
  2. 2See it converted to every case format at once.
  3. 3Copy the format you need with one click.

Common use cases

  • Renaming variables to match a style guide
  • Converting a heading into a URL slug (kebab-case)
  • Turning constants into readable labels
  • Normalizing inconsistently formatted text

Frequently asked questions

Does it detect the input’s current case automatically?

Yes. It splits the input into words by recognizing camelCase boundaries, underscores, hyphens, dots, and spaces, so you can convert from any format to any other without telling it the source style.

What is the difference between camelCase and PascalCase?

Both remove spaces and capitalize each word except that camelCase keeps the first word lowercase (myVariableName) while PascalCase capitalizes it too (MyVariableName). PascalCase is common for class names; camelCase for variables.

What is kebab-case used for?

kebab-case joins lowercase words with hyphens (my-page-title). It is the standard for URL slugs, CSS class names, and HTML attributes because those contexts are case-insensitive and hyphen-friendly.