Skip to content
useToolz online tools

Text Case Converter Online

Sign in or register to save tools to favorites

Mode:

A tool for converting text case to various formats.

UPPER CASE: all letters become uppercase.

lower case: all letters become lowercase.

Title Case: the first letter of each word becomes uppercase, the rest — lowercase.

Sentence case: only the first letter of each sentence is capitalized.

camelCase: words are joined without separators, each word except the first starts with a capital letter. Used in JavaScript.

PascalCase: like camelCase, but the first word is also capitalized. Used for classes in C#, Java.

snake_case: words are separated by underscores, all letters are lowercase. Used in Python, Ruby, SQL.

kebab-case: words separated by hyphens, all lowercase. Used in URLs, CSS classes and HTML attributes.

CONSTANT_CASE: words separated by underscores, all uppercase. Used for constants in JavaScript, Java and C++.

dot.case: words separated by dots, all lowercase. Used in Java package names and config files.

iNVERSE cASE: inverts the case of each letter: uppercase becomes lowercase and vice versa.

Rewrite text with AI

Rewriting, style polish, uniqueness — in Russian, in rubles, no VPN.

Open AI rewriter →

Text Case Converter: Upper, Lower, camelCase and More Formats

Instantly transform text case — UPPER, lower, Title Case, camelCase, kebab-case, and 6 more formats. Essential for copywriters, developers, and anyone working with text or code.

Text cases overview

Text case determines which letters in a string are uppercase or lowercase. In everyday writing, the main cases are uppercase, lowercase, title case, and sentence case. In programming, many more naming conventions exist, each with specific use cases.

Case reference table

CaseExampleUse case
UPPER CASEHELLO WORLDHeadings, emphasis, abbreviations
lower casehello worldURLs, tags, technical fields
Title CaseHello WorldEnglish headings and titles
Sentence caseHello worldStandard prose, sentences
iNVERSE cASEhELLO wORLDStylistic effects
camelCasehelloWorldJavaScript, Java variables
PascalCaseHelloWorldClasses, components, types
snake_casehello_worldPython, Ruby, SQL, PHP
kebab-casehello-worldCSS classes, URLs, HTML attributes
CONSTANT_CASEHELLO_WORLDConstants in most languages
dot.casehello.worldConfig files, namespaces

Code naming conventions

JavaScript / TypeScript

  • Variables and functions — camelCase
  • Classes and interfaces — PascalCase
  • Constants — CONSTANT_CASE
  • CSS classes (BEM) — block__element--modifier

Python (PEP 8)

  • Variables and functions — snake_case
  • Classes — PascalCase
  • Constants — CONSTANT_CASE

Use cases

  • Copywriting — quickly convert headings to Title Case or body text to Sentence case
  • Development — transform variable names between camelCase, snake_case, and kebab-case when porting code between languages
  • CSS/HTML — generate kebab-case class names from descriptive phrases
  • Constants — convert identifiers to CONSTANT_CASE for configuration values
  • Data cleanup — normalize inconsistent casing in imported datasets or user input

FAQ

What's the difference between Title Case and Sentence case?

Title Case capitalizes the first letter of every major word (articles and prepositions stay lowercase in English). Sentence case only capitalizes the first word and proper nouns. Title Case is standard for English headings; Sentence case is more common in most other languages.

What case should URLs use?

URLs should be lowercase with hyphens (kebab-case): /my-site/articles/how-to-do-seo. Google recommends hyphens as word separators rather than underscores.

See also: transliteration, word counter, URL encoder.

We use cookies for site operation and analytics. Learn more

Upscaled image
Download

Log in to continue

or

Pay without signing up

credits for ₽. Email is needed for the receipt and access to your purchase.

Credits never expire. Already have an account? Log in