Case Converter Tools

To Uppercase

Uppercase a string the way toUpperCase() would, in your browser.

PrivateYour text is processed on your device and never uploaded.
like .toUpperCase()no locale argument

Mirrors JavaScript toUpperCase(); use toLocaleUpperCase() in code for locale-specific rules.

Text or string
.toUpperCase()
0 chars · 0 words
Example: hello world

Before adding an uppercasing call to your code, it helps to see exactly what it will output.

This tool capitalises your string the same way JavaScript toUpperCase() does, so you can preview the result.

How to use To Uppercase

  1. Paste the string you want to uppercase.
  2. To Uppercase returns it just as toUpperCase() would in code.
  3. Copy the uppercased string into your editor or test.

Use cases

Good to know

To Uppercase mirrors the locale-neutral JavaScript toUpperCase(). That suits most code, but languages with special casing should use toLocaleUpperCase() with a locale in code. Here the result is for previewing and copying only, and nothing is run against your data.

Frequently asked questions

Does this match JavaScript toUpperCase()?

Yes. It applies the same locale-neutral uppercasing the default method uses.

How do I handle locale rules?

Use toLocaleUpperCase() in code; this preview shows the neutral result.

Will one character ever become two?

It can. Letters like the German ss expand to SS when uppercased, matching the method.

Related Case Converter Tools