songwriter

noun

One who writes lyrics or tunes, or both, for songs.

Someone who writes the lyrics and usually the music of songs.

A composer of words or music for popular songs.