🔒 All tools run entirely in your browser. No data leaves your device.

Text Case Converter

Convert text between camelCase, snake_case, kebab-case, PascalCase, and 10+ other formats. All outputs displayed at once with copy buttons.

Detected:
UPPER CASE
lower case
Title Case
Sentence case
camelCase
PascalCase
snake_case
SCREAMING_SNAKE_CASE
kebab-case
SCREAMING-KEBAB-CASE
dot.case
path/case
Alternating CaSe
iNVERSE cASE

About this tool

Naming conventions vary by language and context. Python prefers snake_case, JavaScript prefers camelCase, CSS custom properties and filenames use kebab-case, and most languages use SCREAMING_SNAKE_CASE for constants. When renaming across stacks — or adapting API payloads with different casing conventions — quick conversion saves a lot of manual typing.

The converter works by splitting the input into word tokens, using separators (spaces, underscores, hyphens, dots, slashes) plus case transitions (fooBarfoo, Bar). Each case format is then produced by joining the tokens with the appropriate separator and case rules.

Multi-line input is handled line-by-line — paste a list of variable names and get back a list in every format at once.

Frequently asked questions

How do I handle acronyms in camelCase?

Use the “Preserve acronyms” toggle. When on, runs of uppercase letters (HTTP, URL, API) are treated as single tokens and kept in their original case — so `helloHTTPServer` stays `helloHTTPServer` rather than becoming `helloHttpServer`. Turn it off if you prefer the more compact form.

Why does the tool show many outputs simultaneously?

Because the right target depends on language convention: Python uses snake_case, JavaScript camelCase, CSS kebab-case, C# PascalCase for methods, SCREAMING_SNAKE_CASE for constants. Seeing all forms at once saves you from iterating.

Can I convert a whole code file or list?

Yes — paste multiple lines. Each line is converted independently in every case format, and the results come back as multi-line blocks you can copy in one shot.

What is the difference between Title Case and Sentence case?

Title Case capitalises every word — "The Quick Brown Fox". Sentence case capitalises only the first word (and proper nouns, which this tool doesn’t try to detect) — "The quick brown fox".