MuseGen
Free Tools

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

Detect the musical key and scale of any track, then use its relative key, compatible keys and diatonic chords for harmonic mixing, remixing and songwriting.

Drag & drop an audio file

or click to browse

Supports MP3, WAV, OGG, FLAC and more

Max duration: 7 minutes

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.

BPM Detector

Find the tempo of any track and get its BPM for DJing, remixing and music production.

Explore

Audio to MIDI

Convert any audio into editable MIDI notes for your DAW.

Explore

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.

Song key finder result showing C major, its relative key A minor, compatible keys and the seven chords in the key
A song key finder result: the key, its relative minor, harmonically compatible keys and the diatonic chords.

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.

Camelot codes for common keys
KeyCamelot codeRelative key
C major8BA minor (8A)
G major9BE minor (9A)
D major10BB minor (10A)
A major11BF♯ minor (11A)
F major7BD minor (7A)
B♭ major6BG minor (6A)

Key Detector FAQ

Sources & further reading

The concepts, formats and algorithms behind this tool, with their original references.

Last updated: