Song key finder
Drop in a song to detect its musical key, Camelot code and the keys that mix well with it.
Drop an audio file here
MP3, WAV, M4A, OGG or FLAC. The file is analyzed on your device and never uploaded.
Using the song key finder
- 1Drop a song onto the box, or choose an audio file from your device.
- 2Wait a few seconds while the notes in the song are measured.
- 3Read the key, its Camelot code and the keys that mix well with it.
Related tools
What a song's key is
The key of a song is its home base: one note, the tonic, that the melody and chords keep returning to, and a scale built on it. In a major key the scale has a bright, settled sound; in a minor key it sounds darker. With twelve possible tonics and two modes there are 24 keys.
Every major key shares its notes with one minor key, its relative minor, three semitones lower. C major and A minor use exactly the same seven notes and differ only in which note feels like home. Knowing the key tells you which chords will fit, which scale to solo with, and whether a capo or transposition will suit a singer. The circle of fifths shows how the keys relate.
How key detection works, and its limits
The tool splits the audio into short slices, finds the strongest frequencies in each, and folds them onto the twelve note names regardless of octave. That gives a profile of how much each note is used across the song, shown in the bar chart. The profile is then compared with listening-test profiles for all 24 keys, which capture how strongly each scale degree belongs to a key. The closest match wins.
It works best on music with a clear tonal center. Songs that modulate get a single answer that blends their keys; only the first four minutes are analyzed. Modal music, such as a Dorian or Mixolydian groove, often reads as the related major or minor key. Heavily percussive tracks and detuned recordings lower the confidence. When the result and the relative key are close, trust your ear: hum the note the song resolves to.
Camelot wheel for DJs
Harmonic mixing means playing tracks whose keys sit near each other, so the overlap sounds smooth. On the Camelot wheel you can move to the same code, one number up or down, or switch between A and B at the same number.
| Code | Minor (A) | Major (B) |
|---|---|---|
| 1 | G♯ minor (1A) | B major (1B) |
| 2 | D♯ minor (2A) | F♯ major (2B) |
| 3 | B♭ minor (3A) | D♭ major (3B) |
| 4 | F minor (4A) | A♭ major (4B) |
| 5 | C minor (5A) | E♭ major (5B) |
| 6 | G minor (6A) | B♭ major (6B) |
| 7 | D minor (7A) | F major (7B) |
| 8 | A minor (8A) | C major (8B) |
| 9 | E minor (9A) | G major (9B) |
| 10 | B minor (10A) | D major (10B) |
| 11 | F♯ minor (11A) | A major (11B) |
| 12 | C♯ minor (12A) | E major (12B) |
Questions
How do I find the key of a song?
Drop the audio file here and the tool measures how often each of the twelve notes sounds, then matches that pattern to all 24 major and minor keys. By ear, find the note that feels like home at the end of a phrase, then check whether the chords around it sound major or minor.
How accurate is automatic key detection?
It is right for most pop, rock and dance tracks with a clear tonal center. It struggles with songs that change key, modal or very chromatic music, and tracks that are mostly drums. The most common miss is the relative key, such as A minor instead of C major, because both use the same notes.
Is my audio file uploaded?
No. The file is decoded and analyzed inside your browser on your own device, and nothing is sent to a server.
What is a Camelot key?
The Camelot system numbers the circle of fifths from 1 to 12, with A for minor keys and B for major keys. Tracks with the same code, or a code one number away, usually mix together without clashing.
What is the difference between a key and a scale?
A scale is a set of notes in order. A key is the tonal center of a piece built on that scale, so a song in C major uses the C major scale and treats C as home.