If I am coding and let's say I decide that for every word I print out, I want to first "change" the format of the words so that they all begin with capital letters. Or, if I want to change the format of a phrase so that there is only a single space between words. Imagine any kind of arbitrary format-changing that doesn't change the data, but does change how it is stored or displayed.
What is the word that describes what I am doing to these words or phrases?