TTKTheTextKit
Case & Formatting

Case Converter

Select a casing format and paste your text to instantly convert it. Supported formats include UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, and kebab-case. Useful for formatting headings, preparing database column names, fixing accidental caps lock, or standardizing variable names.

Related Tools

[2 suggestions]

About the Case Converter

The Case Converter applies seven distinct transformation rules to your input text. UPPERCASE and lowercase are straightforward full-string transforms. Title Case capitalizes the first letter of every word, which is the convention for English book titles, headings, and display names. Sentence case capitalizes only the first letter after a sentence boundary (period, question mark, exclamation point), leaving everything else lowercase — ideal for body copy or form labels. camelCase joins words without separators and capitalizes each word after the first (e.g. "myVariableName"), following the JavaScript/TypeScript convention. snake_case lowercases everything and inserts underscores ("my_variable_name"), standard in Python, Ruby, and SQL. kebab-case uses hyphens instead of underscores ("my-class-name") and is the norm for CSS classes and URL slugs. The tool handles multi-line input, preserving line breaks while transforming each line independently.

What is the difference between Title Case and Sentence Case?

Title Case capitalizes the first letter of every word. Sentence case only capitalizes the first letter of each sentence, leaving the rest lowercase.

When should I use camelCase vs snake_case?

camelCase is the standard convention in JavaScript and TypeScript. snake_case is standard in Python, Ruby, and SQL column names. Use whichever matches your project's coding style.

Does kebab-case work for CSS class names?

Yes — kebab-case (all-lowercase-with-hyphens) is the standard naming convention for CSS classes, HTML attributes, and URL slugs.