Case Converter
Switch text between UPPERCASE, lowercase, Title Case, and code cases.
The case converter
Type or paste your text and pick a style: Title Case, Sentence case, UPPERCASE, lowercase, camelCase, PascalCase, snake_case, kebab-case, aLtErNaTiNg or iNVERSE. The converted text updates as you type, ready to copy, and the style you pick is kept in the page link. Title Case keeps short words such as a, of and the lowercase in the middle of a title.
About the case converter
The WordBench case converter rewrites your text into any casing style with a single click. UPPERCASE, lowercase, Title Case, and Sentence case cover everyday writing, while camelCase, PascalCase, snake_case, and kebab-case cover the naming conventions developers reach for every day.
Retyping a heading just to fix its capitalization is a small, avoidable chore. Paste the text once, pick a style, and copy the result. Title Case is smart about small words, so short articles and prepositions like a, of, and the stay lowercase in the middle of a title but capitalize at the start and end, following common style guidance.
It all happens instantly and locally. There is no upload step and no waiting, so the tool works just as well on a single label as it does on a long list of product names you need to normalize.
Which case does which language expect?
Case is not a preference in code, it is a documented convention per language, and getting it wrong is the fastest way to look like a visitor in a codebase. Each row links to the style guide it comes from.
| Language | Variables | Functions | Types | Constants | Source |
|---|---|---|---|---|---|
| JavaScript and TypeScript | camelCase | camelCase | PascalCase | UPPER_SNAKE_CASE | Google JavaScript Style Guide |
| Python | snake_case | snake_case | PascalCase | UPPER_SNAKE_CASE | PEP 8, Style Guide for Python Code |
| Go | camelCase | PascalCase when exported, camelCase when not | PascalCase | PascalCase or camelCase, not shouting | Effective Go, names |
| Rust | snake_case | snake_case | PascalCase | UPPER_SNAKE_CASE | Rust API Guidelines, naming |
| Java | camelCase | camelCase | PascalCase | UPPER_SNAKE_CASE | Google Java Style Guide |
| CSS | kebab-case | kebab-case | kebab-case for classes | kebab-case custom properties | CSS Custom Properties, MDN |
| SQL | snake_case | snake_case | snake_case tables | UPPER_SNAKE_CASE keywords | Unquoted identifiers fold case, PostgreSQL documentation |
| URLs and file names | kebab-case | kebab-case | kebab-case | kebab-case | Keep a simple URL structure, Google Search Central |
Who uses it
Worked example
Start with the phrase "quarterly report for globex".
Title Case returns Quarterly Report for Globex, keeping for lowercase in the middle. snake_case returns quarterly_report_for_globex, ready to drop into a database column. camelCase returns quarterlyReportForGlobex for a variable name. One input, every convention.
Frequently asked questions
What is the difference between Title Case and Sentence case? Title Case capitalizes the first letter of most words, the way a headline is styled, while keeping short connecting words lowercase in the middle. Sentence case capitalizes only the first word of each sentence and any proper nouns you already typed, the way ordinary prose is written.
What is the difference between Title Case and Sentence case?
Title Case capitalizes the first letter of most words, the way a headline is styled, while keeping short connecting words lowercase in the middle. Sentence case capitalizes only the first word of each sentence and any proper nouns you already typed, the way ordinary prose is written.
What are camelCase, snake_case, and kebab-case for?
They are naming conventions used in code. camelCase joins words with no spaces and an uppercase letter at each new word, snake_case joins them with underscores, and kebab-case joins them with hyphens. They keep identifiers readable where spaces are not allowed.
Will it handle text that is already mixed case?
Yes. The converter reads the words in your text regardless of their current casing and rebuilds them in the style you choose, so you can go from ALL CAPS to Title Case or from a code identifier back to plain words.
Does converting case change my punctuation?
Punctuation and numbers are preserved. Only letter casing and, for the code styles, the separators between words are changed.
Exactly what this tool counts, and why the result can differ from your word processor, is written out on the methodology page. Platform character limits, with the unit each one counts in and the date it was checked, are on the character limits pages.