BPM detector
All tools
Home / Tools / BPM and key finder

BPM and key finder

Drop a song to get its tempo, a key estimate and the Camelot code DJs use for harmonic mixing. Everything is analysed on your device.

Drop audio or video files here

MP3, WAV, M4A, OGG, FLAC, MP4… one or many — analysed on your device, never uploaded

0:00.0

Tempo

—BPM

Candidates


Key (estimate)

—

Beat grid


Not sure? Tap along

Tap 4+ times on the beat.

Tempo over time

How it works

Tempo and key are the two numbers you need to mix tracks or build a set. The tempo comes from the rhythm: the detector measures how strongly new sounds start in every 6 ms slice of the track, then finds the beat period that repeats most strongly. The key comes from the harmony: each part of the spectrum that sits on a musical note is folded into one of the twelve pitch classes, and the resulting profile is compared with the classic Krumhansl–Kessler major and minor key profiles.

The key result is labelled as an estimate for a reason. Songs that move between relative keys (C major and A minor share every note), modal tracks and pieces with heavy distortion or no clear bass line can confuse any key detector, including the ones built into DJ software. When the match is weak the tool says “unclear” instead of guessing, and it always shows the runner-up key.

For mixing, the Camelot code is the useful part: keys with the same number (8A and 8B), or one step apart (8A, 7A, 9A), blend without clashing. See our guide to BPM for DJ mixing for how tempo and key work together.

Tips

  • Same Camelot number, or ±1, mixes harmonically
  • Check relative keys (e.g. A minor vs C major) by ear
  • Analyse a full track, not a 10-second preview, for the best key estimate

Step by step

  1. Open your audio. Click Open files or drop one or more MP3, WAV, M4A, OGG, FLAC or video files onto the page. They are decoded in your browser and never uploaded.
  2. Read the tempo. The BPM appears with a confidence score and the top candidates. Use ½× or 2× if the result is half or double what you hear, or set a tempo range.
  3. Check the beat grid. Click anywhere on the waveform to play from there with a click on every beat. Nudge the grid by 10 ms if it is slightly early or late.
  4. Export. For several files, download the results table as CSV or TXT, or copy it to the clipboard.

FAQ

Are my files uploaded?

No. Files are decoded with your browser’s Web Audio API and analysed by JavaScript on your device. Nothing is sent to a server, so large files and unreleased tracks are fine.

Why does it say 64 when my song is 128 BPM?

Tempo has octaves: a beat at 128 BPM also repeats every two beats (64) and has a pulse on every eighth note (256). The detector picks the most likely level, but it can land on the half or double. Click 2× or ½×, pick another candidate, or choose a tempo range such as 80–160 so the result is always folded into it.

Which formats can I analyse?

Anything your browser can decode: MP3, WAV, M4A/AAC, OGG, Opus and FLAC in all modern browsers, AIFF in Safari, and the audio track of MP4, MOV and WebM videos. You can drop several files at once.