Text Case Converter
Convert the text case.
Type your text and then select a case to reformate your text, and instantly receive a result ready to copy into your document, code or post. All in one tool: fixes an accidental Caps Lock paragraph, formats a headline properly, or reformats a variable name for code.
Workspace
Enter text and click conversion formats below.
Casing Transforms
What This Tool Does
This converter can convert any piece of text and recapitalize it in any style you choose. It changes only the capitalization of the letter itself, and not the words, so content, punctuation, and spacing remain as written.
It supports two types of cases, addressing two different problems:
- Prose cases — for writing that is read: sentence case, Title Case, UPPERCASE, lowercase
- Programming cases - camelCase, PascalCase, snake_case, kebab-case, cases: codes that computer can read -
All the case formats (with examples)
| Case | Example | Typical Use |
|---|---|---|
| UPPERCASE | HELLO WORLD | Emphasis, warnings, acronyms |
| lowercase | hello world | Clear up URLs, casual text |
| Sentence case | Hello world | Standard prose, first word of a sentence |
| Title Case | Hello World | Headlines, book/movie titles |
| Capitalized Case | Hello World | Name(s) and headings (capitalizes each word). |
| aLtErNaTiNg cAsE | hElLo WoRlD | Casual and/or artistic social messages |
| InVeRsE CaSe | hELLO wORLD | Switches the capitalization of any word(s) that are already capitalized |
| camelCase | helloWorld | The names of the variables and functions used in a program. |
| PascalCase | HelloWorld | Class names, component names |
| snake_case | hello_world | Python variables, database fields |
| kebab-case | hello-world | The slugs for urls, css classes, and file names. |
Sentence Case vs. Title Case: The Rule People Get Wrong:
These two are most often mixed up and most tools use a shortcut that is not quite correct for either.
- Sentence case is when only the first letter of the sentence (and any proper nouns) are capitalized, just as in regular writing. A quick brown fox jumps.
- Title Case caps major words in a title, and normally leaves short function words—articles (a, an, the), coordinating conjunctions (and, but, or), and short prepositions (in, on, of, to) at the beginning or end of the title. Correctly (and imaginatively): The Quick Brown Fox Jumps Over the Lazy Dog — "the" and "over" are both capitalized because they are at the start of a new sentence and in the middle of a sentence that needs a capital letter.
The most common type of converter simply capitalizes each individual word, technically a Capitalized Case, not true Title Case. If you're looking for a converter that doesn't break the rules of these small-word exceptions, but instead capitalizes everything indiscriminately, then you want one that follows AP, Chicago, or APA style, but make sure you're following the same rules as the style guide you're using — some of the conventions differ between AP, Chicago, and APA (for instance, they disagree on which prepositions should be capitalized, and these vary in length: AP says four or more, Chicago says six or more, and APA says seven or more).
Programming Case Styles, Explained
When you're naming a variable, file, or URL, but not writing prose, the case convention is typically not a style decision, but rather a decision made by the language or platform you're using.
- camelCase: first word lowercase, each subsequent word capitalized (no separators in between words). Commonly used for variables and functions in JavaScript, Java and other languages.
- PascalCase: words begin with lower case characters, except for the first word, which starts with an uppercase letter, and no words are separated by dashes. Typical class/ component naming for most object oriented languages.
- snake_case: words separated by underscore all lowercase. Standard for Python, Ruby and most database column naming.
- kebab-case: Lowercase all words, with hyphens or dashes between them (also known as hyphen-case). Use this for URL slugs, and CSS class names, as hyphens aren't always URL-friendly and browsers/search engines treat hyphens as word separators.
You don't need to be consistent with the case convention used in a specific language to make your code not work, but it will certainly make it look inconsistent from the rest of the code in that ecosystem — which is a great way for a code reviewer to catch you.
Frequently Asked Questions
What's the difference between Title Case and Capitalized Case?
Is there any change in punctuation or spacing when changing case?
Why is it that camelCase and PascalCase are so alike?
The standard way to use a URL slug is to use kebab-case?
Do I have the ability to change back text to its original case after I change it?
Is the use of Title Case consistent across all style guides?
Will this work for extremely long documents?
Is my text stored or sent anywhere when I use this tool?
Related Tools You Might Like
Gemini Watermark Remover
Erase watermarks from images locally.
Keyword Wrapper
Wrap keywords for Google Ads PPC match types.
Password Generator
Generate highly secure passwords.
QR Code Generator
Create QR codes for links, Wi-Fi, and cards.
Lorem Ipsum Generator
Generate custom text placeholder paragraphs.
UUID Generator
Generate unique UUID v1 & v4 values.
Browser Extension
Get quick access to remove the gemini watermark from the image and video directly from your browser toolbar.