Song Key Finder & Scale Detector
Find the key of any song in seconds. Upload a track or paste a link and our free song key finder detects the musical key and scale, its relative key, DJ-compatible (Camelot) keys and the diatonic chords — everything you need for harmonic mixing, remixing and songwriting.
Find the key of any song
How to find the key of a song
Detect the key of any track in three quick steps — no music theory required.
Upload your audio
Drag and drop an audio file or click to choose a track from your device.
Detect the key
Hit detect and our song key finder analyzes the melody and harmony to identify the key.
Read your results
See the detected key and scale, its relative and compatible keys, and the diatonic chords in that key.
Why use our song key finder?
Our key detector analyzes any track and gives you everything you need to mix, remix and write in the right key.
Accurate key detection
Automatically detect the musical key and scale of any song from its melody and harmony.
Relative & compatible keys
Instantly see the relative key and DJ-compatible (Camelot) keys for smooth harmonic mixing.
No music theory needed
Get the key, scale and chords in clear, easy-to-read results — even if you don't read music.
Diatonic chords included
See the seven diatonic chords in the detected key to jump-start chord progressions and songwriting.
Wide format support
Analyze MP3, WAV, OGG, FLAC and more, from a file or a direct audio link.
Free & unlimited
Detect the key of as many songs as you want, online and completely free.
Explore more music analysis tools
Try more free tools for music analysis, production and songwriting.
What is the key of a song?
The key of a song is the group of notes it is built around — a tonic note plus a scale, either major or minor. The key decides which notes and chords sound "at home" in the track and sets its overall mood: major keys tend to feel bright and uplifting, while minor keys feel darker or more emotional. Knowing a song's key is the foundation for mixing tracks together, transposing them, playing along on an instrument or writing a new part that fits.
How our song key finder works
Upload an audio file or paste a direct link and the tool analyzes the melody and harmony of your track right in your browser — nothing is uploaded to a server. It measures how strongly each of the twelve pitch classes appears, then matches that profile against every major and minor key to find the most likely key and scale. Detection works best on clear, melodic recordings; percussion-only or heavily atonal audio may not contain enough pitch information.
Using the key for DJ mixing and songwriting
Once you know the key, the results also show its relative key and DJ-compatible (Camelot) keys, so you can build harmonic mixes and mashups that blend smoothly without clashing. For producers and songwriters, the seven diatonic chords of the detected key give you an instant, theory-correct palette to start chord progressions, basslines and melodies that stay in key.
Song Key Finder Results Explained: Relative Keys, Camelot Codes and Transposing
A song key finder gives you more than a key name. This section explains how to read each part of the result and how to use it when you mix, remix or sing a song in a different key.

Why a major key and its relative minor are easy to confuse
Every major key shares all seven notes with its relative minor — C major and A minor use exactly the same notes. The song key finder decides between them by looking at which note the melody and bass treat as home. If a result feels wrong, check the relative key shown next to it: a song that starts and ends on A rather than C is usually in A minor.
Camelot codes for harmonic mixing
Many DJs use the Camelot wheel, which gives each key a number and a letter (A for minor, B for major). Tracks with the same code, one number up or down, or the same number with the other letter blend without clashing. The compatible keys in the result follow these rules, so you can choose the next track in a harmonic mix straight from the list.
Changing the key of a song
Once you know the key, you can move a track to another key with MuseGen's Pitch Changer, which shifts the pitch by semitones without changing the tempo. Each semitone moves the key one step around the chromatic scale, so shifting a C major song up 2 semitones puts it in D major.
| Key | Camelot code | Relative key |
|---|---|---|
| C major | 8B | A minor (8A) |
| G major | 9B | E minor (9A) |
| D major | 10B | B minor (10A) |
| A major | 11B | F♯ minor (11A) |
| F major | 7B | D minor (7A) |
| B♭ major | 6B | G minor (6A) |
Key Detector FAQ
Sources & further reading
The concepts, formats and algorithms behind this tool, with their original references.
- Key (music) – Wikipedia — musical keys and major/minor tonality
- Relative key – Wikipedia — how relative major and minor keys are paired
- Diatonic and chromatic – Wikipedia — diatonic notes and the chords built from a key's scale
- Krumhansl & Kessler (1982), Psychological Review 89(4) — the key profiles our detector matches the track's pitch distribution against
- Camelot Wheel – Mixed In Key — the Camelot system DJs use to find compatible keys for harmonic mixing
Last updated:
Create original music in any genre using advanced MuseGen technology.