Case Converter

Convert identifiers and text between camelCase, snake_case, Title Case and more, all at once.

camelCase
PascalCase
snake_case
CONSTANT_CASE
kebab-case
dot.case
Title Case
Sentence case
lower case
UPPER CASE

Everything you enter is processed inside this browser and is never sent to a server.

How to use it

Type or paste a name or some text. Every format is shown at once, and each has its own copy button. With several lines of input, identifier formats such as camelCase are applied line by line.

The formats and where they are used

FormatExampleTypical use
camelCaseuserProfileIdVariables and functions in JavaScript and Java
PascalCaseUserProfileIdClasses, types, React components
snake_caseuser_profile_idPython and Ruby variables, database columns
CONSTANT_CASEUSER_PROFILE_IDConstants and environment variables
kebab-caseuser-profile-idURLs, CSS classes, file names
dot.caseuser.profile.idConfiguration and translation keys

How words are detected

Acronyms follow the target format, so XMLHttpRequest becomes xmlHttpRequest in camelCase.

Text formats

Frequently asked questions

Does it handle accented letters?

Yes. Letters from any alphabet are recognised, so “café au lait” becomes caféAuLait.

Is my text uploaded?

No. Conversion happens entirely in your browser.