https://www.gnu.org/software/emacs/manual/html_node/emacs/Case.html

C-x C-u

Convert region to upper case (upcase-region).