What Is the Text Case Converter?

Convert text between uppercase, lowercase, title case, sentence case, camelCase, PascalCase, snake_case, kebab-case, and more.

Why Use This Tool?

Switching between text cases is a constant need for developers (variable naming conventions) and content creators (headline formatting). This tool converts between all common cases instantly.

How to Use This Text Case Converter

  1. Paste your text — Enter the text you want to convert to a different case format.
  2. Select the target case — Choose from UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, or dot.case.
  3. View the converted text — The tool transforms your text instantly, showing the result in the selected format.
  4. Copy the result — Click Copy to grab the converted text for your code, content, or database.

Tips and Best Practices

Common Use Cases

Renaming a folder of files from Title Case With Spaces.jpg to kebab-case.jpg before publishing them on a static site. Converting an Excel column of customer names from ALL CAPS (an artifact of an old CRM) into proper Title Case for use in personalized email greetings. Renaming a batch of variables from snake_case to camelCase when porting code from a Python project to a JavaScript one, where the conventions differ.

Producing consistent metadata: blog-post slugs in kebab-case, environment-variable names in CONSTANT_CASE, database column names in snake_case, React component names in PascalCase — each convention has a natural home and switching between them by hand is error-prone with anything more than a sentence. Cleaning up scraped data where the source mixed cases and the consumer needs uniform shape.

How We Compare

Modern code editors handle case conversion for code identifiers (VS Code's "Transform to Title Case" and similar commands), but they typically operate on a selection and require the file to be open. sed pipelines can do everything but force you into a regex mental model for what should be a one-click operation. JavaScript libraries like Lodash and case expose the conversions programmatically, which is right for build pipelines and wrong for clipboard-level use.

This tool sits at the clipboard level: paste, pick the target case, copy. Every supported case is one click away — camelCase, PascalCase, snake_case, SCREAMING_SNAKE_CASE, kebab-case, Title Case, sentence case, and a few more. Conversion handles acronyms (XMLHttpRequest, APIs) according to each case's convention. For broader text transforms beyond case, see find and replace.

Frequently Asked Questions

What is kebab-case?
Kebab-case uses lowercase words separated by hyphens: 'my-variable-name'. It's the standard convention for CSS class names, URL slugs, and CLI flags.
What's the difference between camelCase and PascalCase?
camelCase starts with a lowercase letter (myVariableName). PascalCase starts with an uppercase letter (MyVariableName). Convention: camelCase for variables/functions, PascalCase for classes/components.
Does it handle special characters?
Yes. Special characters, numbers, and punctuation are preserved in most conversions. For code-style conversions (camelCase, snake_case), special characters are typically stripped.
What is CONSTANT_CASE?
CONSTANT_CASE (also called SCREAMING_SNAKE_CASE) uses all uppercase letters with underscores: MY_CONSTANT_VALUE. It's the convention for constants and environment variables in most programming languages.
Does it handle acronyms correctly?
For camelCase and PascalCase, common acronyms like URL, API, and HTML are handled contextually. URLParser becomes urlParser in camelCase.
What is the difference between camelCase and PascalCase?+
camelCase starts with a lowercase letter and capitalizes subsequent words (myVariableName). PascalCase capitalizes every word including the first (MyClassName). In JavaScript, camelCase is used for variables and functions; PascalCase is used for classes, interfaces, and React components.
What is kebab-case used for?+
Kebab-case (words-separated-by-hyphens) is the standard for URL slugs, CSS class names, HTML attributes, and file names. It's highly readable and avoids issues with case sensitivity in URLs and file systems.
What is snake_case used for?+
Snake_case (words_separated_by_underscores) is the standard naming convention in Python, Ruby, and database column names. SCREAMING_SNAKE_CASE (all uppercase) is used for constants and environment variables across most languages.
What text cases are available?+
UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE. Each format serves different programming and writing conventions.
When should I use each case?+
camelCase for JavaScript variables, PascalCase for React components and classes, snake_case for Python and database columns, kebab-case for CSS classes and URL slugs, CONSTANT_CASE for environment variables and constants.

📖 Learn More

Related Article How to Convert Text Case Online →

Built by Derek Giordano · Part of Ultimate Design Tools

Privacy Policy · Terms of Service