Song key and BPM finder

Drop an MP3, WAV or M4A and this song key and BPM finder estimates its tempo (with the half- and double-time readings) and its key, with the relative key, the Camelot code and how sure the reading is. Your file is decoded and analysed in your browser and never leaves your device; a tap-tempo pad and a transposer for singers sit next to the results.

  • Runs in your browser · nothing uploaded
  • No sign-up needed
Loading the tool…

How to do it

  1. 01

    Choose an audio file

    Your own song, a demo, a stem or a backing track: MP3, WAV, M4A, AAC, OGG or FLAC, up to 15 minutes. Analysis takes a few seconds.

  2. 02

    Read the tempo and the key

    The tempo shows in BPM with its half- and double-time readings; the key with its relative key, Camelot code and a confidence bar.

  3. 03

    Check it by ear

    Play the song and tap along on the tap-tempo pad. If your taps land on half or double the reading, pick that one with a click.

  4. 04

    Measure a section or transpose

    Switch to a part of the song to measure just the chorus or the end, move the key up or down for a singer, then copy the result.

How the BPM is measured

The finder looks for the moments new sound starts (drum hits, plucked or strummed notes) close to a hundred times a second, then for the time gap at which that pattern repeats best. A steady beat repeats at one beat, two beats, four beats and so on, which gives the tempo to a fraction of a BPM. It counts quarter-note beats, as music software does.

The same pattern also repeats at half and double speed, so every BPM reading has an octave problem: a 75 BPM ballad with busy hi-hats can read as 150, and a 174 BPM drum and bass track can read as 87. That is why both alternatives are shown with a click to switch, and why tapping along is the best tie-breaker. Songs that speed up, slow down or are played freely (rubato, a solo piano intro) have no single tempo: the finder says when the beat doesn’t hold, and the section option measures one stretch at a time.

How the key is found

The audio is split into its 12 pitch classes (C, C♯, D and so on, every octave folded together), after checking whether the recording is tuned sharp or flat of A = 440 Hz. The resulting pitch profile is compared with major and minor key profiles in all 12 positions, the Krumhansl–Schmuckler method, and the closest of the 24 keys wins. The bar chart shows the profile, with the notes of the found key highlighted.

Relative keys share all their notes (C major and A minor, for example), so the finder sometimes names the relative key of the one you expect; the relative key is always shown underneath. Key detection also struggles with songs built on one chord or a drone, modal tunes, heavy distortion, spoken word and atonal music; the confidence bar drops when the profile fits no key clearly. If a song changes key, for instance a last chorus a step up, the finder lists the sections with their keys.

Before you record a Christmas cover

Record yourself singing the carol or song once, with a simple guitar or piano part, and run that recording through the finder: now you know the key that suits your voice instead of the key of a record you learned it from. If the top notes strain, step the transposer down a semitone or two; if the low notes disappear, step it up. The chords of the new key are listed underneath, so the band or the backing track can follow.

For sleigh bells and shakers, the tool shows how many milliseconds lie between eighth-note and sixteenth-note shakes at the song’s tempo, which is handy for a delay setting or for lining up a sampled bell loop. Measure the tempo from where the bells come in if the arrangement opens in free time, and convert other note values with the BPM to seconds calculator.

When to trust the reading

Both readings are estimates from the audio, not data from the song’s session or its distributor. A high confidence on a steady, tonal song is usually right; low confidence means look closer. Trust your ears over the number: tap the tempo, and play the tonic chord over the song to hear whether it sounds like home.

To catalogue a song for a DJ set, the Camelot code and the codes next to it on the wheel tell you which keys mix smoothly. The finder works on audio files you have; it doesn’t look songs up in a database.

Beyond a filter

Make the artwork itself move, with AI

Loopsleeve's generator turns one image into a seamless loop where the picture itself moves: hair in the wind, rain on the glass, drifting light. Made for Spotify Canvas, album covers and lofi loops.

Try the AI loop generator

Frequently asked questions