Free tool · Key
Open an audio file, or let it listen to a song through your microphone. It runs in your browser; the audio never leaves your device.
Open a file or press listen
It measures how much of each of the 12 notes the song contains (the bars above), then compares that pattern with the typical pattern of every major and minor key and picks the closest. Songs that change key, or lean heavily on one chord, can land on a neighbor: the relative major or minor and the next-best key are shown for that reason.
A minor and C major use the same notes; so do every minor key and the major key three semitones above it. If the result says A minor and the song feels bright, it is probably C major.
Need the tempo too? Use tap tempo. Tuning up to play along? Use the guitar tuner.
Roll a track made for you, free to listen to, with a license when you want to use it.