Free Online Case Converter

Type or paste any text to instantly see it converted into every common naming convention at once — camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, UPPERCASE, lowercase, and Title Case — each with its own copy button. It helps frontend and API developers normalize variable names, database fields, labels, and URL-friendly identifiers.

Why naming conventions matter

Different languages, frameworks, and style guides expect different naming conventions: JavaScript variables are conventionally camelCase, Python variables and database columns are typically snake_case, CSS classes and URL slugs use kebab-case, and class names across most languages use PascalCase. Manually retyping a name in a different convention is tedious and error-prone — this tool converts a name (or a whole block of text) into every common style at once.

How the conversion works

The tool first breaks your input into individual words, splitting on existing separators (spaces, hyphens, underscores) and on lowercase-to-uppercase letter transitions within a word — so myVariableName, my-variable-name, and my_variable_name are all recognized as the same three words and convert identically to any target format.

Common use cases

  • Renaming a variable when porting code between languages with different conventions
  • Converting a database column name into a matching JavaScript property name
  • Turning a page title into a URL-safe kebab-case slug or a PascalCase component name

How to use Case Converter for related tasks

Paste text, choose the target case, and review acronyms, punctuation, and mixed separators because automatic word boundaries can be ambiguous.

Related tools: Slug Generator, String Replacer / List Compare.

Frequently asked questions

How does the tool know where one word ends and another begins?

It splits on existing separators (spaces, hyphens, underscores) and on lowercase-to-uppercase transitions within a word (so "myVariableName" is recognized as three words: my, Variable, Name) — the same tokenization that lets it convert cleanly between any of the supported styles.

What is the difference between snake_case and kebab-case?

Both lowercase every word, but snake_case joins them with underscores (common in Python and database column names) while kebab-case joins them with hyphens (common in URLs and CSS class names).

What is CONSTANT_CASE used for?

CONSTANT_CASE (all uppercase, underscore-separated) is the conventional style for constant values in many languages, like C's or JavaScript's MAX_RETRY_COUNT.

Does this work on multiple lines at once?

Yes — paste a whole block of text and every conversion is applied to the full input, not just a single word or line.

Why did my acronym change during case conversion?

Case tools infer word boundaries from capitals and separators; review initialisms such as API or JSON when exact naming matters.