Skip to content
TuneSplit

Free Song Key Finder With Camelot Code

You have a track and you need to know what key it is in, to sing along, to write a harmony, to sample it or to blend it into a DJ set. Drop the file into the finder and your browser listens to it, then reports the key, the Camelot code and a second-best guess. The file never leaves your device.

Drop a song to find its BPM & keyRuns in your browser · no upload, no limit
Private: analysis happens on your device.
Tap tempo: Spectral-flux tempo + Krumhansl key profiles
Tempo + key · Sunlight A
112BPM (prompted)
4/4meter
2:30length

Runs in your browser — the file never leaves your device.

TuneSplit finds the key of a song by measuring how much of each of the 12 notes is in your audio and matching that profile against major and minor key patterns. It returns the key, its Camelot code, a runner-up key and a pitch-class chart. It runs in your browser, so the file is never uploaded.

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 saysRelative keyNotes the two shareHow to tell them apart
A minor (8A)C major (8B)A B C D E F GDoes 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 DDoes 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.

CamelotMinor keyCamelotMajor keyKey signature of the pair
1AA-flat minor1BB major5 sharps (B major)
2AE-flat minor2BF-sharp major6 sharps (F-sharp major)
3AB-flat minor3BD-flat major5 flats (D-flat major)
4AF minor4BA-flat major4 flats (A-flat major)
5AC minor5BE-flat major3 flats (E-flat major)
6AG minor6BB-flat major2 flats (B-flat major)
7AD minor7BF major1 flat (F major)
8AA minor8BC majorNo sharps or flats
9AE minor9BG major1 sharp (G major)
10AB minor10BD major2 sharps (D major)
11AF-sharp minor11BA major3 sharps (A major)
12AD-flat minor12BE major4 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 8ALands onWhat you get
Same code8A (A minor)Safest blend, identical notes
Number +19A (E minor)A fifth up: lifts the energy, six of seven notes shared
Number -17A (D minor)A fifth down: settles the energy, six of seven notes shared
Switch letter8B (C major)Relative major, identical notes, a brighter mood
Number +73A (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.

ShiftNew keyCamelotUse it when
-3 semitonesF-sharp minor11AA comfortable step down
-2 semitonesG minor6AChorus is slightly high
0A minor8AAs recorded
+2 semitonesB minor10AVerses sit too low
+3 semitonesC minor5AA 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.

  1. 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.
  2. 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.
  3. 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.

Lo-fi StudyPrompt: lofi hip hop, chill, rhodes piano, vinyl crackle, instrumentalACE-Step · 2:00 long · ready in 11 s · unedited output

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 upUpload neededRunner-up key and chartPrice
TuneSplitAnalyses your fileNo, runs in your browserYes, bothFree
TunebatSong database plus an analyser toolNot verifiedNot verifiedBasic free; paid plan details not verified
vocalremover.org key and BPM finderAnalyses a fileNot verifiedNot verifiedNot verified
getsongkey.com key finderAnalyses a fileNot verifiedNot verifiedNot 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.

Related tools