How this calculator works
Uppercase conversion uses Unicode case mapping rather than a simple table of English letters. That means accented characters change correctly, for example e with an acute accent becomes its uppercase form, and scripts that distinguish case are handled by the same rule. Punctuation, digits and spaces are left alone. A few characters have special casing, such as the German sharp s, which may become two letters when uppercased.
Formula
converted = text converted with the Unicode uppercase mapping. characters = number of Unicode code points. words = number of space-separated tokens after trimming.
Worked example
hello becomes HELLO. Café becomes CAFÉ. The string Hello world has 11 characters and 2 words. A string of only spaces becomes empty output with zero words.
Advertisement
Frequently asked questions
Does this change numbers or punctuation?
No. Digits, spaces and most punctuation have no uppercase form, so they are copied unchanged. Only characters with a defined uppercase mapping change.
Why did the sharp s in Straße become SS?
The uppercase form of the German sharp s is SS in many contexts because there is no single uppercase glyph in the standard case mapping. That is a Unicode rule, not an error in the converter.
Is uppercase the same in every language?
No. A few languages have locale-sensitive rules, such as the Turkish dotless i. This converter applies the default Unicode mapping, which is what most programming environments use when no locale is supplied.