Key Finder

The key and BPM of any song in seconds. Free, no upload.

Drop a song, loop or MIDI file

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

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

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.

NumberMinor key (A)Major key (B)
11A G♯ minor or A♭ minor1B B major
22A D♯ minor or E♭ minor2B F♯ major or G♭ major
33A B♭ minor3B D♭ major or C♯ major
44A F minor4B A♭ major
55A C minor5B E♭ major
66A G minor6B B♭ major
77A D minor7B F major
88A A minor8B C major
99A E minor9B G major
1010A B minor10B D major
1111A F♯ minor11B A major
1212A C♯ minor12B 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.

  1. Open the Piano roll of an instrument: right-click its channel button in the Channel rack and choose Piano roll.
  2. Right-click the note icon in the Piano roll's toolbar. Its name is Snap to scale.
  3. 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.
  4. 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♭.
  5. 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.

  1. Drop the sample on the key finder and read its key.
  2. 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.
  3. 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?

Drop the song on Mix Elite's free Key Finder at the top of this page. It shows the key in a few seconds, with its Camelot code and its BPM. Press Chord to hear the key's home chord over your song: if it sounds right, that's the key. Your file never leaves your device.

Is the key finder free? Does it upload my song?

It's free, with nothing to sign up for. Your file is opened in your own browser, on your own device, and it's never uploaded. That makes it safe for songs you haven't released yet.

How accurate is the key finder?

On 404 full songs the finder had never heard before, it named the exact key for 81 of every 100 and the right 7 notes for 88. When it says it's sure, it's right 92 times out of 100. Loops are harder: on melodic loops it named the exact key about 2 times out of 3. When it isn't sure, it says so and shows the 2 or 3 keys that fit best, so you can check each one by ear.

What is a Camelot code?

It's a short code DJs use to mix songs in key, like 8A for A minor. The number goes from 1 to 12, A means a minor key and B means a major key. Songs with the same code, the same number, or numbers one apart mix smoothly.

What does "Could be" mean?

It means the finder isn't sure, often because the file plays only a few notes. Instead of guessing, it shows the 2 or 3 keys that fit best, best first. Tap each one and press Chord to hear which one fits your song.

How can I tell if a song is major or minor?

Major songs sound bright and happy. Minor songs sound sad, serious or dark. A major key and its relative minor share the same notes, so listen for the home note, the one the song keeps coming back to and ends on. In the key finder, tap the relative key and press Chord to compare the two.

Why does it say minor when my song sounds happy?

A major key and its relative minor use the same notes, and most beats today are minor, so the finder leans minor. Tap the relative major under the answer and press Chord. If it sounds more like home, your song is in that major key.

Can I find the key of a sample or a loop?

Yes. Drop the loop on the key finder, just like a song. Loops with chords or a bass line work best. A loop with only a few notes can fit more than one key, so the finder may show 2 or 3 picks. For a single 808 or bass hit, use Mix Elite's free 808 Key Finder.

Can it find the key of a MIDI file?

Yes. Drop the MIDI file (.mid) on the key finder. It reads every note, how long each one plays and which note is in the bass, then shows the key. The BPM comes from the file's name or the tempo saved in the file.

How do I change the key of a song in FL Studio?

For MIDI, open the Playlist, press Alt+P to show the Picker panel, hold Ctrl and click the patterns you want, then right-click and pick Transpose. To move one pattern, open its Piano roll, press Ctrl+A, then press Shift+Up or Shift+Down once for each semitone. For a sample or a vocal, double-click it and turn the PITCH knob under Time stretching.

What files can I use?

MP3, WAV, FLAC, M4A and most other audio files, plus MIDI files (.mid). Files up to 20 minutes long work, and a full song gives the surest answer.

Does it show the BPM too?

Yes. The BPM shows next to the key, with a half or double chip when the song could also be counted at half or double speed, like 70 or 140. To check a tempo by ear with a click, use Mix Elite's free BPM Finder.

Keep going

Last updated November 23, 2026. Made by Mix Elite, the team behind the Mix Elite | FL Studio Tips YouTube channel.