Case Converter
Convert text between uppercase, lowercase, title case, sentence case, camelCase, and other popular formats instantly.
Related Tools
How to Use
- Enter Your Text — Paste or type the text you want to convert into the input field above.
- Choose a Case — Select from eight conversion modes: UPPER CASE, lower case, Title Case, Sentence case, aLtErNaTiNg CaSe, camelCase, snake_case, or kebab-case.
- Copy the Result — The converted text appears in the Result box below while your original stays unchanged. Use Copy or Download to save it.
About the Case Converter
The Case Converter rewrites the capitalization of your text in eight styles: four for prose (UPPERCASE, lowercase, Title Case, Sentence case), one novelty style (aLtErNaTiNg), and three naming conventions used in code (camelCase, snake_case, kebab-case). Writers use it to rescue a heading typed with Caps Lock on, editors to make pasted headings consistent, and developers to turn a column of labels into variable names or CSS classes. Click a mode and the converted text appears in the Result box; your original stays in the input, so you can try several modes on the same text.
What each mode does
- UPPERCASE and lowercase change every letter that has a case and leave digits, punctuation, spacing and line breaks exactly as they were.
- Title Case capitalizes the first letter of each word and lowercases the rest. Twenty-three short words stay lowercase inside a title: the articles a, an, the; the conjunctions and, but, or, nor, for, so, yet; and the prepositions as, at, by, in, of, on, to, per, via, vs, with, from, into. They are capitalized when they are the first or last word, or when they follow a colon, period, question mark, exclamation mark, semicolon or dash. Each line is treated as its own title, and each part of a hyphenated word is treated as a word (
last-namebecomesLast-Name). - Sentence case lowercases everything, then capitalizes the first letter of the text, of every line, and of every sentence that follows . ! ? or …, even when the sentence opens with a quotation mark or bracket. A period after common abbreviations (e.g., i.e., vs., Mr., Mrs., Ms., Dr., Prof., Sr., Jr., St., cf., approx.) does not start a new sentence, and the pronoun I is capitalized, including in I'm, I'll, I've and I'd.
- aLtErNaTiNg CaSe switches between lower and upper case letter by letter, starting lowercase. Only letters are counted, so the rhythm carries on across spaces and punctuation.
- camelCase, snake_case and kebab-case split each line into words, drop apostrophes and other punctuation, and join the words: camelCase capitalizes each word after the first, snake_case joins lowercase words with underscores, and kebab-case joins them with hyphens. Words already written in camelCase or PascalCase are split first, and a run of capitals is kept together as an acronym. Every line is converted separately, so a pasted list of field names comes back as a list.
Worked examples
| Input | Mode | Result |
|---|---|---|
the lord of the rings: the return of the king | Title Case | The Lord of the Rings: The Return of the King |
HELLO WORLD. this is e.g. a test! i think i'm done. | Sentence case | Hello world. This is e.g. a test! I think I'm done. |
XMLHttpRequest | camelCase | xmlHttpRequest |
getHTTPResponseCode | snake_case | get_http_response_code |
Postal Code | kebab-case | postal-code |
don't stop believing | camelCase | dontStopBelieving |
a tale of two cities | aLtErNaTiNg | a TaLe Of TwO cItIeS |
Limitations worth knowing
- Title Case and Sentence case lowercase every word before capitalizing, so acronyms and names lose their capitals:
user ID numberbecomesUser Id Number. The converter cannot recognize proper nouns, so check names, brands and acronyms afterward. - Title Case here follows one general rule set, not a particular style guide. APA and AP capitalize words of four letters or more, such as With and From, while Chicago and MLA lowercase prepositions of any length. For a specific style, use the Title Case Converter, which applies APA, Chicago, MLA and AP rules and keeps acronyms such as NASA.
- Case changes follow Unicode's default, language-neutral rules. German
straßebecomesSTRASSEin UPPERCASE (one letter turns into two), and Turkish dotted İ lowercases to an i with a combining dot rather than to the Turkish i. Accented letters, Greek and Cyrillic convert normally; scripts without case, such as Chinese, Japanese, Arabic and Hebrew, pass through unchanged. - The developer formats keep accented letters (
Café crèmebecomescafé_crème) and do not check the rules of any programming language, so an identifier that starts with a digit is left as it is. When you need plain ASCII for a web address or file name, the URL Slug Generator transliterates é to e and ß to ss.
When to use it
Use UPPERCASE for short labels and acronyms, and lowercase to normalize tags, keywords or email addresses before comparing them. Sentence case suits interface text, buttons, email subject lines and headings in house styles that prefer it. Title Case is the quick fix for a heading or a list of chapter names. On the code side, camelCase is the usual style for JavaScript and Java variables, snake_case for Python variables and many database column names, and kebab-case for CSS class names, URL slugs and file names. The Text Case Guide explains when each style is expected, with more examples.
Conversions run in your browser as you click; your text is never sent to a server.
Frequently Asked Questions
What case conversion modes are available?
WritePadPro offers eight modes: UPPER CASE (all capitals), lower case (all small letters), Title Case (first letter of each significant word capitalized, with short words such as "of" and "the" kept lowercase), Sentence case (first letter of each sentence capitalized), aLtErNaTiNg CaSe (alternating upper and lower), camelCase (no spaces, each new word capitalized except the first), snake_case (words joined with underscores), and kebab-case (words joined with hyphens).
When should I use Title Case versus Sentence case?
Title Case capitalizes the first letter of every significant word and is ideal for headlines, book titles, and headings. Sentence case capitalizes only the first word and proper nouns, making it the standard for body text, email subjects, and UI labels in many modern style guides. The converter cannot recognise proper nouns, so re-capitalize names and brands after using Sentence case.
Is camelCase the same as PascalCase?
No. camelCase starts with a lowercase letter (e.g., myVariableName), while PascalCase starts with an uppercase letter (e.g., MyVariableName). WritePadPro generates camelCase, which is the convention for JavaScript and Java variable names. Existing camelCase or PascalCase words are split correctly, so XMLHttpRequest becomes xmlHttpRequest.
Can I convert text that contains numbers or special characters?
Yes. Numbers and special characters are preserved in the UPPER, lower, Title, Sentence and alternating modes. For the developer formats (camelCase, snake_case and kebab-case), punctuation and special characters are removed, words are joined with the appropriate separator, and each line is converted separately so you can convert a list of names at once.
Does the tool handle non-English characters?
Yes. The Case Converter uses Unicode-aware transformations, so accented characters, Cyrillic, Greek and other cased scripts are converted correctly, and letters such as é or ñ are kept intact in camelCase, snake_case and kebab-case. Scripts without upper and lower case, such as Chinese, are left as they are.
Why would a developer need kebab-case or snake_case?
kebab-case is the standard for CSS class names, URL slugs, and file names in many web projects. snake_case is the convention in Python, Ruby, and database column naming. Converting quickly between these formats saves time and reduces typos.