Free · No sign-up · Runs in your browser

Song Key Finder

Find the musical key of any song. Upload a track and get its key plus the Camelot code for harmonic mixing — analysed in your browser, nothing uploaded.

Powered by the Web Audio API. Your file never leaves your device.

Musical keys & Camelot codes

DJs use the Camelot wheel for harmonic mixing: tracks whose codes match — or sit one number apart — blend without clashing. Major keys end in B, minor in A, and each major key shares its number with its relative minor. Here's the full wheel.

CamelotMajor keyRelative minor
1B / 1AB MajorG# Minor
2B / 2AF# MajorD# Minor
3B / 3AC# MajorA# Minor
4B / 4AG# MajorF Minor
5B / 5AD# MajorC Minor
6B / 6AA# MajorG Minor
7B / 7AF MajorD Minor
8B / 8AC MajorA Minor
9B / 9AG MajorE Minor
10B / 10AD MajorB Minor
11B / 11AA MajorF# Minor
12B / 12AE MajorC# Minor

How key detection works

  1. 1. Upload a track

    Drop an MP3, WAV, FLAC, OGG, or M4A. It's decoded and analysed locally in your browser — the audio never leaves your device.

  2. 2. We read the notes

    The analyser builds a chromagram — how much energy sits on each of the 12 pitch classes — across the whole track.

  3. 3. Get key + Camelot

    That note profile is matched against all 24 major and minor keys (Krumhansl-Schmuckler). You get the key and its Camelot code for mixing.

FAQ

What is a song's key?

The key is the group of notes a song is built around — its tonal home base. It's named by a root note and a mode, like C Major or A Minor, and it tells you which notes and chords sound consonant together.

How do I find the key of a song?

Upload the audio file here. The tool analyses the distribution of notes across the track and matches it to the most likely of the 24 major and minor keys, then shows the key plus its Camelot code for DJ mixing.

What is the Camelot wheel / Camelot code?

It's a DJ system that maps every key to a code like 8B or 5A. Tracks with the same number — or one number apart — mix harmonically without clashing. Major keys end in B, minor keys in A, and a key shares its number with its relative minor (C Major = 8B, A Minor = 8A).

Is my audio uploaded to a server?

No. Detection runs entirely in your browser with the Web Audio API. Your file is decoded and analysed on your device and never leaves it.

How accurate is key detection?

For songs with clear tonal content it's usually right, or lands on the relative major/minor (which share the same notes and Camelot number). Tracks that change key, are atonal, or are mostly drums are harder — treat the result as a strong starting point and trust your ear.

What audio formats are supported?

Anything your browser can decode: MP3, WAV, FLAC, AIFF, OGG, and M4A. Files under about 25 MB work best; only the first 60 seconds are analysed, which is enough to lock onto the key.

Find any song's key in seconds. No sign-up.

Upload a track and get the key + Camelot code — all in your browser.