Song key finder and detectorBeta
Free song key finder
Drop a song and find out what key it is in, with its Camelot code, the relative key and the keys that mix well. It runs on your device, so nothing is uploaded.
- Free
- No sign-up
- Runs in your browser
- Nothing is uploaded
Loading the tool
How it works
- 01
Drop your song
Audio or a video file your browser can play. You can add many songs and get one row for each.
- 02
Read the key
We listen to the notes of the whole song and show the most likely key, the relative major or minor and the Camelot code.
- 03
Use it
See which keys mix with it on the wheel, hear the tonic chord and the scale to check it on your keyboard, or work out the shift to sing the song in your range.
How a key finder works
A song in C major uses mostly the notes C, D, E, F, G, A and B, and it keeps coming home to C. A key finder, or key detector, hears that. It splits the audio into short windows, finds the strongest pitches in each, and adds them into a twelve bar profile, one bar for each note of the scale. This profile is called a chromagram.
Then it compares the profile with the shape of a typical major song and a typical minor song, shifted to each of the twelve notes. The closest of the twenty-four matches is the key. We also estimate how far the recording is tuned from standard pitch, so a song that sits a few cents flat does not smear between two notes, and we give a little weight to the bass note, because songs tend to rest on their tonic.
The templates come from music research: Ibrahim Sha'ath's profiles, tuned on dance music, which build on the probe tone ratings of Krumhansl and Kessler. They work best on songs with clear harmony, chords or a melody. A pure drum loop or a noisy texture has no key to find, and we say so.
The Camelot wheel and harmonic mixing
DJs use a simple map to pick tracks that sound good back to back. The Camelot wheel gives each of the twenty-four keys a number from 1 to 12 and a letter. A is minor, B is major, so 8A is A minor and 8B is C major. Moving one step on the wheel, or switching between A and B on the same number, gives a mix that stays in harmony.
On this page the wheel lights up your song and the keys that mix with it: the same key, one step up for a lift in energy, one step down for a calmer move, and the relative major or minor. We also show the Open Key name, the Traktor way of writing it, so that you can read it either way.
This is the idea behind harmonic mixing. It does not replace your ear, but it makes it much faster to find tracks that will not clash.
Relative keys and songs that sit between two keys
C major and A minor use exactly the same notes. They are relative keys: A minor is the relative minor of C major, and C major is the relative major of A minor. A detector sometimes cannot tell which one the song really lives in, especially when the chords wander between them. We show both, with the relative key next to the result, because a human listener would hesitate too.
If a song changes key in the middle, the result is the key that fits the song as a whole. A track that modulates up a tone for the last chorus will still read as its main key. For a precise map of every section you need a chord detector.
The confidence label tells you how sure we are. High means the notes fit one key much better than any other. Low means two keys are close, or that the audio has few pitched notes.
Singers: find the key, then move it
If you want to sing a song and the chorus is too high, you need two things: the key of the song and the key that fits your voice. Drop the song, read the key, then pick the key you want in the shift box. We tell you how many semitones to move it, up or down by the shortest way, and which Camelot code you land on.
This page does not change the audio. To hear the song in the new key, use any pitch shifter or capo and the shift in semitones that we show. Guitarists can read a plus shift as the fret for a capo, and pianists as the number of keys to move.
Producers: match samples and loops to your key
A loop in the wrong key sounds wrong even at the right tempo. Drop a handful of loops and the table lists the key of each one next to its BPM, so you can pick the ones that fit your project or find the ones that are one step away on the wheel.
If a vocal sample is a semitone off, you can shift it by the number we show. And if your own track has no key written down, the scale of the detected key tells you which notes are safe to play over it.
Tips for a better reading
Use a part of the song with chords or a melody. A long intro of drums and noise holds little harmony. Drop the full song when you can: more music means more evidence.
For a sample, give us at least a few seconds with a held note or a chord. A single short hit is not enough to find a key. A bass line on its own gives the tonic well, but it can be unclear if the key is major or minor.
Whenever the answer matters, press Hear the tonic chord or Hear the scale and play along on a keyboard or a guitar. Your ear is the final judge.
Private by design
The song is decoded and analysed in your browser. It is never uploaded and there is no queue. We only count anonymous usage, that the tool was used, the file type and the length in minutes, never the file or its name. It is free, with no sign-up, and it is a beta, so check the answer by ear with the chord and scale buttons.
What you get
- Key of any audio file, major or minor, from the whole song
- Camelot code, Open Key code and the relative major or minor
- A Camelot wheel that highlights the keys that mix well
- Notes of the scale of the key
- Hear the tonic chord and the scale to check the key by ear
- Semitone shift to move the song to another key
- BPM of each song in the same table, with a CSV download
- Free, no sign-up, no upload, no daily limit
Key finder compared, as of October 2026
| OBRA key finder | Song database sites | Typical upload analyzers | |
|---|---|---|---|
| Works on your own file | Yes, demos and unreleased tracks too | No, you look a released song up by name | Yes |
| Where the audio goes | Nowhere, it is analysed in your browser | Nothing is sent, you type a title | Usually sent to a server |
| Camelot and relative key | Both, with a wheel | Varies | Varies |
| Check by ear | Tonic chord and scale on one button | No | No |
| Sign-up | None | Sometimes for extras | Sometimes |
Song database sites such as Tunebat list the key of released songs. This tool finds the key of your own file. Different questions, both useful.
Frequently asked questions
How do I find the key of a song?
Drop the audio file on the page. We listen to the notes of the whole song and show the most likely key, the Camelot code and the relative major or minor, usually in a few seconds.
What key is this song in?
Drop the file and read the result: the song key, major or minor. The key finder works on your own files, so it also works for demos and unreleased songs. For a released song you can compare it with the key you know.
Is this key finder free?
Yes. It is free, with no sign-up and no daily limit. It is in beta, so we are still improving it.
Is my song uploaded?
No. The song is analysed in your browser, on your device. We only count anonymous usage such as the file type and the length in minutes.
What is the Camelot wheel?
A map of the twenty-four keys with a code from 1 to 12 and a letter, A for minor and B for major. Keys that are neighbours on the wheel, or the same number with the other letter, mix well. 8A is A minor and 8B is C major.
What is the relative key?
The major and minor key that share the same notes, such as C major and A minor. They have the same number on the Camelot wheel. Songs often sit between the two, so we show both.
How accurate is it?
On songs with clear harmony it is usually right, or lands on the relative key or a close neighbour. It is less sure on drum loops, noise and very sparse music. The confidence label says how sure we are, and you can check it by ear with the chord and scale buttons.
Can it find the key of a song with a key change?
It reports the key that fits the song as a whole. A song that changes key in the middle can read as its main key or as a close one. It does not map every section.
How do I move a song to a key I can sing?
Pick your target key in the shift box under the result. We show the number of semitones to move, and the Camelot code you land on. Use it with a pitch shifter or a capo.
Is this a key and BPM finder?
Yes, both in one. Every song gets a key and a BPM in the same table, with the half and double time. The BPM finder page puts the tempo first.
Which files work?
MP3, WAV, FLAC, M4A, OGG and video files that your browser can play, up to 10 minutes each. Many songs at once is fine and you can download a CSV.
More free music tools
- BetaBPM finderFind the BPM of any song, with half and double time and a click to check it.
- BetaTap tempoTap a beat to measure its BPM and get delay times in milliseconds.
- BetaChord progression generatorPick a key, style and mood, hear the chords, lock the ones you like and download them as MIDI.
- BetaAudio to MIDITurn a recording into MIDI notes you can open in any DAW.
Finish the track
Happy with the result?
Master it on OBRA Audio Mastering: three masters measured in LUFS, free to listen, in your browser.