KickSolve • Free • Private

Online Case Converter

Convert text between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, sentence case and more. All 15 formats update as you type, and you can convert a whole list line by line.

15 case formatsLine-by-line conversionNothing uploaded
0 characters
Try:

Converted text

Click a result or its Copy button to copy it. Words are detected from spaces, hyphens, underscores, punctuation and camelCase boundaries.

How to use Case Converter on KickSolve

Three quick steps, no account needed.

Enter your textType or paste a phrase, a variable name or a list with one item per line.
See every formatAll 15 formats update instantly. Use the filter to show only code or text styles.
Copy the one you needClick a result or its Copy button and paste it into your code or document.

Why choose KickSolve

Built for speed, privacy and clean results.

15 formats at oncecamelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, path/case, Train-Case, Title Case and more.
Line by lineConvert a whole list of names in one go. Each line becomes its own identifier.
Smart word detectionSplits spaces, hyphens, underscores, punctuation and camelCase, including acronyms like XMLHttpRequest.
Private and instantEverything runs in your browser. Nothing is uploaded or stored.

What you can do with Case Converter

Everything this tool offers.

Variable and function namesTurn a description into camelCase or snake_case.
CSS classes and URL slugsMake kebab-case names from titles and phrases.
Database columnsConvert labels to snake_case for tables and fields.
Environment variables and constantsCreate CONSTANT_CASE names.
Headings and titlesApply Title Case with small words kept lowercase.
Fix CAPS LOCK textChange shouting text to sentence case in one click.
Rename lists of fieldsConvert many names at once, one per line.
Refactor between stylesSwitch identifiers from camelCase to snake_case and back.

About Case Converter on KickSolve

What it does and how to get the best results.

What is a case converter?

A case converter changes the capitalization and word separators of text. Programmers use it to follow naming conventions such as camelCase and snake_case, and writers use it to switch between Title Case, Sentence case and UPPERCASE.

How words are detected

The converter splits on spaces, hyphens, underscores and punctuation, and on lowercase-to-uppercase changes such as userName. Acronym boundaries are handled too, so XMLHttpRequest becomes XML, Http and Request. Apostrophes are removed so don't becomes dont in code styles.

Title Case rules

With Smart Title Case on, short words such as a, an, the, and, of, in and to stay lowercase unless they are the first or last word. Turn it off, or use Capitalize Each Word, to capitalize every word.

Limits

Names with special capitalization, such as iPhone or macOS, and domain-specific abbreviations should be checked by hand. Letters from any language are supported, but case rules follow your browser's locale.

Read the KickSolve privacy policy for details about the site itself.

Naming conventions by language

Which case style each language and ecosystem usually uses.

LanguageVariables and functionsClasses and typesConstantsFile names
JavaScript / TypeScriptcamelCasePascalCaseCONSTANT_CASEkebab-case or camelCase
Pythonsnake_casePascalCaseCONSTANT_CASEsnake_case
JavacamelCasePascalCaseCONSTANT_CASEPascalCase
C#camelCase (locals), PascalCase (methods)PascalCasePascalCasePascalCase
GocamelCase (private), PascalCase (exported)PascalCasePascalCase or camelCaselowercase or snake_case
Rubysnake_casePascalCaseCONSTANT_CASEsnake_case
Rustsnake_casePascalCaseCONSTANT_CASEsnake_case
PHPcamelCasePascalCaseCONSTANT_CASEPascalCase
CSS and HTMLkebab-case--kebab-case
SQLsnake_case-UPPERCASE keywordssnake_case

One phrase in every code format

The phrase "user profile settings".

FormatResultCommon use
camelCaseuserProfileSettingsJavaScript variables and functions
PascalCaseUserProfileSettingsClasses, components, types
snake_caseuser_profile_settingsPython, Ruby, database fields
kebab-caseuser-profile-settingsCSS classes, URL slugs
CONSTANT_CASEUSER_PROFILE_SETTINGSConstants, environment variables
dot.caseuser.profile.settingsConfig keys, package names
path/caseuser/profile/settingsURL and file paths
Train-CaseUser-Profile-SettingsHTTP headers

Frequently asked questions

Quick answers.

What is a case converter?

A case converter changes capitalization and word separators. It can turn text into camelCase, PascalCase, snake_case, kebab-case, Title Case and other formats.

What is the difference between camelCase and PascalCase?

camelCase starts with a lowercase letter, for example userName. PascalCase capitalizes the first letter of every word, including the first, for example UserName.

What is the difference between snake_case and kebab-case?

snake_case joins lowercase words with underscores, and kebab-case joins them with hyphens. snake_case is common in Python and databases, kebab-case in CSS and URLs.

How do I convert text to camelCase?

Paste your text. The camelCase result lowercases the first word and capitalizes the first letter of the rest, with spaces and punctuation removed.

What is the difference between Title Case and Capitalize Each Word?

Title Case lowercases the rest of each word and, with Smart mode, keeps small words like of and the lowercase. Capitalize Each Word only uppercases the first letter of every word.

Can I convert many lines at once?

Yes. With Convert each line separately on, every line is converted on its own, which is ideal for lists of field or variable names.

Does it handle existing camelCase or acronyms?

Yes. It splits lowercase-to-uppercase transitions and acronyms, so XMLHttpRequest becomes XML Http Request before it is reformatted.

Does it work with accented and non-English letters?

Yes. Letters and digits from any language are kept, and case changes follow your browser locale.

Why did my apostrophes disappear?

Code formats drop apostrophes so that don't becomes dont. Text formats such as Title Case keep them.

Is my text uploaded?

No. Conversion runs in your browser and nothing is sent to a server.

Is the case converter free?

Yes. It is free with no signup and no limits.

More free tools from KickSolve

Related everyday tools.