As music genres diversify and online music libraries grow, the need for automated, accurate genre classification has become essential for efficient music organization and recommendation. In this research, we developed a music genre classifier using a custom Convolutional Neural Network (CNN) trained on mel-spectrogram images derived from the GTZAN dataset. The GTZAN dataset is a widely used ben…