Key Finder

Analyzes the pitch content of a track and matches it against known major/minor key profiles (the Krumhansl-Schmuckler method) to estimate its musical key.

How to use the Key Finder

  1. Add your audioDrop a file onto the page or tap to browse — or press “try a built-in sample” to explore first. Nothing is uploaded; the file is decoded on your device.
  2. Analysis runs automaticallyThe musical key (e.g. A minor), its Camelot and Open Key codes, relative key and tuning offset appear with a pitch-class chart.
  3. Verify and use the resultUse the buttons under the report to listen and check; copy the result with one click.

About the Key Finder

The Key Finder detects the musical key of a recording — for example F♯ minor — and gives the DJ notations (Camelot and Open Key), the relative major/minor and how far the recording is tuned from A = 440 Hz.

Press “Play tonic chord” or “Play the scale” to hear the detected key and check it against your ear; sustained, tonal music gives the most reliable result.

How the Key Finder works

Up to 45 seconds from the middle of the track are transformed with an 8192-point FFT; spectral peaks are used to estimate the recording’s tuning offset (so music tuned a little sharp or flat is not misread). Energy between 65 Hz and 2.2 kHz is folded into 12 pitch classes with fractional-semitone weighting, then correlated against the Krumhansl–Schmuckler major and minor key profiles for all 24 keys. The best correlation is the key; the gap to the runner-up indicates confidence.

What people use it for

Harmonic mixing

Choose compatible tracks with the Camelot wheel.

Production

Pick scales and chords that fit a sample.

Singers

Find the key to match a vocal range.

Learning songs

Know what key to play in.

Tips for the best results

  • Use a section with sustained chords rather than a drum-only intro.
  • If the match says ‘ambiguous’, relative major/minor is the likely confusion — trust your ear.
  • Combine with the Key Transposer to change key.

Common problems & fixes

The key seems wrongModal, atonal or very sparse music is hard to classify; listen to the tonic chord.
Drums onlyPercussion has no pitch content to analyse.

Quick facts

MethodChroma + Krumhansl–Schmuckler profiles
OutputKey, Camelot, Open Key, relative key, tuning
Keys tested24

Frequently asked questions

What is the Camelot wheel?

A DJ notation that numbers keys 1–12 with A (minor) or B (major); neighbours mix harmonically.

What does tuning ¢ mean?

How many cents the recording is sharp (+) or flat (−) relative to A=440.

How does key detection actually work?

It builds a 'chroma' profile — how much energy is present at each of the 12 pitch classes (C, C#, D, and so on) — then compares that profile against the Krumhansl-Schmuckler major and minor key templates from music cognition research, picking the best match.

Why might it get the key wrong?

Relative major/minor pairs (like C major and A minor) share the same notes and can be confused, especially on short or sparse excerpts. Heavily processed, atonal, or key-changing tracks are also harder to pin to one key.

What does the confidence score mean?

It's a correlation score between your track's pitch profile and the matched key template — closer to 1.0 means a cleaner, more confident match.

Your audio never leaves your device

This tool runs entirely in your browser using the Web Audio API. Nothing is uploaded, stored or shared — there is no server to send your file to, so it works offline once the page has loaded.

← Browse all free audio tools

User Reviews

–
No ratings yet
Write a review
Your rating *

Your email is never published. Reviews are moderated, and links aren't allowed.

What users are saying

No reviews yet

Be the first to share your experience with this tool — your feedback helps others.