Song key finder
Drop an audio file from your device to estimate its musical key locally via chroma analysis. View the most likely major or minor key, top three candidates with confidence scores, relative key, DJ Camelot wheel code, and scale notes.
How it works
- 01
Select a local song
Open an MP3, WAV, FLAC, OGG, or M4A file — all chroma analysis stays in your browser.
- 02
Inspect key & Camelot code
Check the primary key, top 3 candidates, relative key, and scale notes.
- 03
Transpose or write
Match tracks by Camelot code, shift chords in the chord transposer, or detect tempo in the BPM detector.
Key detection, Camelot wheel & scale notes
- Estimates the most likely major or minor key directly from harmonic pitch content.
- Shows the top 3 key candidates with relative confidence bars so close calls stay transparent.
- Displays the relative major or minor pair alongside its matching Camelot code.
- Outputs Camelot wheel codes (e.g., 8A / 8B) for clash-free harmonic DJ transitions.
- Lists all seven scale notes and links straight into the chord progression generator.
Telling relative major and minor keys apart by ear
C major (8B) and A minor (8A) share the exact same seven notes, so pitch histograms alone often rank a relative pair #1 and #2. When that happens, listen to the chord at the end of a chorus or phrase: if it settles warmly and brightly, pick the major key; if it resolves to a darker, melancholic home chord, pick the relative minor. Confirm by playing a single root note on the online piano.
Once you know the key, build fresh accompaniment ideas in the chord progression generator, shift a guitar chart into a better vocal range with the chord transposer, or shift the backing track itself in the pitch shifter.
Frequently asked questions
How do DJs use the Camelot code shown next to the key?
Each musical key maps to a number (1–12) plus A (minor) or B (major), such as 8A for A minor. Tracks with the same code, neighboring numbers (7A or 9A), or the same number switching A/B (8B) share almost all notes and blend cleanly without harmonic clashes.
Why can key detection struggle on songs with modulation or detuned instruments?
Chroma analysis averages pitch classes across the entire file assuming standard A=440 Hz tuning. If a chorus modulates up a semitone, or an old tape recording sits slightly sharp or flat, check the top 3 candidates and verify on an instrument.
How do I change the key of my backing track once I know it?
Open the pitch shifter to move the audio up or down in exact semitones without altering its tempo, or use the chord transposer to rewrite chord sheets for guitar or keyboard.