usefmtly

Case Converter

Free online case converter. Convert any text to UPPER CASE, lower case, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, SCREAMING_SNAKE, dot.case, alternating, or inverse — instantly. No signup required.

All formats live

Text formats

UPPER CASEAll letters uppercase

output appears here

lower caseAll letters lowercase

output appears here

Title CaseEvery word capitalised

output appears here

Sentence caseFirst letter of each sentence

output appears here

Code formats

camelCaseNo spaces, first word lower

output appears here

PascalCaseNo spaces, all words upper

output appears here

snake_caseWords joined by underscores

output appears here

kebab-caseWords joined by hyphens

output appears here

SCREAMING_SNAKEUppercase underscored

output appears here

dot.caseWords joined by dots

output appears here

Fun formats

aLtErNaTiNgAlternating upper/lower each char

output appears here

iNVERSE cASEFlip the case of every letter

output appears here

How to use the Case Converter

  1. Paste or type your text into the input box above. All 12 formats update instantly.
  2. Find the format you need — results are grouped into Text formats, Code formats, and Fun formats.
  3. Click the copy icon on any card to copy that format to your clipboard — no need to select text manually.
  4. Use the sample button to see all formats in action before entering your own text.

Case formats and when to use them

UPPER CASE·THE QUICK BROWN FOX

Headlines, acronyms, emphasis. Overused in body text — reserve for impact.

lower case·the quick brown fox

Body text defaults, CSS values, some command-line tools and URL slugs.

Title Case·The Quick Brown Fox

Article titles, headings, product names, proper nouns.

Sentence case·The quick brown fox

Standard prose, email subjects, UI labels and button text.

camelCase·theQuickBrownFox

JavaScript/TypeScript variables and functions, Java fields, Swift properties.

PascalCase·TheQuickBrownFox

Class names in OOP languages, React component names, C# types.

snake_case·the_quick_brown_fox

Python variables and functions, Ruby, Rust, database column names, JSON keys.

kebab-case·the-quick-brown-fox

CSS class names, HTML data attributes, URL slugs, file names.

SCREAMING_SNAKE_CASE·THE_QUICK_BROWN_FOX

Environment variables, constants, enum values across most languages.

dot.case·the.quick.brown.fox

Configuration keys (Java properties, some YAML libs), logging namespaces.

Naming conventions by language

LanguageVariablesFunctionsClasses
JavaScript / TypeScriptcamelCasecamelCasePascalCase
Pythonsnake_casesnake_casePascalCase
Java / KotlincamelCasecamelCasePascalCase
C#camelCasePascalCasePascalCase
GocamelCasecamelCase / PascalCasePascalCase
Rustsnake_casesnake_casePascalCase
Rubysnake_casesnake_casePascalCase
CSSkebab-casekebab-casekebab-case

Frequently Asked Questions

What is camelCase and when should I use it?

camelCase joins words without spaces, capitalising every word except the first (e.g. myVariableName). It is the standard naming convention for variables and functions in JavaScript, TypeScript, Java, Swift, and many other languages.

What is the difference between camelCase and PascalCase?

Both join words without spaces. camelCase keeps the first letter lowercase (myVariable). PascalCase capitalises every word including the first (MyVariable). PascalCase is typically used for class names and React components.

What is snake_case used for?

snake_case separates words with underscores (my_variable_name). It is the dominant convention in Python, Ruby, and Rust, and is common in database column names and API response keys.

What is kebab-case used for?

kebab-case separates words with hyphens (my-variable-name). It is the standard for CSS class names, HTML attributes, URL slugs, and file names in many frameworks.

What is SCREAMING_SNAKE_CASE?

SCREAMING_SNAKE_CASE is snake_case in all capitals (MY_CONSTANT). It is the universal convention for environment variables, configuration constants, and enum values across most programming languages.

What is Title Case?

Title Case capitalises the first letter of every word (The Quick Brown Fox). It is used for headings, article titles, book titles, and proper names. Some style guides (AP, Chicago) have additional rules for small words like "and", "of", "the" — this tool uses a simplified version that capitalises all words.

Related Tools