Music Genre Classifier

Free music genre classifier using audio analysis. Identify blues, classical, country, disco, hip-hop, jazz, metal, pop, reggae, and rock from audio files instantly.

Upload
Drag & drop an audio file here
or click to browse
Choose an audio file to classify genre (MP3, WAV, OGG, etc.)

About Music Genre Classifier

This tool analyzes audio files to classify them into one of 10 music genres using spectral and temporal audio features. Perfect for DJs, music producers, playlist curators, and music enthusiasts who want to quickly identify song genres.

How does music genre classification work?

The tool extracts audio features like spectral centroid (brightness), spectral rolloff, zero-crossing rate, tempo, and energy distribution across frequency bands. These features create a unique fingerprint that helps identify patterns characteristic of different music genres.

What genres can be detected?

The tool classifies music into 10 genres: Blues, Classical, Country, Disco, Hip-Hop, Jazz, Metal, Pop, Reggae, and Rock. These genres cover a wide range of popular music styles.

What audio formats are supported?

All common audio formats are supported including MP3, WAV, OGG, AAC, M4A, FLAC, OPUS, and more. Files up to 100MB can be processed.

How accurate is the classification?

Accuracy varies depending on how clearly the music fits into one of the 10 genres. Songs with clear genre characteristics get more accurate results. Mixed-genre songs may show probabilities spread across multiple categories.

What audio features are analyzed?

The tool analyzes: Spectral Centroid (brightness/tonal quality), Spectral Rolloff (frequency distribution), Zero-Crossing Rate (noisiness), RMS Energy (loudness), Tempo (BPM), and Energy Distribution across low, mid, and high frequencies.

Is my audio data safe?

Yes! All processing happens locally in your browser using the Web Audio API. Your audio files are never uploaded to any server. Everything stays private on your device.

Why might classification be inaccurate?

Classification may be less accurate for: songs that blend multiple genres, electronic remixes, live recordings with audience noise, very short clips, or genres not in the 10 supported categories (like Electronic, R&B, or Folk).

What is the typical BPM range for each genre?

Typical ranges: Blues (60-120 BPM), Classical (varies widely), Country (85-135 BPM), Disco (110-135 BPM), Hip-Hop (75-115 BPM), Jazz (80-160 BPM), Metal (100-180 BPM), Pop (95-135 BPM), Reggae (60-100 BPM), Rock (100-150 BPM).

Can I use this for DJ mixing?

Yes! Knowing the genre helps you organize your music library and find compatible tracks for mixing. Combined with BPM detection, you can create smooth transitions between songs of similar styles.

How long does analysis take?

Analysis typically takes 5-15 seconds depending on the audio file length and your device's processing power. The tool analyzes up to 30 seconds of audio from the middle of the track.