Song Key Finder
Song key finder in your browser: drop an MP3 and get its key, relative key and Camelot code in seconds, plus the BPM. Free, no sign-up, nothing uploaded.
Example result for “Ode to Joy (Beethoven)” (our sample recording):
Key
G major
Camelot 9B
Tempo
100 BPM
played at 100 BPM
Want the notes too? Turn the same song into MIDI, sheet music and jianpu.
MP3 to MIDISong key finder: choose an MP3, WAV or M4A above and the page tells you the key of the song, its relative major or minor and its Camelot code, together with the tempo. The analysis runs in your browser, so nothing is uploaded, and it is free with no sign-up.
Before you upload anything, the card shows the result for our sample recording of “Ode to Joy”: G major, Camelot 9B, which is the key it was written in.
How the song key finder decides
- The audio is decoded and resampled to 22,050 Hz in your browser.
- Each slice of the song is split into frequencies; the spectral peaks between 55 Hz and 2 kHz are folded onto the 12 pitch classes (C, C♯ … B).
- That 12-number profile is correlated with the Krumhansl–Kessler profiles of all 24 major and minor keys (Krumhansl, Cognitive Foundations of Musical Pitch, 1990). The best match is the key; the gap to the runner-up is the confidence.
Camelot wheel: every key and its code
| Camelot | Major | Camelot | Minor |
|---|---|---|---|
| 1B | B major | 1A | G♯/A♭ minor |
| 2B | F♯ major | 2A | D♯/E♭ minor |
| 3B | D♭ major | 3A | B♭ minor |
| 4B | A♭ major | 4A | F minor |
| 5B | E♭ major | 5A | C minor |
| 6B | B♭ major | 6A | G minor |
| 7B | F major | 7A | D minor |
| 8B | C major | 8A | A minor |
| 9B | G major | 9A | E minor |
| 10B | D major | 10A | B minor |
| 11B | A major | 11A | F♯ minor |
| 12B | E major | 12A | C♯ minor |
The major and minor keys on one row share the same notes (relative keys).
When the key finder can be wrong
- Songs that change key: you get the key that dominates overall.
- Modal or blues songs that do not follow major/minor harmony.
- Very short clips, or tracks that are mostly drums.
Need the notes, not just the key?
The same song can go through the MP3 to MIDI converter for its notes, a staff score or jianpu.
FAQ
How does the song key finder work?
It measures how much of each of the 12 pitch classes the song contains and compares that profile with the Krumhansl–Kessler major and minor key profiles; the best-matching of the 24 keys wins.
Why does it say the relative minor instead of the major?
C major and A minor use the same notes, so they are easy to confuse. If the song feels like it resolves to a different note, use the relative key shown under the result.
What is the Camelot code?
A DJ notation of the circle of fifths: numbers 1–12, A for minor and B for major. Keys with the same number or a neighbouring number mix smoothly.
Use the song key finder above on as many songs as you like; it stays free.
Last updated: 2026-12-01