Skip to the main content

Key finder

The key of a song is its tonic and its scale, such as G major or E minor. Song X-ray, our song analyzer, finds the key of a recording. Open a song file, and it compares the notes of the whole song with the patterns of the major and minor keys. It then shows the key that fits best.

Open Song X-ray

CAmGEmDBmAF♯mEC♯mBG♯mF♯E♭mD♭B♭mA♭FmE♭CmB♭GmFDm
The circle of fifths with the relative minors

How to find the key

Open Song X-ray and choose a song file, such as an MP3, WAV or M4A file.

Song X-ray shows the key in words, such as E♭ major or C♯ minor. It also shows the tempo and the sections of the song.

Relative keys

A major key and its relative minor use the same notes. G major and E minor, for example, both have one sharp, which is F♯.

The tonic shows which of the two keys a song is in. A song in E minor comes to rest on E, and a song in G major comes to rest on G.

See the E minor scale

The circle of fifths

The circle of fifths orders the keys by their sharps and flats. Clockwise from C major, the keys add one sharp at a time. Counterclockwise, the keys add one flat at a time.

Neighboring keys share most of their notes. A song often moves to a neighboring key and back again.

Tanpura drone

Hindustani musicians fix the key with Sa. Set the drone on your Sa and sing over it.

Common questions

How do I find the key of a song?

Open the song in Song X-ray, and the key appears beside the tempo. It is the major or minor key whose pattern best fits the notes of the recording.

What is the difference between a key and a scale?

A scale is a row of notes in order. A key is the tonic and the scale of a piece. A song in G major uses the notes of the G major scale.

Why does the key finder show a minor key?

A major key and its relative minor share the same notes. The minor key fits better when the music centers on the minor tonic, as E minor centers on E.

Can a song change key?

A song can move to a new key. This change is called a modulation. Many songs move up a step for the last chorus.

How do I find the key by ear?

Hum the note on which the song comes to rest. Find that note on the piano. Then listen for whether the song sounds major or minor on that note.

What is the key of a song in Indian music?

In Hindustani music the key is the pitch of Sa. Singers choose a Sa that suits their voice, and the tanpura is tuned to it.

PracticeBPM finderMusic scales