Free tool · Audio and video
Song key finder
Type the chords or notes of a song, in order, and the page ranks all 24 major and minor keys. It shows the most likely key and explains it chord by chord.
- Free
- No sign-up
- Runs in your browser
- Clear: the next key is well behind
- 8 of 8 chords fit
- Key signature
- 1 sharp (F#)
- Next best
- E minor
- Outside the key
- none
Best five keys
| Key | Fit | Chords |
|---|---|---|
| 1. G major | 100% | 8 of 8 |
| 2. E minor | 73% | 8 of 8 |
| 3. C major | 62% | 6 of 8 |
| 4. A minor | 58% | 6 of 8 |
| 5. D major | 58% | 6 of 8 |
Why the top key
| Chord | Role | Times | Reason |
|---|---|---|---|
| G | I | 3 | a chord of this key |
| D | V | 2 | a chord of this key |
| Em | vi | 1 | a chord of this key |
| C | IV | 2 | a chord of this key |
Want this song in another key? Use the chord transposer.
How to use the Song Key Finder
- Choose Chords or Notes under What you have.
- Type them in order, separated by spaces, for example G D Em C. You can also paste a chart with chords above the words.
- Read the key in the result panel. Best five keys shows how well each one fits.
- Check Why the top key to see each chord as a number in that key, and which chords sit outside it.
How do I find the key of a song?
Write down the chords in the order they come, then ask which scale holds them all. The chords G, D, Em, C, G, D, C, G fit one key best: G major, with a score of 100 percent. All 8 of its 8 chords belong to it, and the next best key is E minor.
You do not need the whole song. Four to eight chords from the verse or the chorus are enough for most pop, rock and folk songs. The more chords you give, the surer the answer. One chord alone gives a guess, and the page says so.
If you only know the melody, switch to Notes and type the notes in the order you hear them. Octave numbers are allowed, so C4 and C are the same note to this page. Notes carry less information than chords, so a short tune can fit more than one key.
How does the page decide which key fits best?
Each key has a scale, seven notes that belong to it. A chord belongs to a key when all of its notes sit inside that scale and it is the right kind of chord for its place. In C major the chord on the fifth note, G, is major, and the chord on the sixth note, A, is minor. The page gives every chord two points when it is a chord of the key, one point when its notes are all in the scale but it is a different kind of chord, and a fraction of half a point when only some of its notes fit.
Then it adds small bonuses, because a song usually begins and ends on its home chord. The first chord scores two extra points if it is the home chord of that key, and so does the last. One more point is added if the home chord is the one that appears most, and one more if the key's fifth chord, the chord that leads home, is present. The total is shown as a percentage of the best possible score.
Minor keys also accept the major chord on the fifth note, because that is how many minor songs lead back home. In A minor the chord E is a normal part of the key, written V. In C major, a D chord falls outside the key: it is not in the scale, so the page lists it under Outside the key.
| Key | Fit | Chords that fit | Outside the key |
|---|---|---|---|
| 1. G major | 100% | 8 of 8 | none |
| 2. E minor | 73% | 8 of 8 | none |
| 3. C major | 62% | 6 of 8 | D |
| 4. A minor | 58% | 6 of 8 | D |
| 5. D major | 58% | 6 of 8 | C |
Reading the second table of the page for that top key, the chords are numbered like this: G is I, D is V, Em is vi, C is IV. The numbers are Roman numerals, with capitals for major chords and small letters for minor ones.
What is a relative key, and why do two keys fit equally well?
Every major key shares its notes with one minor key, called its relative minor. C major and A minor use the same seven notes and have no sharps or flats. G major shares its notes with E minor, and the key signature is 1 sharp (F#). Songs in a major key and in its relative minor can use exactly the same chords, so chords alone cannot always tell them apart.
That is why the first and last chords matter. The chords Am, F, C, G, Am, F, C, G are all in both A minor and C major. The page picks A minor, because the song starts and ends on the chords that are home in that key. With the chords C, F, G, C it picks C major for the same reason.
When two keys are close, the page says so. The chords Em, Am, D, G give G major first and E minor second, with a gap of 1 points, so treat it as a call that you could argue either way. In that case, listen to which chord feels like the place the song comes to rest, and trust your ear over the page.
| Major key | Relative minor | Key signature |
|---|---|---|
| C major | A minor | no sharps or flats |
| Db major | Bb minor | 5 flats (Bb, Eb, Ab, Db, Gb) |
| D major | B minor | 2 sharps (F#, C#) |
| Eb major | C minor | 3 flats (Bb, Eb, Ab) |
| E major | C# minor | 4 sharps (F#, C#, G#, D#) |
| F major | D minor | 1 flat (Bb) |
| F# major | Eb minor | 6 sharps (F#, C#, G#, D#, A#, E#) or 6 flats, depending on the spelling |
| G major | E minor | 1 sharp (F#) |
| Ab major | F minor | 4 flats (Bb, Eb, Ab, Db) |
| A major | F# minor | 3 sharps (F#, C#, G#) |
| Bb major | G minor | 2 flats (Bb, Eb) |
| B major | G# minor | 5 sharps (F#, C#, G#, D#, A#) |
What if the song changes key or uses outside chords?
Many songs borrow a chord or two from another key. They still have one main key, and the page shows how many chords sit outside it. One or two odd chords in a long list do little harm, because most of the chords still point to the same place.
If the song modulates, which means it moves to a new key part way through, run each part on its own. Type the verse, then the chorus, then the bridge, and compare the answers. A song that gives different keys for different parts has moved.
Notes work the same way, with one point per note that is in the scale. For example the notes E, F#, G, A, B, C, D, E give E minor. Once you know the key, you can move the chart to a more comfortable one with the chord transposer, or play the notes on the online piano.
Use it with
- Transpose Chords: move a chord chart up or down by semitones.
- Tone Generator: play a pure tone at any frequency.
- Word Counter: count words, characters, sentences.
Questions
How do I find the key of a song from its chords?
List the chords in order and check which scale holds them all. For G, D, Em and C the answer is G major. The page does this for all 24 keys at once and ranks them.
What is the relative minor of a major key?
It is the minor key that uses the same notes. C major and A minor share all their notes, and so do G major and E minor. The relative minor starts on the sixth note of the major scale.
Why does the page say two keys are close?
Because the chords belong equally to a major key and its relative minor, or to two neighboring keys. Check which chord the song rests on, since that chord is the home chord.
Do I need to type the whole song?
No. Four to eight chords from one section are usually enough. A longer list gives a surer answer, and one chord alone gives only a guess.
Can I use sharps, flats and seventh chords?
Yes. Chords such as F#m7, Bb, Cmaj7 and G/B are all read. Notes can be written with # for sharp and b for flat.
Is the song sent anywhere?
No. The chords are read in your browser and nothing leaves your device.
The tool's results are computed in your browser by the code on this page; the explanations are checked against the tool's own output.