How to change a string into uppercase September 7, 2022 by Tarik Use str.upper(): >>> s="sdsd" >>> s.upper() 'SDSD' See String Methods.