Britannica Dictionary definition of WANNA
—
used in writing to represent the sound of the phrase want to when it is spoken
◊ The pronunciation represented by wanna is common in informal speech. The written form should be avoided except when trying to represent such speech.