How to use the key finder
- Chords: type the chords in the order they come, such as C G Am F, or paste a whole chord sheet: chord lines over lyrics and [C] inline chords both work, and the words are ignored.
- Notes: press the notes of a melody, a riff or a chord. Start with the note that feels like home; it counts a little more.
- Song file: choose an MP3, M4A, WAV, OGG or FLAC file. It is analysed on your device, and a song that changes key is shown section by section with times.
- Microphone: press Start listening and play or sing. The answer updates while you play and settles after about ten seconds.
- The best key is at the top, with its Camelot and Open Key codes and its relative key. Below, the six keys that fit best are ranked; press any of them to see its scale, its chords in roman numerals, the keys it mixes with, and links to practise it.
How to find the key of a song by ear
The key of a song is its home note, the tonic, and whether it is major or minor. Most songs settle on the tonic chord at the end of the chorus or the song, so start there: sing or hum the lowest note that feels finished when the music stops. Then find that note on a piano or guitar. If the music around it sounds bright and open, the song is probably in the major key on that note; if it sounds darker or sad, the minor key.
The chords help too. Write down the chords of the verse and chorus and look for the key whose seven chords contain them. In a major key the chords are I, ii, iii, IV, V, vi and vii°: in G major, G, Am, Bm, C, D, Em and F♯°. If your song uses G, C, D and Em, it is almost certainly in G major or E minor, and the first and last chords usually settle which. This is exactly what the finder does, for all 24 keys at once.
Sheet music gives a third clue: the key signature. Each number of sharps or flats belongs to one major key and its relative minor, listed in the table below. Two sharps is D major or B minor; three flats is E♭ major or C minor.
Major or minor? Relative keys
Every major key shares its notes with one minor key, its relative minor, three semitones lower: C major and A minor, G major and E minor, F major and D minor. Their chords are the same, so a progression such as Am–F–C–G fits both. What decides it is which chord sounds like home. Songs in minor often add a major V chord (E or E7 in A minor), whose G♯ is outside C major, and that is a strong sign of the minor key. The finder counts that chord for minor keys and tells you when the two are a close call.
How key detection from audio works
For a recording, the finder measures how strongly each of the 12 notes sounds, octave by octave folded together: a chromagram. It then compares that pattern with the key profiles that Carol Krumhansl and Edward Kessler measured in listening experiments, which give how well each note fits each key. The key whose profile matches best wins, and the match score (from −1 to 1) shows how clear the result is. Drums, speech and noise spread energy over all 12 notes, so they are recognised and don’t produce a false key.
Songs don’t always stay in one key. The finder also looks at the song in overlapping windows of 12 seconds and joins neighbouring windows in the same key into sections, so a final chorus that moves up a step starts a new section, with its time.
Camelot and Open Key for DJs
DJs mix tracks in compatible keys so the music doesn’t clash. The Camelot wheel numbers the keys 1 to 12 round the circle of fifths, with B for major and A for minor; Open Key, used by Traktor, does the same with d and m and starts the count from C major. A track mixes smoothly with another of the same code, with the other letter of the same number (its relative key), or with one number either side. The finder shows the codes for every result and lists the keys each one mixes with.
| Camelot | Major key (B) | Minor key (A) | Open Key | Key signature |
|---|---|---|---|---|
| 1 | B major | G♯ minor | 6d / 6m | 5 sharps |
| 2 | F♯ major | E♭ minor | 7d / 7m | 6 sharps |
| 3 | D♭ major | B♭ minor | 8d / 8m | 5 flats |
| 4 | A♭ major | F minor | 9d / 9m | 4 flats |
| 5 | E♭ major | C minor | 10d / 10m | 3 flats |
| 6 | B♭ major | G minor | 11d / 11m | 2 flats |
| 7 | F major | D minor | 12d / 12m | 1 flat |
| 8 | C major | A minor | 1d / 1m | none |
| 9 | G major | E minor | 2d / 2m | 1 sharp |
| 10 | D major | B minor | 3d / 3m | 2 sharps |
| 11 | A major | F♯ minor | 4d / 4m | 3 sharps |
| 12 | E major | C♯ minor | 5d / 5m | 4 sharps |
Tips for a sure answer
- Use the chords of the whole song, not just the intro: a four-chord loop can fit two keys, and the bridge often settles it.
- When the top two keys are relatives, listen to the last chord of the chorus. If it sounds finished, that chord names the key.
- Play the scale of the winning key over the song on the online piano or see it on the guitar neck; every note should sit comfortably.
- To sing or play it higher or lower, move the chords with the chord transposer, and see how the keys relate on the circle of fifths.
- Need the tempo too? The BPM finder measures the beats per minute of the same file.
Frequently asked questions
How do I find the key of a song?
Type its chords into the key finder, or press the notes of the melody, or choose the song file. Every key is scored and the best ones are listed with how well they fit. By ear: hum the note that feels like home at the end of a phrase. That note is the tonic, and whether the song sounds bright or sad around it tells you major or minor.
How does the key finder work from chords?
Each key has seven chords of its own. In C major they are C, Dm, Em, F, G, Am and B°. The finder counts how many of your chords belong to each of the 24 keys. A key chord at the start or the end counts a little extra, because most songs begin or end on it. Chords from outside the winning key are named, since they are usually borrowed for colour.
Why does it say two keys fit equally?
Every major key has a relative minor with exactly the same notes and chords: C major and A minor, G major and E minor. The chords alone can’t tell them apart, so the finder looks at which key chord the song starts or ends on, and tells you when it’s a close call. Trust your ear for the chord that sounds like home.
Can it find the key of an MP3?
Yes. Choose an MP3, M4A, WAV, OGG or FLAC file and it is analysed on your device; nothing is uploaded. The finder measures how much of each of the 12 notes the music holds and compares that with the key profiles from listening experiments. It also splits the song into sections, so a key change shows up with its time.
What is the Camelot key?
A code DJs use for harmonic mixing, from the Camelot wheel: numbers 1 to 12 go round the circle of fifths, B for major and A for minor. C major is 8B and A minor is 8A. Tracks mix smoothly with the same code, the other letter of the same number, or one number either side. Open Key, used by Traktor, is the same idea with d for major and m for minor.
Are the key and the scale of a song the same thing?
Nearly. The key is the tonic and the mode, such as A minor; the scale is the set of notes that key uses. A song in A minor mostly uses the A natural minor scale but often raises the 7th (G♯) on the V chord, which is the harmonic minor. The finder shows the scale of each key and its chords, including that major V.
Why might the result be wrong?
Songs that change key, stay on one or two chords, or use the modes (such as Dorian or Mixolydian) fit several keys. Recordings with heavy drums, distortion or detuned instruments blur the notes. Check the top two or three keys in the list, play the scale over the song, and keep the one that sounds right.