🔤

Case Converter

Convert text between camelCase, snake_case, kebab-case, PascalCase, and every other common format.

Input

camelCase
JavaScript variables and functions
PascalCase
Classes, types, and components
snake_case
Python variables, database columns
CONSTANT_CASE
Constants and environment variables
kebab-case
URLs, CSS classes, file names
Train-Case
HTTP headers
dot.case
Property paths, namespaces
Title Case
Headlines and book titles
Sentence case
Standard prose
lowercase
All lowercase
UPPERCASE
All uppercase
iNVERSE
Inverted case

About this tool

A free case converter that handles every common text format programmers and writers use. Paste any text in any case — the tool intelligently splits it into words and shows all 12 conversions side by side, ready to copy.

🔁12 different case conversions in one view
🤖Smart word splitting (handles camelCase, kebab-case, snake_case input)
📋Per-row copy buttons
Real-time conversion as you type
🛡️Runs entirely in your browser
🆓Free, no sign-ups

How to use it

Quick steps to get the most out of this utility.

  1. 1

    Paste any text

    Works with text in any existing case — the tool detects word boundaries automatically.

  2. 2

    See all conversions

    Twelve different case formats appear immediately, each with its own copy button.

  3. 3

    Copy what you need

    Click the Copy button on any row to put that conversion on your clipboard.

Why naming conventions matter

Every programming community has its preferred conventions. Mixing them in one codebase creates friction that slows everyone down. JavaScript uses camelCase for variables and PascalCase for classes. Python uses snake_case for variables. Constants are usually CONSTANT_CASE everywhere. URLs and CSS class names are usually kebab-case.

When you migrate data, generate code, or build slugs from titles, converting between cases is something you do constantly. Doing it by hand for one identifier is fine. Doing it for a list of fifty is the kind of repetitive work that the case converter exists to eliminate.

Frequently asked questions

Where is each case typically used?+

camelCase: JavaScript variables and functions. PascalCase: React components and TypeScript types. snake_case: Python and database columns. CONSTANT_CASE: environment variables and constants. kebab-case: URLs and CSS classes.

Can it handle mixed input like "myVariableName"?+

Yes. The tool splits camelCase and PascalCase input by detecting case transitions (lowercase→uppercase). It also splits on spaces, hyphens, underscores, and dots.

What is Train-Case?+

Train-Case is HTTP-Header-Style — capitalized words joined by hyphens. Used in HTTP headers (Content-Type, X-Forwarded-For) and occasional UI conventions.

Why does the tool sometimes lowercase letters that were uppercase in my input?+

Each conversion enforces its own case rules. snake_case is always lowercase. CONSTANT_CASE is always uppercase. To preserve original casing exactly, use one of the formats that matches it (Title Case, lowercase, UPPERCASE, etc.).

Keep exploring

More utilities and reading from Toolisk.