Case Converter

Type or paste your text below and click a button to convert its case.

About This Tool

Case Converter transforms text between multiple casing formats: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE. It processes your entire text instantly with one click and supports copy-to-clipboard for each result. A time-saver for developers renaming variables and writers reformatting headings.

How It Works

Case conversion involves two phases: tokenization and reconstruction. First, the input text is split into individual words by detecting word boundaries — these include spaces, hyphens, underscores, and camelCase transitions (lowercase-to-uppercase). A regex like `/[A-Z]?[a-z]+|[A-Z]+(?=[A-Z][a-z]|\d|\b)|[A-Z]|\d+/g` captures each word token, including abbreviations and numbers.

Once tokenized, each casing format applies its own reconstruction rules: UPPERCASE calls `toUpperCase()` on every token and joins with the original separator. camelCase lowercases the first token and capitalizes the first letter of subsequent tokens, joining without separators. snake_case lowercases all tokens and joins with underscores. Title Case capitalizes the first letter of each word, with optional handling for articles and prepositions (a, an, the, of, in) to follow English title capitalization rules. Sentence case capitalizes only the first word and proper nouns. The converter preserves non-alphabetic characters (numbers, punctuation) in their original positions.

Share

Related Articles

84+

Tools available

97+

Blog articles

English & 한국어

Languages

Bookmark this page! We add new free tools every week.