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