Home / Javascript Tips Generated By ChatGPT / Converting a String to Upper Case in Javascript Use toUpperCase to convert a string to upper case. Source Code let lower = 'hello'; console.log(lower.toUpperCase());