Music Key and BPM Batch Analyzer
Analyse a whole crate of tracks at once for tempo, key and energy, fix any reading by hand and plan a harmonic DJ set from the results.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Choose the BPM range
Pick the range that matches your genre and how much of each track to analyse.
- 2Add tracks
Press Add tracks and select many files, or drop them on the box.
- 3Check the readings
Fix double-time tempos with the half button and change any key from the list.
- 4Explore the wheel
Tap a Camelot code to list tracks that mix with it.
- 5Build a set
Click the opening track, then press Harmonic order.
- 6Export
Download the CSV for your notes or the M3U playlist in set order.
About this tool
DJs who mix in key need two numbers for every track before a gig: the tempo in beats per minute and the musical key, usually written in Camelot notation such as 8A for A minor. Commercial analysers do this well but cost money, and many free websites take one file at a time and want you to upload it. This analyser takes as many files as you select, decodes them in the browser and works through them one by one. For each track it takes a section from the middle of the song, which avoids long intros and fade-outs, converts it to a spectrogram and derives two things. An onset envelope, the rise in energy each time a drum or chord hits, is scanned for the strongest repeating period inside the BPM range you chose. A chroma profile, the energy on each of the twelve pitch classes, is compared with the Krumhansl and Kessler key profiles for all 24 major and minor keys, and the best match becomes the key. A third number, energy from 1 to 10, combines loudness of the louder half of the section, how many onsets happen per second and how much energy sits above 3 kHz. The results appear in a table you can sort, correct and reorder.
Reading and correcting the table
Every column is editable. Tempo detectors sometimes lock onto half or double the true tempo, especially on drum and bass or slow hip-hop, so each row has a double and a half button next to the BPM field. If you know the key is different, choose it from the list and the Camelot code updates. A small question mark appears beside keys with low confidence, which usually means the track changes key or has very little harmony. Edits can be undone and redone, and the table is kept in this browser between visits. The audio files themselves are not stored.
The Camelot wheel and harmonic order
The wheel shows how many of your tracks sit in each key. Tap a key and the table filters to tracks that mix with it: the same code, one step either way around the wheel, or the relative major or minor with the same number. Select a row and press Harmonic order to build a set that starts there. The order prefers neighbouring keys and tempos within a few percent, and rises in energy where it can. Markers in the first column show smooth transitions, energy jumps and key clashes.
Choosing settings
Pick the BPM range that fits the genre before adding files, because the detector only searches inside it. The middle 60 seconds option is fastest for big folders; up to 10 minutes gives steadier key readings for long tracks with changing sections. Notation can be Camelot, Open Key or plain musical names.
Limits
Key and tempo detection are estimates, not ground truth. Tracks with tempo changes, live drummers, heavy swing, atonal sections or modulations can be read wrongly, and the energy score is our own heuristic, not the same scale as any commercial product. Very large files use a lot of memory on phones. Always listen before relying on a reading in front of a crowd.
Worked example
A folder of four house tracks is added with the 85 to 175 range. The table shows 124 BPM 8A, 125 BPM 9A, 126 BPM 10A and 90 BPM 3B. Selecting the first row and pressing Harmonic order gives 8A, 9A, 10A and then 3B with a red cross, warning that the last track neither shares a key family nor a tempo with the set.
Quick facts
- Category: Audio, Video & Design
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: Krumhansl and Kessler key profiles (Cognitive Foundations of Musical Pitch, 1990)
Frequently asked questions
Are my music files uploaded anywhere?
No. Decoding and analysis happen in your browser, and only the result table is saved locally.
How accurate is the BPM?
On steady electronic and pop music it is usually within 0.5 BPM. Use the half and double buttons when it lands on a multiple.
What is Camelot notation?
A wheel of 24 codes, 1A to 12B, where neighbours mix harmonically. A codes are minor keys and B codes are major.
Can I import my previous results?
Yes. Use Import CSV on a file exported by this tool; title, BPM, Camelot and energy columns are read back.
Does it write tags into my files?
No. Browsers cannot change files on your disk, so export the CSV and paste values into your tag editor or DJ software.
Which formats work?
Whatever your browser decodes: normally MP3, WAV, AAC and M4A, FLAC and OGG.
