key finder

Song Key Finder

Find the key and BPM of any song, with its Camelot code, scale and the chords that fit.

audio · mid → key
免费

拖入文件即可开始

或直接拖到这块面板的任意位置

MP3 · WAV · M4A · FLAC · OGG · AAC — 单个文件最大 100 MB

请只上传你有权使用的音频。

  • MP3 · WAV · M4A · FLAC · OGG · AAC
  • 单个文件最大 100 MB
  • 免费 · 无需注册
  • 文件只留在你的浏览器里
全部工具 →
A前后对照

看看有什么变化

拖动分割线对照前后。画面来自演示数据,不是模型输出。
之前 · 音频之后 · 调性与 Camelot 编号
演示 · Fingerstyle pattern · 吉他 · 原创
B使用步骤

How to find the key of a song

Drop an audio file (MP3, WAV, M4A, FLAC) or a MIDI file into the key finder above. It measures which notes the music leans on and compares them with all 24 major and minor keys. You get the key, its Camelot code, the relative key, the scale and the chords that fit, plus the tempo in BPM for audio, all worked out in your browser.

  1. 第 1 步

    Add a file

    Drag in an audio or MIDI file, or choose one from your device. Only use recordings you have the right to use. Nothing is uploaded.

  2. 第 2 步

    Let it listen

    For audio, the key finder measures the energy of all 12 pitch classes across the song and follows the beat for the tempo. For MIDI, it counts the notes directly, weighted by how long and how loud they are.

  3. 第 3 步

    Read the result

    See the key and tempo, for example A minor · 8A · 124 BPM, plus the relative key, the scale and its chords. Use them to transpose, mix or jam along.

C你能得到什么

What the key finder shows

  • F.01

    Key and mode

    The tonic and whether the song is major or minor, with its relative key alongside. When two keys score close, the runner-up is shown too, so you can decide by ear.

  • F.02

    Key and BPM together

    Audio results show the tempo next to the key, so one pass covers the two numbers DJs and producers check first.

  • F.03

    Camelot code

    Every result includes its Camelot wheel code, like 8A for A minor, so DJs can spot compatible tracks at a glance.

  • F.04

    Scale notes and chords that fit

    See the seven notes of the scale and the diatonic chords built on them, ready for writing, soloing or jamming.

  • F.05

    Audio and MIDI

    Drop MP3, WAV, M4A, FLAC or OGG audio, or a MIDI file. MIDI results are more precise, because the notes are known rather than estimated.

  • F.06

    Private and free

    The analysis runs in your browser. No upload, no account, no ads.

D谁在用

Who uses a song key finder

  • DJs

    Tag tracks with key, Camelot code and BPM for harmonic mixing. Moving between compatible keys at similar tempos keeps transitions from clashing.

  • Singers

    Find a song’s key, then move it into your range with Transpose Sheet Music, or tell the band which key you want.

  • Producers and beatmakers

    Check the key and tempo of a sample or loop before you build on it, so your bass line and chords agree with it from the start.

  • Guitarists and jammers

    Know which scale to solo over and which chords belong before the first chorus comes around.

E准确度与限制

How accurate is it?

For MIDI files, the key finder counts the actual notes, so it’s more precise than audio analysis for music in a clear major or minor key. For audio, it works like any key detector: it estimates the key from pitch energy, and the hard cases are relative major and minor pairs, modal songs and key changes. Audio accuracy, for key and BPM, is still in testing; results will be published at launch.

实测准确率:上线时公布。我们怎么测 →
素材效果预期表现
MIDI files in a clear major or minor key良好Uses the real notes, weighted by length and loudness.
Clean audio: solo instrument or a simple mix测试中The clearest case for audio. Results published at launch.
Full mixes with heavy drums or effects测试中Drums and noise blur the pitch picture. Results published at launch.
Relative major and minor (C major vs A minor)一般Same notes, different home. Check which chord the song resolves to.
Modal, blues and riff-based songs一般Dorian, Mixolydian and blues songs are reported as the nearest major or minor key.
Songs that change key一般Reports the key that dominates overall. Trim each section and analyze it separately.
Tempo (BPM) from audio测试中A steady beat is the easy case; half- or double-time readings are the usual slip. Results published at launch.
F技巧

Tips for better results

Small things that make the key easier to hear, for people and for software.

  1. Use the highest-quality file you have. Low-bitrate audio and phone recordings blur pitch detail.
  2. Trim long intros, outros or bridges if they wander into another key.
  3. If you have the MIDI, use it. Counting notes beats estimating them from audio.
  4. Check the relative key. If the result says C major but the song feels dark and keeps landing on A minor, it’s probably A minor.
  5. Hum the note the song feels like it should end on. That’s usually the tonic.
  6. Pitched-up edits and fast-spinning vinyl rips can land a half step off. Compare against a reference tone.
  7. If the BPM looks half or double what you feel, clap along on the kick and snare and halve or double it.
  8. For DJ sets, confirm by ear on the tracks you play most. Key tags are a guide, not a rule.
G对比

Key Finder vs. DJ software and other online key finders

DJ software analyzes the key of a whole library, and several sites offer a key finder online. Here’s how they compare on the features musicians ask about, limited to what we could check.

Key Finder vs. DJ software and other online key finders
功能Audio2MIDI.orgDJ softwareOther online key finders
Nothing to install有无有
File stays on your device有有Varies
Works with MIDI files有无Varies
Key and BPM in one result有UsuallyVaries
Camelot code有OftenVaries
Scale notes and chords that fit有Not usuallyVaries
Batch analysis of a whole library无有Varies
Free, no sign-up有VariesVaries

Checked October 2026

H格式与上限

Formats and limits

输入
  • Audio: MP3, WAV, M4A, FLAC, OGG, AAC, WebM
  • MIDI: .mid and .midi
输出
  • Key and mode (major or minor)
  • Camelot code and relative key
  • Scale notes and diatonic chords
  • Tempo in BPM (audio files)
上限
  • One overall key and tempo per file; songs that change key report the dominant one
  • Modal and atonal music is mapped to the nearest major or minor key
  • Audio decoding uses your browser, so a few formats, such as OGG in older Safari, may not open
  • One file at a time
兼容软件
DJ software that reads Camelot or key tags · Any DAW: set the project key and tempo to match · Transpose Sheet Music, Chord Finder and BPM Finder
I详解

How key detection works

When you ask “what key is this song in?”, you’re really asking two things: which notes the music mostly uses, and which one sounds like home. A key is that home base: a tonic note that sounds like rest, and a scale of seven notes around it. In C major, C is home and the white keys carry most of the melody and harmony.

Software answers with a pitch-class profile. For audio, it measures how much energy each of the 12 pitch classes, C through B, carries across the song, regardless of octave. For MIDI, it adds up the notes directly, weighted by how long and how loud they are. Then it compares the profile with templates for all 24 major and minor keys and picks the closest match. This is the Krumhansl–Schmuckler method, named for the music psychologists behind it; the templates come from listening experiments.

MIDI gives cleaner input because there’s no guessing about which notes sound. Audio adds drums, noise, overtones and reverb to the picture, so the profile is fuzzier and the result is an estimate.

The Camelot wheel, BPM and harmonic mixing

The Camelot wheel arranges the 24 keys like a clock. Each hour, 1 to 12, holds a minor key (A) and its relative major (B): 8A is A minor, 8B is C major. It’s the circle of fifths renumbered for DJs: one step clockwise moves the tonic up a fifth, one step counterclockwise moves it down a fifth.

From 8A you can usually move to 7A or 9A, a fifth apart, or to 8B, the relative major, without the keys clashing. Jump across the wheel, say from 8A to 2A, and melodies and basslines start to fight.

Key is half of a mix; tempo is the other half. That’s why the result shows BPM next to the key: two tracks one step apart on the wheel and a few BPM apart usually blend with little pitch-shifting. If a tempo reads half or double what you hear, BPM Finder can correct it or let you tap along.

Treat Camelot codes as a starting point. Two tracks in compatible keys can still clash if their melodies sit on the same notes, and plenty of memorable transitions break the rule. Use the code to shortlist, then trust your ears.

Relative keys, modes and why key finders disagree

Every major key shares its notes with a minor key three half steps below: C major and A minor, G major and E minor. The notes are identical; only the home note changes. That’s why relative major/minor mix-ups are the most common key-finder disagreement. Listen for the chord the song resolves to at the end of a chorus. If it’s A minor, the song is in A minor, even if C major chords are everywhere.

Modal songs add another wrinkle. A Dorian groove in D uses the notes of C major but treats D as home, and a Mixolydian rock song in G uses those same notes with G as home. Most key finders, this one included, report the nearest major or minor key. Blues often lands between major and minor, because its dominant seventh chords and blue notes pull both ways.

Tools also use different templates, tuning references and analysis windows, and some weigh the bass line more heavily than others. When two key finders disagree, it’s usually between related keys: a relative major and minor, or two keys a fifth apart. Those are the two to check by ear.

Using the key: chords, transposing and soloing

Once you know the key, the scale and its chords follow. In C major the diatonic chords are C, Dm, Em, F, G, Am and B°. In A minor they’re Am, B°, C, Dm, Em, F and G, and many songs borrow E or E7 from the harmonic minor to strengthen the pull back home.

Singers can use the key to transpose: if a song in E major sits too high, try D or C. Guitarists can pick a scale for a solo, or a capo position that makes the chords easier. To see the chords a song actually uses, run it through Chord Finder; to change the key of a score or MIDI file, use Transpose Sheet Music.

J常见问题

调性识别 常见问题

Drop the song’s audio file, or its MIDI file, into the key finder above. It measures how much each of the 12 notes is used, compares that profile with all 24 major and minor keys, and shows the closest match with its Camelot code, scale and chords. It runs in your browser. To check by ear, hum the note the song feels like it ends on: that’s usually the tonic.

Yes. For audio files, the result shows the song’s tempo in BPM next to the key and Camelot code, so it works as a key and BPM finder in one pass. The tempo is estimated from the beat. If it reads half or double what you feel, open the file in BPM Finder to correct it with ×2 or ÷2, or tap along.

A Camelot key is a code from 1A to 12B that places each musical key on the Camelot wheel, so compatible keys sit next to each other. Minor keys end in A and major keys in B; 8A is A minor and 8B is C major. DJs mix between the same number, or one step around the wheel, for smooth harmonic transitions.

It tries, and it’s the hardest call a key finder makes. A major key and its relative minor, such as C major and A minor, use exactly the same notes; only the home note differs. The key finder weighs which notes the music emphasizes, which often settles it. If the result feels wrong, listen for the chord the song resolves to, and check the runner-up.

Yes, and MIDI gives more precise results than audio. With a MIDI file, the key finder counts the actual notes, weighted by how long and how loud each one is, instead of estimating pitch from sound. Reverb, noise and overtones don’t get in the way, so the result depends on the notes themselves. Modal songs and key changes still need your judgment.

Because every key detector is making an estimate, and tools estimate differently. They use different pitch templates, tuning references and time windows, and weigh bass against melody in different ways. Most disagreements are between closely related keys: a relative major and minor, or two keys a fifth apart. When tools disagree, check those candidates by ear against the song.

The diatonic chords: the seven chords built on each note of the scale. In a major key they follow the pattern I, ii, iii, IV, V, vi and vii°, so in C major that’s C, Dm, Em, F, G, Am and B°. The key finder lists them with the scale notes for your result. In minor keys, many songs also use a major V borrowed from harmonic minor.

No. This key finder runs in a current desktop or mobile browser, so there’s nothing to download, install or update, and no account to create. Drop a file and the analysis happens on your own device. A desktop keyfinder app is still handy for tagging a whole DJ library at once; this page analyzes one file at a time.

No. The key finder decodes and analyzes your audio or MIDI file inside your browser, on your own device. The file isn’t sent to our servers and we don’t store it; close the tab and it’s gone. There’s no account to create and no ads on the page. Please only analyze recordings you have the right to use.

audio · mid → key

文件准备好了就开始。

调性识别 免费,在浏览器里运行。拖入文件就能听到结果。