Transform & Case Runs in your browser

Case Converter — camelCase, snake_case, Title Case & 10 More

Type or paste text and see it in thirteen cases at once: camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, Train-Case, dot.case, path/case, Title Case, Sentence case, Capitalize Each Word, lower case and UPPER CASE. Lists of names are converted one line at a time, acronyms like XMLHttpRequest are split correctly, and each result has its own Copy button.

13 cases at once Lists line by line Updates as you type Runs in your browser

Every case below updates as you type. Lists are converted line by line.

camelCase
userAccountId
PascalCase
UserAccountId
snake_case
user_account_id
CONSTANT_CASE
USER_ACCOUNT_ID
kebab-case
user-account-id
Train-Case
User-Account-Id
dot.case
user.account.id
path/case
user/account/id
Title Case
The Lord of the Rings
Sentence case
The lord of the rings
Capitalize Each Word
The Lord Of The Rings
lower case
the lord of the rings
UPPER CASE
THE LORD OF THE RINGS

What Case Converter does

Every case, side by side

No drop-down to pick from and nothing to press. All thirteen results update on each keystroke, each with its own Copy button, so you just grab the one you need.

Whole lists, one line at a time

Paste 200 database column names and get 200 camelCase properties back, one per line — not one enormous word. Blank lines are kept.

Understands real identifiers

XMLHttpRequest becomes xml_http_request, base64Encode keeps its digits together, and any mix of spaces, dashes, dots and underscores is read as word breaks.

Title Case that follows the rules

Small words like of, the and and stay lower case unless they start or end the title or follow a colon — the AP and Chicago convention. Acronyms and brand names like NASA and iPhone are left alone.

Tells you what you pasted

Paste user_account_id and the tool marks it as snake_case, which is handy when you are unsure what a codebase uses.

Nothing leaves the page

Conversion runs in your browser, so pasting internal names, drafts or client copy sends them nowhere.

How it works

  1. Paste your text

    A heading, a variable name, or a list with one item per line.

  2. Scan the results

    All 13 cases appear below, and the one your input already uses is marked.

  3. Copy what you need

    Each case has its own Copy button.

Cheatsheet

The tokens you reach for most, at a glance.

camelCaseJavaScript, Java and JSON properties
PascalCaseClasses, types and React components
snake_casePython, Ruby and SQL columns
CONSTANT_CASEConstants and environment variables
kebab-caseURLs, CSS classes and file names
Train-CaseHTTP headers such as Content-Type
dot.caseConfig keys and i18n message ids

How people use it

Renaming in code

Turn API field names into camelCase properties, or constants into CONSTANT_CASE.

Database and CSV columns

Convert a list of spreadsheet headers into snake_case column names in one go.

URL slugs and file names

kebab-case gives clean, lower-case slugs; path/case builds folder paths.

Headings and titles

Fix a heading typed in CAPS, or put a blog title into proper Title Case.

Frequently asked questions

What is the difference between camelCase and PascalCase?

Both join words without spaces and capitalise each word, but camelCase starts with a lower-case letter (userAccountId) and PascalCase with a capital (UserAccountId). JavaScript and Java use camelCase for variables and PascalCase for classes.

When should I use snake_case or kebab-case?

snake_case is standard for Python variables, Ruby, and SQL column names. kebab-case is used in URLs, CSS class names and file names, because hyphens are readable and URL-safe. CONSTANT_CASE (upper snake case) marks constants and environment variables.

How does Title Case decide which words to capitalise?

It capitalises every word except short articles, conjunctions and prepositions — a, an, the, and, but, or, of, in, on, to and similar — unless one of them is the first or last word or comes after a colon. Words already in capitals like NASA, or with inner capitals like iPhone, are kept as they are.

Why does my list come out one line per item?

Identifier cases such as camelCase convert each line on its own, so a list of names stays a list. Prose cases like Title Case and Sentence case keep your line breaks and punctuation exactly where they were.

What happens to punctuation and apostrophes?

In identifier cases, anything that is not a letter or digit becomes a word break, and apostrophes are dropped so don't becomes dont. Prose cases leave punctuation untouched.

Does it work with accented letters?

Yes. Letters such as é, ü and ñ are treated as letters in every case, so École normale becomes écoleNormale in camelCase. Counting words or characters instead? Use the word counter.

Last updated 2026-09-15