BPM and key finder
Find a song's tempo and musical key, with its Camelot code, from an MP3 or other audio file, many songs at once, or tap to count the BPM. Nothing is uploaded.
- Runs in your browser
- Nothing is uploaded
- Free, no sign-up
or drop them here. MP3, WAV, M4A, FLAC, Ogg, or the sound of a video. Nothing is uploaded.
Tap tempo
Tap the button in time with the beat, or press Space or Enter on it. A pause of a few seconds starts a new count.
– BPM
Tap at least twice.
How it works
Choose one or more songs: MP3, WAV, M4A, FLAC, Ogg or Opus files, or a video whose sound you want measured. The sound is decoded in your browser and listened to twice over at once. For the tempo, it finds the moments where notes and drum hits start, and the beat length at which they repeat most evenly, checked against the whole song so it is measured to a fraction of a beat per minute. For the key, it measures how much of each of the twelve notes sounds across the song, allowing for a recording tuned a little off A = 440 Hz, and compares that with how often each note is heard in each of the 24 major and minor keys.
Each song shows one tempo, rounded to a whole number, with the half and double tempos beside it and how long one beat lasts in milliseconds, which is handy for setting a delay or a metronome. Its key shows with its Camelot code for harmonic mixing, and the next best key under it. Tempo detection can be off by half or double on some songs, and the key by a closely related key, so if a number doesn't match what you hear, trust your ears: tap along to check the tempo.
The tap tempo counter works without a file: tap the button in time with any music and it shows the BPM of your taps, fitted to all of them so one early or late tap counts for little. To cut a song to a loop, use the MP3 cutter; to move it to another key or tempo, the audio speed and pitch changer; to change its format, the audio converter.
Questions
How do I find the BPM and key of a song?
Choose the song's MP3 or other audio file, or drop it on the page, and its tempo in beats per minute and its musical key, such as A minor, appear in a few seconds with the key's Camelot code. You can add a whole folder of songs at once and each gets its own BPM and key. If you don't have the file, play the song and tap the Tap button along with the beat: the tap BPM counter works out the tempo from your taps.
How accurate is the key finder?
It gives its best guess and the next best match, because no key detector is always right. In our tests on recordings it hadn't been tuned on, it named the exact key of 76% of 95 Chopin piano pieces, and the right key was one of the two it showed for 93% of them. Short producer loops are harder: 44% exact and 67% in the two shown, out of 36. When it is wrong it is usually by a close key: the relative major or minor, which has the same notes, or a key a fifth away, which DJs can still mix with. Music that changes key gets the key it spends longest in.
What is the Camelot code next to the key?
It is the key's place on the Camelot wheel that DJs use for harmonic mixing: 12 numbers for the 12 notes, with A for minor keys and B for major keys, so A minor is 8A and C major is 8B. Songs with the same code, a number one step up or down (8A to 7A or 9A), or the same number with the other letter (8A to 8B) usually mix without the keys clashing.
Why is the BPM half or double what I expected?
A beat can be counted at more than one speed: a song at 140 BPM can feel like 70 if you nod along to every other beat, and some songs are written down at half or double the speed most people tap. The detector picks the speed where the drum hits fall most evenly, which is usually the written tempo, and shows the half and double values beside it in case your count is one of those. In testing on made-up drum and click tracks from 60 to 180 BPM it was within 0.3 BPM.
Can it find the BPM and key of a song on Spotify or YouTube?
No. It only measures sound files on your device, because looking a song up by name or link would mean sending what you search for to another site. That also means it works on songs no site knows yet, like your own beat or a recording you made. If you can play the song, use tap tempo: tap along for ten seconds or so and the BPM shows as you go.
Limits
Opens MP3, M4A, AAC, WAV, FLAC, Ogg and Opus files, and the sound in MP4, MOV, WebM and MKV videos, up to 50 files at a time. Only the first 10 minutes of each are measured, so a long DJ mix gets the tempo and key of its start. It finds one tempo and one key per song: a song that changes speed or key gets the one it keeps longest. It names major and minor keys only, not modes such as Dorian, and drums, speech or noise get no key.
Decoding uses your browser's own decoder, so a format the browser can't decode, such as AAC in some Linux browsers, can't be measured there. In testing on a computer, a 4-minute MP3 took about 4 seconds.
Privacy
This tool runs entirely in your browser. The files you open and what you type are never sent to a server, and nothing is stored after you close the page. See the privacy page.
Related tools
MP3 cutter
Cut an MP3 or other audio on a waveform, hear the part first, add fades or make an Android ringtone. MP3s keep their quality; nothing is uploaded.
Audio speed and pitch changer
Change a song's speed with its pitch kept, its pitch in semitones, or both, with slowed + reverb and nightcore presets. Hear it first; nothing is uploaded.
Audio converter
Convert OGG, M4A, WAV, FLAC, Opus and WhatsApp voice notes to MP3, MP3 to WAV or M4A, or compress an MP3, many at once, with cover art. Nothing is uploaded.