Case Converter

Paste your text below, choose a case style, and get the converted result instantly. Supports UPPERCASE, lowercase, Title Case, and developer-friendly formats.

How to Use the Case Converter

Enter or paste your text in the input box above, then click one of the case buttons to convert it instantly. The result appears in the output box below, ready to copy with a single click. You can apply different conversions repeatedly without re-entering your text.

This tool is useful for writers formatting headings, developers converting variable names, students cleaning up notes, and anyone who accidentally typed with Caps Lock on. Instead of retyping everything, simply paste it here and convert.

Supported Case Styles

  • UPPERCASE: Converts all letters to capital letters. Commonly used for acronyms, headings in legal documents, and emphasis. Example: "hello world" → "HELLO WORLD".
  • lowercase: Converts all letters to small letters. Useful for normalizing text, email addresses, and data cleaning. Example: "HELLO World" → "hello world".
  • Title Case: Capitalizes the first letter of each word. Standard for book titles, article headlines, and formal headings. Example: "the quick brown fox" → "The Quick Brown Fox".
  • Sentence case: Capitalizes only the first letter of each sentence. The standard capitalization for paragraph text. Example: "hello world. how are you?" → "Hello world. How are you?".
  • camelCase: Joins words with no separator, capitalizing each word after the first. The standard naming convention in JavaScript, Java, and TypeScript. Example: "hello world" → "helloWorld".
  • snake_case: Joins lowercase words with underscores. The standard naming convention in Python, Ruby, and database columns. Example: "Hello World" → "hello_world".
  • kebab-case: Joins lowercase words with hyphens. Used in CSS class names, URL slugs, and HTML attributes. Example: "Hello World" → "hello-world".

When to Use Each Case Style

Case StyleCommon Use
UPPERCASELegal documents, acronyms, emphasis
lowercaseEmail addresses, data normalization
Title CaseHeadlines, book titles, headings
Sentence caseBody text, paragraphs, descriptions
camelCaseJavaScript/Java variable names
snake_casePython variables, database columns
kebab-caseCSS classes, URL slugs

Consistent text formatting improves readability and professionalism across all mediums. Whether you are publishing an article, writing code, or preparing a presentation, choosing the right case style ensures your content meets the expected conventions of your audience and platform.

Frequently Asked Questions

What is the difference between Title Case and Sentence case?

Title Case capitalizes the first letter of every word in the text (e.g., 'The Quick Brown Fox'), while Sentence case only capitalizes the first letter of each sentence (e.g., 'The quick brown fox'). Title Case is commonly used in headings, book titles, and article headlines, while Sentence case is the standard style for body text and paragraphs.

What are camelCase, snake_case, and kebab-case used for?

These are naming conventions used in programming. camelCase joins words with no separator, capitalizing each word after the first (e.g., 'myVariableName') — common in JavaScript and Java. snake_case uses underscores between lowercase words (e.g., 'my_variable_name') — standard in Python and Ruby. kebab-case uses hyphens between lowercase words (e.g., 'my-variable-name') — used in CSS classes and URL slugs.

Can I use this tool to convert code variable names?

Yes! Enter a phrase or variable name and convert it between camelCase, snake_case, and kebab-case. The tool intelligently splits words on spaces, hyphens, underscores, and camelCase boundaries, then reassembles them in your chosen format. This is perfect for renaming variables across different programming language conventions.