Paste English text on the left, click a conversion, and the result appears on the right: upper case, lower case, capitalized words, sentence case, Title Case or swapped case. For code, a string of words can also become camelCase, snake_case, kebab-case and other naming styles. Chinese characters and digits are left as they are, and everything runs locally in your browser — nothing is uploaded.
Text
Code naming (one name per line)
Input
Result
Notes: 1. Only the case of letters changes — Chinese characters, digits, punctuation and spaces are kept exactly as they are, and line breaks are untouched. Accented letters (é, ü) and Cyrillic or Greek letters convert too. 2. “Capitalize Each Word” upper-cases the first letter of every word and lower-cases the rest; “Title Case” does the same but keeps short words such as a, an, the, and, of and in lower case (except at the start or end) — the way English book and article titles are written. 3. “Sentence case” upper-cases the first letter of each sentence and lower-cases the rest, keeping the pronoun I in upper case. Proper nouns cannot be detected automatically, so check the result yourself. 4. With “Keep upper-case acronyms” ticked, words of two or more letters that are already all upper case (NASA, HTML, USB) are not lowered by Capitalize Each Word, Sentence case or Title Case. When more than half the words are all upper case (a paragraph typed with Caps Lock on, say), the option has no effect. 5. Code naming styles work line by line: each line is one name, split into words at spaces, underscores, hyphens, dots and existing camelCase boundaries.
About case conversion
Where each of the six text styles is used
All caps is common for warnings, button labels and acronyms, and many forms ask for names in English to be written that way; all lower case is typical of URLs, email addresses and tags. Capitalizing each word suits English names, addresses and product names — for example turning zhang san into Zhang San. Sentence case is how body text is written and the usual way to rescue a paragraph from all caps. Title Case is how English book titles, paper titles and headlines are written; it differs from capitalizing each word only in keeping articles, conjunctions and short prepositions in lower case. Swap case is mainly for fixing text typed with Caps Lock on.
The rules of Title Case
There is no single standard for English title capitalization — APA, Chicago and AP disagree on details — but they share a core: the first and last words are always capitalized; nouns, verbs, adjectives, adverbs and pronouns are capitalized; and the articles a, an and the, the coordinating conjunctions and, but, or, nor, for, so and yet, and short prepositions of up to four letters (of, in, on, at, to, by, for, up, via) stay in lower case. The first word after a colon is capitalized too. This page follows that shared core, and both halves of a hyphenated compound (Self-Driving) are capitalized. If a journal specifies one particular style, check the result against its rules.
Naming styles in code
The same name is written differently by convention in different languages: JavaScript and Java variables use camelCase userName, class names PascalCase UserName; Python and database columns use snake_case user_name, constants upper-case snake case USER_NAME; URL paths and CSS class names use kebab-case user-name. This page first splits the original name into words — spaces, underscores, hyphens and dots all count as separators, and existing camelCase boundaries are recognised too — so userName, user_name, User Name all convert consistently to any target. Runs of capitals (HTTPServer) are split into http and server as two separate words.
Compared with case conversion in Word and Excel
In Word, select text and press Shift + F3 to cycle through all upper case, all lower case and capitalized words; Excel has the UPPER, LOWER, PROPER functions. Neither offers Title Case or sentence case, and PROPER also turns don't into Don'T. This page treats the apostrophe as part of the word, so that cannot happen. To find out how many words your English text has, continue with the Online Word Counter.
Some people searching for case conversion actually want something else: an amount written out in Chinese capital numerals, such as 壹仟零玖元伍角整, for an expense form or a cheque. That is a job for the Amount in Words Converter, which follows the banking rules for zeros and 整 and can also convert capitals back to digits.
FAQ
Is my content uploaded to a server?
No. Conversion is done entirely by JavaScript in your browser; the page has no backend and the pasted text never leaves your device. Disconnect from the network after the page has loaded and the tool keeps working.
Will Chinese text be changed?
No. Chinese characters have no case; conversion only affects letters that do, and Chinese characters, digits, punctuation, spaces and line breaks are all kept as they are. Mixed Chinese and English text can be pasted in as a whole.
What is the difference between Capitalize Each Word and Title Case?
Capitalize Each Word upper-cases the first letter of every word, including small words such as a, the and of — right for names and addresses. Title Case keeps articles, conjunctions and short prepositions in lower case unless they start or end the title, as in The Lord of the Rings, the standard way to write English book and article titles.
Why is NASA still in upper case after conversion?
Because “Keep upper-case acronyms” is ticked by default. Words of two or more letters that are already all upper case are kept as acronyms, which stops NASA turning into Nasa, HTML turning into Html. Untick the box if you do not want this. If more than half the words in the text are all upper case, the option switches itself off, otherwise almost nothing in the paragraph would change.
Can Sentence case recognise names and places?
No. Sentence case only knows where a sentence starts; it cannot tell that london is a place name, so proper nouns become lower case, with the pronoun I as the only exception. Change names, places and brands back by hand afterwards. If the proper nouns in your text are already capitalized, consider whether you really need Sentence case.
Can camelCase and snake_case be converted into each other?
Yes. Pick the target style in the “Code naming” row and put one name per line on the left; the original can be camelCase, snake_case, kebab-case or a plain phrase with spaces — it is split into words and joined back in the target style. Many lines can be converted at once, which is handy for renaming database columns or API parameters in bulk.
I typed a paragraph with Caps Lock on — how do I fix it?
Choose “sWAP cASE”: hELLO wORLD turns back into Hello World. If the whole paragraph is in upper case, “Sentence case” is the better choice — it turns the paragraph into normal sentences.
Does it work for letters in other languages?
Yes. Conversion uses the browser's built-in Unicode case rules, so accented French and German letters and Cyrillic and Greek letters convert correctly. Special cases such as the Turkish dotted i and the German ß follow the general rules, not Turkish or German locale rules.