Case Converter

Case Converter is a free online tool for changing text between uppercase, lowercase, title case, sentence case, camelCase, PascalCase, snake_case, and kebab-case. It helps transform text into consistent writing styles and programming naming conventions.

Text Input

Enter the text you want to convert.

Case Conversion Examples

UPPERCASE

HELLO WORLD

lowercase

hello world

Title Case

Hello World

Sentence case

Hello world.

camelCase

helloWorld

PascalCase

HelloWorld

snake_case

hello_world

kebab-case

hello-world

About Case Converter

Case Converter is a free online tool for changing text between uppercase, lowercase, title case, sentence case, camelCase, PascalCase, snake_case and kebab-case.

How to use Case Converter

  1. Enter or paste your text into the input box.
  2. Select the case format you want to use.
  3. Click Convert Text to convert the text.
  4. Review the converted result.
  5. Click Copy to copy the result to your clipboard.

What is a Case Converter?

A Case Converter changes the capitalization and formatting of text into different writing and naming styles. Common formats include uppercase, lowercase, title case, sentence case, camelCase, PascalCase, snake_case and kebab-case.

What are camelCase, PascalCase, snake_case and kebab-case?

These naming styles are commonly used in software development. camelCase starts with a lowercase word and capitalizes subsequent words. PascalCase capitalizes each word. snake_case separates words with underscores, while kebab-case separates words with hyphens.

How Case Conversion Handles Text

Uppercase and lowercase change the capitalization of letters while keeping the original text structure. Title Case capitalizes the beginning of each word, while Sentence case capitalizes the beginning of a sentence.

Programming naming formats work differently. camelCase, PascalCase, snake_case, and kebab-case split text into words and combine them using capitalization or separators. Spaces, underscores, hyphens, and punctuation are treated as word boundaries when generating these naming formats.

For example, the input "hello-world example_text" can be converted into helloWorldExampleText, HelloWorldExampleText, hello_world_example_text, or hello-world-example-text depending on the selected format.

Why use a Case Converter?

A Case Converter is useful when preparing variable names, function names, object keys, CSS class names, filenames, and other text that needs a consistent format. It can also help standardize headings, labels, and text for documents without manually changing each letter.

Handling Acronyms and Capitalized Words

Programming names sometimes contain an acronym followed by a normally capitalized word. The converter separates these word boundaries so that the acronym does not absorb the next word. For example, XMLParser becomes xmlParser in camelCase, and URLValue becomes urlValue.

InputFormatOutput
XMLParser URLValuecamelCasexmlParserUrlValue
getHTTPResponseCodecamelCasegetHttpResponseCode
XMLParser URLValuesnake_casexml_parser_url_value

Input Limit and Browser Processing

The input field accepts up to 100,000 characters. Case conversion is performed in your browser, and the text you enter is not sent to a KitDevTools processing server.

Your privacy matters

We use optional analytics cookies to understand how our tools are used and improve your experience. These controls apply to Google Analytics only, not advertising preferences. Privacy Policy