How a song key finder works
A key is a home note plus the notes that belong with it. A song in C major is built mostly from C, D, E, F, G, A and B, and feels settled when it lands on C. A key finder recovers that home note and set from the raw sound, with no sheet music.
The method is simpler than it sounds. The audio is cut into short frames, and each frame is turned into a spectrum. Every frequency is then folded onto one of twelve pitch classes: C, C-sharp, D and so on up to B. Every octave of the same note lands in the same bucket, because a low A and a high A are the same pitch class. Adding up the frames gives a twelve-bar profile for the whole song. That is the pitch-class chart you see in the tool.
The second step is a comparison. There are twenty-four reference patterns, one for each major key and each minor key. A major pattern gives a lot of weight to the home note, the fifth and the third, and a little to notes outside the scale. The finder slides the reference through all twelve starting notes and scores how well each pattern fits your profile. The best fit is reported as the key, and the second best is the runner-up.
A detector never hears chords or lyrics. It sees how much energy each note class carries. If that points clearly to one key, the answer is easy. If it points to two, you get a close call, and the runner-up and the chart show it.
Relative major and minor: the most common near miss
Every major key has a relative minor that uses exactly the same seven notes. C major and A minor both use C, D, E, F, G, A and B. Only the home note differs. A song can live in either one, and if the melody avoids strong cadences, the pitch-class chart for the two looks almost identical.
That is why a runner-up key is useful. When the finder says A minor first and C major second, it is telling you the notes are right and the tonic is uncertain. For most uses, such as singing in range or picking a compatible sample, that is enough, because the notes are shared.
| If the finder says | Relative key | Notes the two share | How to tell them apart |
|---|---|---|---|
| A minor (8A) | C major (8B) | A B C D E F G | Does the bass or the last chord settle on A or on C? |
| E minor (9A) | G major (9B) | E F-sharp G A B C D | Does the melody feel resolved on E or on G? |
The table is theory, not a measurement of any recording. On the Camelot wheel relatives share a number, so 8A and 8B always contain the same notes.
All 24 keys and their Camelot codes
The Camelot wheel gives each key a number from 1 to 12 and a letter, A for minor and B for major. Neighbouring numbers are a perfect fifth apart, which is why they blend. The table below lists all 24 keys, with the key signature each uses. Every code the tool shows maps to a row here.
| Camelot | Minor key | Camelot | Major key | Key signature of the pair |
|---|---|---|---|---|
| 1A | A-flat minor | 1B | B major | 5 sharps (B major) |
| 2A | E-flat minor | 2B | F-sharp major | 6 sharps (F-sharp major) |
| 3A | B-flat minor | 3B | D-flat major | 5 flats (D-flat major) |
| 4A | F minor | 4B | A-flat major | 4 flats (A-flat major) |
| 5A | C minor | 5B | E-flat major | 3 flats (E-flat major) |
| 6A | G minor | 6B | B-flat major | 2 flats (B-flat major) |
| 7A | D minor | 7B | F major | 1 flat (F major) |
| 8A | A minor | 8B | C major | No sharps or flats |
| 9A | E minor | 9B | G major | 1 sharp (G major) |
| 10A | B minor | 10B | D major | 2 sharps (D major) |
| 11A | F-sharp minor | 11B | A major | 3 sharps (A major) |
| 12A | D-flat minor | 12B | E major | 4 sharps (E major) |
Harmonic mixing: use the key to blend tracks
Harmonic mixing means choosing the next track so that its notes agree with the one that is playing. Keys that share most of their notes sound smooth together, and keys that clash make a vocal or a lead line sound sour. The Camelot wheel turns that rule into arithmetic.
| Move from 8A | Lands on | What you get |
|---|---|---|
| Same code | 8A (A minor) | Safest blend, identical notes |
| Number +1 | 9A (E minor) | A fifth up: lifts the energy, six of seven notes shared |
| Number -1 | 7A (D minor) | A fifth down: settles the energy, six of seven notes shared |
| Switch letter | 8B (C major) | Relative major, identical notes, a brighter mood |
| Number +7 | 3A (B-flat minor) | One semitone up, a classic energy boost, often needs a pitch shift |
Read the rules as a map of safe options, not a law. A sparse arrangement can cross almost any keys, while a dense chordal track under a vocal needs the closest match. If a blend feels off, the pitch and speed changer moves a track in semitones without changing its speed.
Transpose a song to fit your voice
Singers use the key for a different reason. If a song is in A minor and the chorus climbs too high for you, you do not need to learn it badly. You need a version in a key that suits your range. Move the whole track down by a few semitones and the melody sits where you can reach it.
Each semitone you move changes the Camelot number by seven, wrapping around the wheel. So you can read the new key off the wheel without counting notes. The table starts from A minor (8A) and shows what each shift does.
| Shift | New key | Camelot | Use it when |
|---|---|---|---|
| -3 semitones | F-sharp minor | 11A | A comfortable step down |
| -2 semitones | G minor | 6A | Chorus is slightly high |
| 0 | A minor | 8A | As recorded |
| +2 semitones | B minor | 10A | Verses sit too low |
| +3 semitones | C minor | 5A | A bigger lift for a higher voice |
To do it, run the song through the key finder to learn where you start, choose the shift, then open the pitch and speed changer. It moves pitch from -12 to +12 semitones and speed from 50 to 150 percent independently, so the key changes and the tempo does not. It has quick chips for plus or minus one and two semitones, and you can preview the result and download a WAV.
Shifting a full mix by more than three or four semitones starts to change the character of the voice on it. An instrumental from the vocal remover usually tolerates larger shifts.
Why key detection disagrees with itself
Two finders, or the same finder on two versions of a song, can give different keys. That is rarely a bug. Several honest reasons explain most disagreements.
- Relative keys. The notes are the same, so the detector flips between A minor and C major. See the table above.
- Modal songs. A track in D Dorian has the notes of C major and a D centre, so tools may say C major or D minor.
- Key changes. A song that modulates up a tone for the last chorus has two keys. A whole-file profile blends both, so the answer reflects whichever part is longer or louder.
- Heavy bass or drums. An 808 bass glides and rings at one pitch, which can pull the profile toward that note. Percussion adds noise that belongs to no key.
- Detuned recordings. If a track was recorded a bit sharp or flat of standard tuning, notes fall between two buckets and the profile smears.
In each case, the runner-up key and the chart tell you what is going on. Two bars about the same height at C and A are a relative-key tie. Seven tall bars and five short ones mean a clean major or minor scale, with a mode as the likely twist.
Confirm the key by ear in five minutes
Use the result as a strong hint, then confirm it on an instrument. You do not need much theory for this.
- Play the detected home note on a keyboard, guitar or a free piano app while the song plays. If it sounds like a place to rest, it is probably home.
- Listen to the end of the song. Most songs finish on the tonic chord or note. Hum that note and compare it with your candidate.
- Play the scale from the home note. If all the notes fit the melody, the key is right. If one note sounds wrong, try the relative or the neighbouring key on the wheel.
If the finder gave a close first and second, spend your time on step two. The ending and the bass note settle relative major or minor ties better than any algorithm can.
Try it on a track you can check
A key finder is easier to trust when you can test it. Below is a lo-fi study track we generated with TuneSplit from the prompt: lofi hip hop, chill, rhodes piano, vinyl crackle, instrumental. ACE-Step finished the 2:00 file in 11 seconds. Download it, drop it on the finder, and compare the answer with what you hear on the keys.
We have not published a key for this file. A text prompt does not choose a key, and the model picks one on its own, so the finder is the way to find out. Play the reported home note on a keyboard and see if it fits. Then look at the runner-up. For chilled, piano-led material with soft chords, a relative-key tie is a common outcome, and the ear check above is how to resolve it.
How TuneSplit compares with other song key finders
Tunebat, vocalremover.org and getsongkey.com are the tools that appear first for this search. Their pages block automated checks, so what we could not read is marked not verified. Check the current rules on each site before you rely on a number.
| Tool (as of Oct 2026) | Reads your file or looks it up | Upload needed | Runner-up key and chart | Price |
|---|---|---|---|---|
| TuneSplit | Analyses your file | No, runs in your browser | Yes, both | Free |
| Tunebat | Song database plus an analyser tool | Not verified | Not verified | Basic free; paid plan details not verified |
| vocalremover.org key and BPM finder | Analyses a file | Not verified | Not verified | Not verified |
| getsongkey.com key finder | Analyses a file | Not verified | Not verified | Not verified |
Tunebat has a large database that is quick for popular releases, and each of the others does the core job of returning a key. What TuneSplit adds is the runner-up key, the pitch-class chart that shows the evidence, no upload for a private demo, and neighbouring tools: tempo, pitch change and stem separation.
Privacy and the rest of the toolkit
The key analysis runs fully in your browser. The file is not uploaded, so there is nothing for us to store, delete or use for training. Only analyse audio that you own or have the rights to use.
- BPM finder: the same analyser also gives tempo, with half-time and double-time options and a tap-tempo button.
- Pitch and speed changer: move the song into the key you want.
Checking the key of the other stem is a useful trick. Running the finder on the bass or the other stem leaves out the percussion, which can make the profile cleaner. Separation tools on TuneSplit upload your file to private storage, delete it within 24 hours and never use it for training.
Frequently asked questions
How do I find the key of a song?
Drop an audio file into the finder above. Your browser measures how much of each of the 12 notes appears, compares that profile with major and minor key patterns, and reports the key, its Camelot code and a runner-up. Then confirm it on a keyboard by finding the note the song rests on.
Is the song key finder free?
Yes. The key finder is free and runs in your browser, so it has no upload step and costs no credits. It returns the key, the Camelot code, a runner-up key and a pitch-class chart. The same analyser also gives the BPM with half-time and double-time alternatives.
Is my audio uploaded?
No. The analysis happens on your device, so the file never reaches our servers. That makes it suitable for unreleased demos and client mixes. Only analyse audio that you own or have the right to use, whichever tool you choose.
What is a Camelot code?
A Camelot code is a label from 1A to 12B for one of the 24 keys. The number sits on a wheel and the letter shows minor (A) or major (B). Keys with the same number share all their notes, and neighbouring numbers share six of seven. For example, 8A is A minor and 8B is C major.
What is the difference between relative major and minor?
A relative pair uses the same seven notes but starts from different home notes. C major and A minor are relatives. On the Camelot wheel they share a number, 8B and 8A. If a finder reports one and lists the other as runner-up, the notes are right and only the tonic is uncertain.
Why does the key finder give a different key than another site?
Usually the two keys are relatives, or the song is modal, changes key, or has heavy bass that skews the note profile. Different edits of one song can also differ. Look at the runner-up key and the pitch-class chart, then confirm with an ear check on the ending.
How do I change a song to a different key?
Find the current key with the finder, decide how many semitones to move, then use the pitch and speed changer. It shifts pitch from -12 to +12 semitones without changing speed, previews the result and downloads a WAV. One semitone up moves the Camelot number by seven.
Can it detect a key change in the middle of a song?
It reports one key for the whole file, so a song that modulates gets whichever key dominates. If you suspect a key change, trim the file into sections in an audio editor and run each section separately. The pitch-class chart for a blended file often shows extra tall bars.
Does it work for songs with no vocals, or for a single instrument?
Yes. Instrumentals and solo instruments work well when they play melody and chords. Drum loops with no pitched sound have no key to find, so the result will be unreliable. A bass line or piano part alone gives a clearer reading than a full noisy mix.
How accurate is the key detection?
It is reliable on tracks with a clear tonal centre, such as pop with steady chords, and less certain on modal, atonal or key-changing music. We have not published an accuracy percentage. The runner-up key and the chart are there so you can judge each result, then verify by ear.
Does it work on iPhone and Android?
Yes. It runs in a modern mobile browser with nothing to install. Choose a file from your phone and the analysis happens on the device. Very long tracks may take longer on a phone than on a laptop and there is no app to download.
Which file types can I use?
MP3, WAV, M4A, FLAC and other common audio files that your browser can decode. A normal MP3 is usually fine for key detection, because the tool only needs the pitch content of the music, though lossless files carry slightly more detail. Longer files take a little longer.