Convert text across 10 case styles including UPPERCASE, Title Case & camelCase
Instantly convert text between 10 writing and programming case styles—UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, aLtErNaTiNg, and InVeRsE cAsE—with live word/character counts and .txt download.
Whether you are fixing a paragraph accidentally typed with Caps Lock on, formatting blog headlines, or converting plain-English labels into code identifiers, our Case Converter provides 10 one-click transformation modes in a single workspace. The four prose-writing modes preserve your spaces and punctuation while adjusting capitalization: `UPPERCASE` converts every cased letter to capitals (`text.toUpperCase()`), `lowercase` converts every letter to small case (`text.toLowerCase()`), `Title Case` capitalizes the first character of every word token (`\w\S*`) while lowercasing the remaining letters of that word, and `Sentence case` lowercases the entire text first and then capitalizes the first ASCII word character at the start of the text and following any period (`.`), exclamation mark (`!`), or question mark (`?`). Two playful stylistic modes are also included: `aLtErNaTiNg` (lowercasing even character indices `0, 2, 4...` and uppercasing odd indices `1, 3, 5...`) and `InVeRsE cAsE` (flipping every uppercase letter to lowercase and vice versa).
For software developers and database engineers, the remaining four buttons convert human-readable phrases into strict programming naming conventions: `camelCase` lowercases the first word and capitalizes the first letter of each subsequent alphanumeric word while removing spaces and non-alphanumeric symbols (`myVariableName`); `PascalCase` capitalizes the first letter of every word including the first and strips all non-alphanumeric characters (`MyComponentName`); `snake_case` trims the input, converts letters to lowercase, replaces whitespace sequences with underscores (`_`), and removes characters outside `[a-zA-Z0-9_]` (`user_profile_id`); and `kebab-case` follows the same rule using hyphens (`-`) and keeping only `[a-zA-Z0-9-]` (`main-header-nav`).
Important Behavior & Technical Limitations: Keep three implementation details in mind when transforming text. First, each button modifies the editor text in place (`setText(result)`): if you click `camelCase`, `PascalCase`, `snake_case`, or `kebab-case`, spaces and punctuation are removed or replaced by `_`/`-`, so clicking `Sentence case` afterward will not restore the original spaces—copy your original text first if you need multiple variants. Second, the regex rules for `Title Case`, `Sentence case`, and the four developer naming modes operate on ASCII word classes (`\w` and `[a-zA-Z0-9]`): `Title Case` capitalizes every word mechanically without skipping English grammar stopwords ('of', 'in', 'the') or preserving all-caps acronyms like `HTML` (which becomes `Html`), and the developer case modes (`camelCase`, `PascalCase`, `snake_case`, `kebab-case`) strip non-ASCII Unicode scripts such as Hindi Devanagari. Third, the toolbar displays live character and word counts alongside `Clear`, `Copy`, and `Save .txt` download actions.
चाहे गलती से Caps Lock ऑन रह जाने के कारण बड़े अक्षरों में टाइप हुए पैराग्राफ को सुधारना हो, ब्लॉग के शीर्षक सजाने हों, या सामान्य शब्दों को कोडिंग के वेरिएबल नामों में बदलना हो—हमारा Case Converter एक ही स्क्रीन पर 10 अलग-अलग केस कन्वर्ज़न बटन प्रदान करता है। सामान्य लेखन के चार मोड्स आपके स्पेस और विराम चिन्हों को सुरक्षित रखते हुए अक्षरों का आकार बदलते हैं: `UPPERCASE` सभी अक्षरों को कैपिटल बनाता है, `lowercase` सभी अक्षरों को छोटा करता है, `Title Case` प्रत्येक शब्द (`\w\S*`) के पहले अक्षर को बड़ा और बाकी अक्षरों को छोटा करता है, और `Sentence case` पूरे टेक्स्ट को छोटा करके केवल शुरुआत के पहले अक्षर और पूर्णविराम (`.`), `!` या `?` के बाद आने वाले पहले अक्षर को बड़ा करता है। इसके अलावा दो विशेष स्टाइल मोड्स—`aLtErNaTiNg` (सम स्थान के अक्षर छोटे और विषम स्थान के अक्षर बड़े) तथा `InVeRsE cAsE` (बड़े अक्षरों को छोटा और छोटे अक्षरों को बड़ा करना)—भी उपलब्ध हैं।
सॉफ्टवेयर डेवलपर्स और कोडिंग सीखने वालों के लिए इसमें चार प्रमुख प्रोग्रामिंग केस मोड्स दिए गए हैं: `camelCase` पहले शब्द को छोटे अक्षरों में रखकर आगे के प्रत्येक शब्द का पहला अक्षर बड़ा करता है और बीच के स्पेस हटा देता है (`userLoginCount`); `PascalCase` पहले शब्द सहित प्रत्येक शब्द का पहला अक्षर बड़ा करता है और सभी गैर-अल्फ़ान्यूमेरिक चिन्ह हटा देता है (`UserLoginCount`); `snake_case` सभी अक्षरों को छोटा करके शब्दों के बीच के स्पेस को अंडरस्कोर (`_`) में बदलता है और `[a-zA-Z0-9_]` के बाहर के चिन्ह हटा देता है (`user_login_count`); तथा `kebab-case` स्पेस को हाइफ़न (`-`) में बदलकर केवल `[a-zA-Z0-9-]` अक्षर रखता है (`user-login-count`)।
उपयोग की सावधानियां और तकनीकी सीमाएं: इस टूल का उपयोग करते समय तीन व्यावहारिक बातों का ध्यान रखें। पहला, कोई भी बटन दबाने पर एडिटर बॉक्स का टेक्स्ट सीधे बदल जाता है—इसलिए यदि आप एक बार `camelCase`, `PascalCase`, `snake_case` या `kebab-case` पर क्लिक कर देते हैं, तो शब्दों के बीच के खाली स्पेस और विराम चिन्ह हट जाते हैं, जिन्हें बाद में `Sentence case` दबाकर वापस नहीं लाया जा सकता। दूसरा, `Title Case` व्याकरण के छोटे शब्दों ('of', 'the', 'in') को छोड़ने के बजाय हर शब्द के पहले अक्षर को बड़ा करता है और `NASA` जैसे संक्षिप्त नामों को `Nasa` बना देता है; साथ ही कोडिंग वाले चारों मोड्स (`camelCase`, `PascalCase`, `snake_case`, `kebab-case`) केवल अंग्रेजी अक्षरों और अंकों (`[a-zA-Z0-9]`) को रखते हैं तथा हिंदी (देवनागरी) जैसे गैर-ASCII अक्षरों को हटा देते हैं। तीसरा, एडिटर के ऊपर लाइव कैरेक्टर और वर्ड काउंटर के साथ `Clear`, `Copy` और `Save .txt` डाउनलोड बटन दिए गए हैं।