Skip to content

BPM and key finder

Drop one song or a whole playlist and get the tempo in BPM, the musical key, the Camelot code and a second likely key for each track. Export everything as CSV, or tap along to measure the tempo by ear. Your files stay on your device.

Share
  • Processed on your device
  • Free, no sign-up
  • No watermarks
  • No file size caps

Find the BPM and key of a song

or click to choose · MP3, WAV, M4A, FLAC, OGG · drop a whole folder of tracks · nothing is uploaded

Choose songs

Tap tempo

Tap along with the beat (or press Space on the button) to measure the BPM by ear.

—BPM

Your file stays on this device. Processing happens in this browser tab and is erased when you close it.

How to find the BPM and key of a song

  1. Add your songs. Drop one or more audio files onto the box, or click Choose songs. You can select a whole batch at once and add more later with Add more.
  2. Wait for the analysis. Each track gets its own card. It shows Waiting… while it is queued and Analysing tempo and key… while it is being processed; a typical song takes a few seconds.
  3. Read the tempo. Under Tempo you see the rounded BPM in large type, and below it the exact value with one decimal, the half tempo (½) and the double tempo (2×).
  4. Read the key. Under Key you see the detected key, its Camelot code and, after or, the second most likely key.
  5. Check the confidence. Tempo confidence and Key confidence are rated high, medium or low. Low means the result deserves a quick listen.
  6. Listen or export. The play button plays the song from about 30 seconds in, so you can check the result against the music. Export CSV saves all results as a spreadsheet.

What the analysis does

The song is decoded by your browser, converted to mono at 22.05 kHz and analysed in a background thread, so the page stays responsive.

  • Tempo. The tool measures how much the spectrum changes from one moment to the next (a spectral-flux onset envelope): drum hits and note attacks produce sharp peaks. It then looks for the time gap at which this pattern repeats best (autocorrelation), and also rewards tempos whose multiples line up (harmonic summation). It searches between 60 and 200 BPM, and for long tracks it looks at up to two minutes from the middle, where the groove is usually steady.
  • Key. The tool builds a chromagram: for each of the twelve pitch classes (C, C♯, D …) it adds up how much energy the song has in that note between roughly 65 Hz and 2.1 kHz. That twelve-note profile is compared with the Krumhansl–Kessler profiles for all 12 major and 12 minor keys. The best match becomes the key, the runner-up is shown as the alternative.
  • Confidence. A tempo is rated high when its peak clearly stands out; a key is rated high when the best key is well ahead of the second one.

If a track has no steady pulse at all, such as an ambient piece or a free-tempo intro, the card says No steady beat found instead of guessing.

Camelot wheel: which keys mix well

For harmonic mixing, stay on the same Camelot number, move one step up or down, or switch between A and B with the same number.

Track keyCamelotSame number, other modeOne step downOne step up
A minor8AC major (8B)D minor (7A)E minor (9A)
C major8BA minor (8A)F major (7B)G major (9B)
E minor9AG major (9B)A minor (8A)B minor (10A)
F minor4AA♭ major (4B)B♭ minor (3A)C minor (5A)
G major9BE minor (9A)C major (8B)D major (10B)

The wheel wraps around: one step up from 12 is 1.

Typical tempos by genre

GenreTypical BPM
Ballads, slow R&B60–80
Hip-hop, reggaeton85–100
Pop100–130
House120–128
Techno, trance125–140
Dubstep, trap140 (often felt as 70)
Drum & bass160–180 (often felt as 80–90)

If the result is outside the range you expect for a genre, check the half or double value: that is almost always the one you are looking for.

Tips for DJs and musicians

  • Mix harmonically. Moving ±1 step on the Camelot wheel, or between 8A and 8B, keeps transitions smooth. Larger jumps work as deliberate energy changes.
  • Use the second key. If the main key and the alternative are relative keys (8A and 8B), both will mix the same way, because they share the Camelot number.
  • Batch your crate. Select all your new tracks at once, export the CSV and sort it by BPM or Camelot code in any spreadsheet.
  • Match tempos. To bring a track closer to your set’s tempo or into a singer’s range, use Speed & pitch. For a lazy, dreamy remix, try Slowed + reverb.
  • Prepare practice tracks. Make a karaoke or practice version with the Vocal remover and cut out the section you need with the Audio cutter.

Honest limits

No automatic detector is perfect, and this one is no exception:

  • Octave errors. Tempo can be off by a factor of two, especially with half-time beats, trap and drum & bass. That is why half and double are always shown.
  • Relative major and minor. A minor and C major use the same notes, so the key can land on the relative key. The alternative key often shows the other one.
  • Changing music. Songs with tempo changes, key changes or long rubato passages get one value that describes the analysed section, not every part of the song.
  • Tuning. Recordings tuned far from A = 440 Hz can be read as a neighbouring key.

When in doubt, trust your ears: the tap pad and the preview button are there to double-check.

Privacy

Your music never leaves your device. Files are read into memory, analysed in your browser and forgotten when you close the page. Only the CSV you choose to download is saved.

Frequently asked questions

How do I find the BPM of a song?
Drop the file onto the box above or click Choose songs. After a few seconds the card shows the tempo as a big number, plus the exact value with one decimal and the half and double tempo. No file at hand? Use the Tap tempo pad and tap along with the beat.
How do I find the key of a song?
The same analysis also finds the key. The card shows it as, for example, A minor, together with the Camelot code (8A) and the second most likely key. The confidence labels tell you how clear-cut the result was.
How accurate is it?
On music with a steady beat, such as pop, house, techno or hip-hop, the tempo is usually right to within a fraction of a BPM. The most common error is an octave: 70 instead of 140, which is why half and double are shown. Key detection is right most of the time on clearly tonal songs, but can mix up a major key with its relative minor.
What is the Camelot code?
The Camelot wheel numbers the 24 keys from 1 to 12, with A for minor and B for major. Keys with the same number or a number one step away sound good together, which makes harmonic mixing easy without music theory.
Can I analyse many songs at once?
Yes. Select or drop as many files as you like; they are analysed one after another. Click Export CSV to download a table with file name, BPM, key, Camelot code and duration for every finished track.
Are my songs uploaded?
No. Every file is decoded and analysed by your browser on your own device. Nothing is sent to a server, so it also works with unreleased tracks and large libraries.
Which formats are supported?
Anything your browser can decode: MP3, WAV, M4A/AAC, FLAC, OGG and Opus, and also video files such as MP4 or WebM (the sound track is used). Files must be at least 5 seconds long. DRM-protected downloads from streaming apps can’t be opened.
How does tap tempo work?
Tap the TAP button in time with the beat, or focus it and press Space. The BPM is calculated from the typical gap between your last taps, so one sloppy tap hardly matters. Pause for more than about two and a half seconds and it starts a fresh measurement.