Free Song Key Finder Online

Free online song key finder. Drop in a song to detect its musical key, with Camelot and Open Key codes, scale notes, chords, compatible keys for mixing and the key of each section. It runs in your browser, so your file is never uploaded.

Song Key Finder by Utiliby

Free Song Key Finder

Drop in a song to find its musical key, with Camelot and Open Key codes, scale notes, chords and the key by section. Runs in your browser.

Drop a song or recording here (MP3, WAV, M4A, FLAC), or click to chooseYour file stays on your device. Nothing is uploaded.

Plays the notes of the detected key so you can check it by ear.

Disclaimer: This free online song key finder estimates the musical key from the notes in your audio, in your browser, and does not upload your file. Detection is an estimate that works best on music with clear harmony. Songs that change key, use unusual scales, or have little pitched sound can be misread, so confirm the key by ear or with an instrument.

Share, cite or embed this tool

Written by the Utiliby editorial team · Last updated October 13, 2026 · Rules and formulas reviewed October 2026

What this free song key finder does

The key of a song is the set of notes and the home note that the music is built around. Knowing it lets a guitarist pick the right chords, a singer decide whether a song fits their voice, and a DJ mix two tracks so they sound harmonious instead of clashing. Apps that detect keys are often paid. This free online song key finder works out the key of a file in your browser, so there is no upload and no sign-up.

It shows the key, a confidence level, the Camelot and Open Key codes used by DJs, the relative major or minor, the notes of the scale, the basic chords in the key, and the key of each section. A chart shows how strongly each of the twelve notes is present, and a button plays the scale so you can check the result by ear.

Camelot wheelB1BF#2BDb3BAb4BEb5BBb6BF7BC8BG9BD10BA11BE12BAbm1AEbm2ABbm3AFm4ACm5AGm6ADm7AAm8AEm9ABm10AF#m11AC#m12A Mixing rules Same number: relative keys Next number: a fifth away Purple: blends with C major
The Camelot wheel numbers the 24 keys so that neighboring positions sound good when mixed. Outer ring B is major, inner ring A is minor.

How to find the key of a song in three steps

  1. Drop the file. MP3, WAV, M4A, FLAC and the audio of video files work.
  2. Wait a few seconds. The tool listens to the notes and compares them with the patterns of the 24 keys.
  3. Read the result. Look at the key, the confidence and the runner-up. Press Play the scale and hum or play along to confirm that the notes feel right.

How the detection works

The audio is split into short overlapping frames. For each frame, the tool finds the strongest frequency peaks between about 110 Hz and 2 kHz, where most melody and harmony lives, and assigns each peak to one of the twelve pitch classes: C, C sharp, D and so on. Adding these up over the whole song produces a chroma profile, which is the bar chart in the results. It shows how much of the music is spent on each note regardless of octave.

The profile is then compared with typical profiles of major and minor keys. These come from listening experiments by Krumhansl and Kessler, and from the corpus-based profiles of Temperley. The tool averages the two sets, and the best-matching of the 24 keys wins. Before any of this, it estimates the tuning of the recording, so a song tuned slightly sharp is not mistaken for the next key up.

Camelot wheel and Open Key codes

DJs often use the Camelot wheel to plan mixes. Each of the 24 keys has a code from 1 to 12 with a letter. B is major and A is minor. The table lists all 24.

CamelotKeyCamelotKey
1BB major1AAb minor
2BF# major2AEb minor
3BDb major3ABb minor
4BAb major4AF minor
5BEb major5AC minor
6BBb major6AG minor
7BF major7AD minor
8BC major8AA minor
9BG major9AE minor
10BD major10AB minor
11BA major11AF# minor
12BE major12AC# minor

Open Key uses the same idea with different labels. Major keys are numbered with a d and minor keys with an m, starting with C major as 1d and A minor as 1m.

Mixing in key

Two tracks sound smooth together when their keys share most of their notes. On the Camelot wheel, that means the same code, the same number with the other letter (the relative major or minor), or one step up or down on the same letter, which is a fifth away. Moving a key up by seven steps raises the energy, and shifting a track by a semitone or two with a pitch control can bring it into a compatible key.

Mixing in key is a guide, not a rule. Rhythm and energy matter just as much, and clashing keys can be a deliberate effect. Use the BPM Detector to match the tempo, and the Audio Speed and Pitch Changer to nudge the key.

Relative keys, modes and ambiguity

Every major key shares its notes with a minor key three semitones below it. C major and A minor both use only the white notes of a piano. When the harmony does not make the home note clear, detection can fall on either. The tool lists the runner-up for this reason. Songs in modes such as Dorian or Mixolydian, which are common in rock, folk and funk, use the notes of a major key but center on another note, and they can match the relative major or the nearest minor.

To decide between two answers, find the note the melody and the bass keep returning to and ending on. That is the home note. Play it, then play the scale, and see which sounds like it belongs.

Songs that change key

Many songs move up a tone or a semitone for the last chorus, and some classical and jazz pieces travel through several keys. The tool analyzes sections of about thirty seconds and shows the best key for each. If the sections agree, the song is in a steady key. If they differ, treat the headline key as an average and read the table to see where the changes happen.

Getting the best result

Common uses

Troubleshooting

Privacy and how it works

Your browser decodes the file into samples, and the page analyzes them in memory with JavaScript. Nothing is uploaded, stored or logged. Closing the tab clears the audio from memory.

Frequently asked questions

How do I find the key of a song?

Drop the song into the box above. The tool listens to the notes in the audio, compares them with the typical note patterns of the 24 major and minor keys, and shows the best match with Camelot and Open Key codes, scale notes and chords. Press Play the scale to check it by ear.

How accurate is the key detection?

For songs with a clear harmony it is often right, and it shows the runner-up and a confidence level so you can judge. It can be wrong on music that changes key, uses modes or unusual scales, is mostly percussion, or has a sparse harmony. Treat it as a strong starting point.

Why does it sometimes pick the relative minor or major?

Relative keys, such as C major and A minor, use exactly the same seven notes, so the music can match either. The tool lists the relative key and tells you when it was the runner-up. To decide, listen to which note feels like home, and check where the melody and bass line settle.

What is the Camelot wheel?

The Camelot wheel is a way of naming the 24 keys with a number from 1 to 12 and a letter. A means minor and B means major. Keys with the same number or neighboring numbers on the same letter sound harmonious when mixed, which makes it popular with DJs.

What is Open Key notation?

Open Key is another numbering of the same wheel, used by some DJ software. Major keys end in d and minor keys end in m. The tool shows both so that you can use whichever your software prefers.

Which keys mix well together?

The same key, the relative major or minor, and the keys one step up or down the wheel on the same letter. The tool lists these for the key it detects.

Can it tell if a song is in a minor or major key?

Yes. It compares the notes with both major and minor patterns. If a song is very ambiguous, the confidence will be low and the relative key will be listed.

What if the song changes key?

The tool also analyzes sections of about thirty seconds and lists the key of each. If the key changes, you will see it in the table. The headline result is the best average over the analyzed audio.

Does it handle songs that are tuned a little flat or sharp?

Yes. It estimates how far the recording is from A = 440 Hz and corrects for it before choosing the notes. This helps with old recordings and sped-up or slowed-down tracks.

How much of the song does it analyze?

Up to four minutes from the middle of the file, which is enough for a reliable result. Shorter files are analyzed in full.

Is my file uploaded to a server?

No. The file is decoded and analyzed on your device, and nothing is sent anywhere.

Can I find the key of a vocal or an instrument recording?

Yes, if the recording has pitched notes over time. A single sustained note gives the note but not a clear major or minor key. A melody or a few chords works best.

Why does the tool show scale notes and chords?

They help you play along. The scale notes are the seven notes of the key. The chords are the seven basic chords built on each of those notes, with Roman numerals, which many songs draw from.

Does it work on drums or spoken audio?

No. Percussion and speech do not have clear musical notes, so there is nothing for key detection to use.

What does the match number r mean?

It is a correlation between the notes in the music and the typical pattern of a key. Values near 1 mean a very close match. Real music usually scores between 0.5 and 0.9. The gap to the runner-up matters more than the number itself.

Can I use the key to transpose a song?

Yes. Once you know the key, you can work out how many semitones to move it. Use the Audio Speed and Pitch Changer to shift the key without changing the tempo.

What can I print or save from the page?

Print / save summary prints the detected key, codes and details, and Copy result copies them as text.

Sources and further reading

Sources were consulted in October 2026. Standards and rules can change, so always check the official page for your situation.

Disclaimer: This free online song key finder estimates the musical key from the notes in your audio, in your browser, and does not upload your file. Detection is an estimate that works best on music with clear harmony. Songs that change key, use unusual scales, or have little pitched sound can be misread, so confirm the key by ear or with an instrument.