SONG KEY FINDER

Key finder

Find the musical key of a song in your browser. Get the key, its relative major or minor, the Camelot code for DJ mixing, and how sure the analysis is.

Try a sample

Find the key of a short original loop: four chords with bass and drums.

Find the key of a song in three steps

  1. Choose a song as an audio or video file.
  2. Wait a few seconds while the tool analyzes the notes in your browser.
  3. Read the key, the Camelot code, the confidence, and the closest alternatives, and check the pitch class chart.

How the key is found

The tool first builds a chromagram. It analyzes the song in short slices, measures the energy at every note frequency, and folds all octaves together into twelve pitch classes, C through B, so every C counts toward C whether it is a bass note or a high melody. The totals show which notes the song uses most. That profile is then compared with 24 key profiles, one for each major and minor key, using the correlation method that grew out of research by music psychologist Carol Krumhansl. The best match wins, the next closest keys are listed underneath, and the twelve-bar chart shows the pitch class totals so you can see the evidence.

Camelot codes for DJs

Harmonic mixing means playing songs whose keys sound good together, so transitions do not clash. The Camelot wheel makes that easy: each key gets a number from 1 to 12 and a letter, A for minor and B for major. A minor is 8A, and its relative, C major, is 8B. Songs with the same code mix cleanly, and moving one number up or down, or switching between A and B at the same number, also blends smoothly. So a track in 8A works with 7A, 9A, and 8B. The key finder shows the Camelot code next to the key name, so you can tag your library and plan a set.

Reading the result

The confidence tells you how clearly one key stood out. High confidence with a clear gap to the runner-up means the answer is solid. Low confidence means several keys fit nearly as well, which is common with sparse or unusual music. Check the runner-up first: if it is the relative major or minor, the song uses the same notes either way, and your ear decides which one feels like home, usually the chord the song ends on. Singers who need a different key can then move the song with the pitch changer, and producers can confirm the key of a sample before building a track around it.

When the key finder struggles

A song that changes key partway through, such as a pop song that lifts for the final chorus, still gets one overall key, usually the one it spends the most time in. Drum-only loops, spoken word, noise music, and atonal pieces have no clear key, so any answer is a guess. Recordings tuned well away from A 440, such as old tapes that ran fast or bands that tune down a quarter tone, can land between two keys. The tool reports the key, not the chords or the melody. The analysis happens in your browser, and the song is not uploaded.

Frequently asked questions

How do I find the key of a song?

Choose the song file and the key finder analyzes it in your browser. It shows the key, such as A minor, along with the Camelot code, a confidence level, and the next closest keys.

Why does the key finder say minor when the song sounds major?

Relative keys share all seven notes, so A minor and C major look almost the same to the analysis. Check the runner-up. The chord the song resolves to usually tells you which one is right.

What does the Camelot code next to the key mean?

It is DJ shorthand for keys: a number from 1 to 12 plus A for minor or B for major. Codes that match, or that differ by one number or only by the letter, mix well.

Can the key finder handle a song that changes key?

It gives one overall key for the whole file, usually the key the song spends most of its time in. Cut each section with the audio trimmer and analyze it separately to see the change.

100% In-Browser Audio Processing

All processing runs locally in your browser memory via WebAssembly and Web Audio. Files never leave your device. Built-in peak limiting prevents audio clipping.

AudioClover Engineering · Updated October 2026