Drop a song, loop or MIDI file
Finding the key...
A minor
Show A minor in the Piano roll
- Open the Piano roll and right-click the note icon in its toolbar.
- Pick Minor Natural (Aeolian), then pick A as the Root note.
- Left-click the note icon to turn on Snap to scale. New notes then land in the key.
Mix Elite's free Key Finder shows the key of any song, loop or MIDI file in a few seconds, along with its Camelot code, its relative major or minor and its BPM. It reads MP3, WAV, FLAC, M4A and MIDI files right in your browser, so nothing is uploaded. You can hear the key's chord play over your song to check it, and when the finder isn't sure, it shows the 2 or 3 keys that fit best.
How to use the key finder
- Drop your file on the box above, or press Choose a file. Songs, beats, loops and MIDI files all work, and your file never leaves your device.
- Read the key. It shows up big, like A minor, with its Camelot code next to it and its relative key under it. The BPM sits on the right, or under the key on a phone.
- Check it by ear. Press Chord to hear the key's home chord over the loudest part of your song, in time with the beat. If it sounds right, you've found the key. Press Scale to hear its 7 notes.
- Got 2 or 3 keys? The finder isn't sure, so it shows the keys that fit best, best first. Tap each one and press Chord. The one that sounds right over your song is your key.
Under the answer, FL Studio steps shows how to set FL Studio's Piano roll to the key and how to move a sample into your song's key. The link next to the buttons opens the 7 chords of the key in Mix Elite's free Scale Finder.
How the key finder works
The key finder listens for the notes in your file, the way your ear picks out a chord. It checks which notes ring out the most and which note the bass keeps coming back to. Then it finds the 7 notes that fit them best, and the home note: the one the song feels settled on. Those two things make the key, like C♯ minor.
We tested the finder on 404 full songs it had never heard before: EDM tracks, beats and finished mixes. It named the exact key for 81 of every 100 songs, and the right 7 notes (the key or its relative major or minor) for 88. For 95 of every 100, the key it showed shares at least 6 of its 7 notes with the real key, so the scale on screen fits the song. When it says it's sure, it was right 92 times out of 100.
Full songs give the surest answer, because the finder hears more of the chords and the bass. Short loops are harder, since a loop with only a few notes can fit more than one key. When the finder isn't sure, it says so and shows the 2 or 3 keys that fit best, instead of guessing. A MIDI file is easier: the finder reads every note and the bass line straight from the file.
The BPM comes from the beat. The finder lines up every kick, snare and hat and picks the tempo that fits them best, just like Mix Elite's free BPM Finder. A MIDI file has no sound to measure, so the finder shows the BPM in its file name, or the tempo saved in the file.
What is the key of a song?
A song's key is two things: the 7 notes it uses, and the one note that feels like home. Most beats and pop songs stay in one key from start to finish. A song in A minor uses the notes A, B, C, D, E, F and G, and it sounds finished when it lands on A.
Knowing the key comes first in FL Studio, too. Max, the founder of Mix Elite, checks it before he tunes a vocal in Mix Elite's free 4.5-hour FL Studio course:
“You need to of course check what's the scale of your song or what's the scale of your recorded vocals.”
Max, founder of Mix Elite, in Mix Elite's free 4.5-hour FL Studio course
Relative major and minor keys
Every major key shares its 7 notes with one minor key, called its relative minor. C major and A minor both use only the white keys of the piano. The difference is the home note: C major feels at home on C, and A minor feels at home on A.
- To find the relative minor, count down 3 piano keys from the home note of the major key, black keys included. From C, that's B, B♭ and A, so the relative minor of C major is A minor.
- To find the relative major, count up 3 piano keys from the home note of the minor key. From A, that's A♯, B and C, so the relative major of A minor is C major.
The key finder shows the relative key under every answer. Tap it to switch, then press Chord to hear which one sounds like home in your song.
Major or minor: how to tell
Major keys sound bright and happy. Minor keys sound sad, serious or dark. In today's beats, from trap and drill to house, minor keys are the most common.
A major key and its relative minor use the same notes, so the clue is the home note. Hum the note your song keeps coming back to, the one it sounds finished on. If it's the home note of the minor key, your song is minor.
The key finder leans toward minor keys, because a major key and its relative minor share every note, and most beats today are minor. If it says A minor but your song sounds bright and happy, tap the relative key, C major, and press Chord. If C major sounds more like home, your song is in C major.
Camelot keys for DJs
Camelot codes are how DJs mix songs in key. Every key gets a number from 1 to 12 and a letter: A for a minor key, B for a major key. The key finder shows the code next to every key, like 8A for A minor.
- Same code: two songs in 8A are in the same key, so they mix smoothly.
- Same number: 8A (A minor) and 8B (C major) are relative keys with the same 7 notes.
- One number away: 8A mixes well with 7A (D minor) and 9A (E minor), because their keys share 6 of their 7 notes.
| Number | Minor key (A) | Major key (B) |
|---|---|---|
| 1 | 1A G♯ minor or A♭ minor | 1B B major |
| 2 | 2A D♯ minor or E♭ minor | 2B F♯ major or G♭ major |
| 3 | 3A B♭ minor | 3B D♭ major or C♯ major |
| 4 | 4A F minor | 4B A♭ major |
| 5 | 5A C minor | 5B E♭ major |
| 6 | 6A G minor | 6B B♭ major |
| 7 | 7A D minor | 7B F major |
| 8 | 8A A minor | 8B C major |
| 9 | 9A E minor | 9B G major |
| 10 | 10A B minor | 10B D major |
| 11 | 11A F♯ minor | 11B A major |
| 12 | 12A C♯ minor | 12B E major |
Each number pairs a minor key with its relative major. Keys one number up or down mix well too, and the wheel goes around, so 12 sits next to 1.
How to use the key in FL Studio
Show the key in the Piano roll
Once you know your key, let FL Studio show it to you. Scale highlighting shades the notes of your key in the Piano roll, so you can see the safe notes at a glance. These steps follow Image-Line's FL Studio manual.
- Open the Piano roll of an instrument: right-click its channel button in the Channel rack and choose Piano roll.
- Right-click the note icon in the Piano roll's toolbar. Its name is Snap to scale.
- Pick the scale first: Major (Ionian) for a major key, or Minor Natural (Aeolian) for a minor key. FL Studio lists the root notes only after you pick a scale.
- Pick the first note of your key as the Root note. FL Studio names the black keys with sharps only, so pick D# for E♭, G# for A♭ and A# for B♭.
- Left-click the note icon to turn on Snap to scale. Every note you draw or move then lands in the key.
The key finder fills these in for you: open FL Studio steps under the answer, and it names the scale and the root note to pick for your key.
Notes already in the Piano roll don't jump into the key on their own. Press Ctrl+A to select them all, move them one key up and back down, and they snap into the key.
Tune a sample to your song's key
A sample in another key clashes with your song. Move it up or down by the right number of semitones, and it fits. One semitone is the very next key on the piano.
- Drop the sample on the key finder and read its key.
- Open FL Studio steps and pick your song's key under Fit this sample to your song. The finder shows how far to move it, like up 3 semitones.
- In FL Studio, double-click the sample to open its channel. Under Time stretching, turn the PITCH knob to the number the finder shows, like +300 cents for 3 semitones up. The sample changes key but keeps its length, so it stays in time.
A minor sample can still fit a major song. An A minor loop already fits a song in C major, because the two keys share every note, so the finder tells you to leave it as it is. It always picks the smallest move.
Tuning a vocal? FL Studio's pitch corrector, Newtone, needs the key too: pick the same scale and root note in it.
Watch: let FL Studio show the scale you're in
This short from Mix Elite shows FL Studio's own scale helper: click the small arrow at the top left of the Piano roll, go to View, then Scale highlighting, and pick Automatic. Place at least three notes, and FL Studio highlights the scale it thinks you're in. It reads the notes in your Piano roll, so for a song or a sample, drop the file on the key finder above.
Frequently asked questions
How do I find the key of a song?
Is the key finder free? Does it upload my song?
How accurate is the key finder?
What is a Camelot code?
What does "Could be" mean?
How can I tell if a song is major or minor?
Why does it say minor when my song sounds happy?
Can I find the key of a sample or a loop?
Can it find the key of a MIDI file?
How do I change the key of a song in FL Studio?
What files can I use?
Does it show the BPM too?
Keep going
Last updated November 23, 2026. Made by Mix Elite, the team behind the Mix Elite | FL Studio Tips YouTube channel.