Text Case Converter

Convert text between different cases instantly

0 characters

How to Convert Text Case

  1. Enter your text: Type or paste the text you want to convert into the input box above.
  2. Choose a case: Click one of the conversion buttons (UPPER CASE, lower case, Title Case, etc.) to instantly transform your text.
  3. Copy the result: Click the "Copy Result" button to copy the converted text to your clipboard.

All conversions happen instantly in your browser. Your text is never sent to any server.

What Are the Different Text Cases?

  • UPPER CASE: Every letter is capitalized. Example: "HELLO WORLD". Often used for acronyms, headings, or emphasis.
  • lower case: Every letter is lowercase. Example: "hello world". Commonly used for normalizing user input.
  • Title Case: The first letter of each major word is capitalized. Example: "The Quick Brown Fox". Used in headings and titles.
  • Sentence case: Only the first letter of each sentence is capitalized. Example: "Hello world. This is a test." Standard for body text.
  • camelCase: Words are joined with no separator; the first word is lowercase and subsequent words start with a capital letter. Example: "helloWorld". Widely used in JavaScript and Java for variable names.
  • PascalCase: Like camelCase, but the first word is also capitalized. Example: "HelloWorld". Used for class names in many programming languages.
  • snake_case: Words are lowercase and separated by underscores. Example: "hello_world". Common in Python and Ruby.
  • kebab-case: Words are lowercase and separated by hyphens. Example: "hello-world". Used in CSS class names and URL slugs.
  • CONSTANT_CASE: Words are uppercase and separated by underscores. Example: "HELLO_WORLD". Used for constant values in most programming languages.

Frequently Asked Questions

What is camelCase?

camelCase is a naming convention where multiple words are joined without spaces. The first word starts with a lowercase letter, and each subsequent word begins with an uppercase letter (e.g., "myVariableName"). It gets its name from the "humps" created by the capital letters, resembling a camel's back. It is the standard naming style for variables and functions in JavaScript, Java, and many other languages.

What is snake_case?

snake_case is a naming convention where words are written in lowercase and separated by underscores (e.g., "my_variable_name"). It is commonly used in Python, Ruby, and database column names. The underscores make multi-word identifiers easy to read while avoiding spaces.

How do I convert text to title case?

Paste your text into the input box above and click the "Title Case" button. The converter capitalizes the first letter of each significant word while keeping minor words like "a", "an", "the", "and", "or", "in", "on", and "of" in lowercase (unless they are the first word). This follows common English title capitalization rules.