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
- Paste your text — Enter the text you want to convert to a different case format.
- Select the target case — Choose from UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, or dot.case.
- View the converted text — The tool transforms your text instantly, showing the result in the selected format.
- Copy the result — Click Copy to grab the converted text for your code, content, or database.
Tips and Best Practices
- → Use Title Case for headings. Capitalize the first letter of major words. Articles (a, an, the), prepositions (in, on, at), and conjunctions (and, but, or) stay lowercase unless they're the first word.
- → Use camelCase and PascalCase in code. JavaScript conventionally uses camelCase for variables and functions, PascalCase for classes and React components.
- → Use kebab-case for URLs and CSS. URL slugs and CSS class names use kebab-case (words separated by hyphens). It's the most readable format in these contexts.
- → Use CONSTANT_CASE for config values. Environment variables and configuration constants conventionally use SCREAMING_SNAKE_CASE to distinguish them from regular variables.
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
📖 Learn More
Related Article How to Convert Text Case Online →Built by Derek Giordano · Part of Ultimate Design Tools