Case Converter

Convert text between naming conventions for variables, selectors, endpoints, and column names.

Runs 100% client-side
Copy output
On this page4 sections
Input

Last selected: camelCase

Nothing yet

HOW TO USE

  1. 01Type or paste source text — works with camelCase, snake_case, kebab-case, plain sentences, or anything in between.
  2. 02Click any case card to copy that variant. The selected card stays highlighted at the bottom for one-click recopy.
  3. 03Stop words like the, a, of stay lowercased in Title Case (except in the leading position).

WHEN TO USE

Use this when you need to convert identifiers, copy, or data between naming conventions — camelCase for JavaScript, snake_case for Python and databases, kebab-case for CSS and URLs, SCREAMING_SNAKE for constants. Paste text in any recognised format; the tokeniser splits on camelCase boundaries, underscores, hyphens, and spaces simultaneously, so you don't need to pre-clean the input. Use it to normalise test data keys, generate consistent variable names, or prepare copy for different target contexts.

WHAT BUGS THIS FINDS

  • API field name case mismatch

    A backend returns camelCase JSON keys but the frontend expects snake_case — paste a field name and convert between both forms to confirm the same identifier is represented and the transformation is applied correctly.

  • URL slug contains uppercase or spaces

    A URL generated from a title that was not converted to kebab-case contains spaces or uppercase letters, causing routing failures — Convert to kebab-case and confirm the output is URL-safe.

  • Database column name in wrong case

    A SQL query referencing userId fails on a case-sensitive database that stores user_id — convert between camel and snake case to confirm the names match the schema.

  • Constant naming convention not enforced

    A test file defines constants in mixed styles (MAX_RETRY vs maxRetry) — paste each name to confirm it converts to the agreed convention and identify the non-conforming ones.

QA USE CASES

01

API field name normalisation

Convert a camelCase field name from a JavaScript API client to snake_case for a Python test assertion — confirms both representations refer to the same field without manual string comparison.

02

URL slug generation

Convert a page title or category name to kebab-case to produce the expected URL slug for a routing test assertion — verifies the slugification logic without running the application.

03

Test variable naming consistency

Paste identifiers from different parts of the codebase and convert them all to the project's agreed convention to identify and fix naming inconsistencies before a code review.