The spelling "good-bye" is also acceptable.
Your browser does not support the Html5 Audio element. Please update your browser.
The word "bye" is the shortened and more casual version of the word "goodbye".