Realtime BPM Analyzer
Free BPM detection in your browser, and your audio stays on your device. Also an extension for Chrome and Edge, for the music in your tabs.
Drop a song or choose a fileChoose a song
A free extension for Chrome and Edge on a computer shows the live BPM right on the page you are playing. Your audio never leaves your device.
Live BPM Detector for Chrome and EdgeChoose how the music reaches the tool above. It listens, finds the beats and counts them, then shows the tempo in beats per minute (BPM). Everything runs in your browser, with no account and no upload.
A video. To find the BPM of the sound track of a video file and get the beat in frames, use the video BPM finder.
Not sure of a reading? Tap along to check it.
BPM stands for beats per minute, the tempo of a piece of music. It is the count of the underlying beats in one minute. A typical house track runs at 120 to 130 BPM, drum and bass at 160 to 180, ambient and downtempo below 100. DJs match BPMs to mix songs smoothly. Fitness instructors pick tracks by BPM to match exercise intensity. Producers check BPM to build remixes. Dancers count BPM to choose routines.
The analyzer uses the Web Audio API to decode audio directly in your browser, and measures how the sound changes from moment to moment across several frequency bands. The tempo is the spacing that repeats most in those changes. The analysis happens on your device.
No. Files you drop, microphone input and stream audio are all analysed in your browser by the open-source library, which sends no audio anywhere. Your audio never leaves your device. The website uses Google Analytics to record how the tool is used, such as the tempo found and, for a file, its size, type and duration. It never records the file, its sound or its name. Website Privacy has the details.
MP3, WAV, FLAC, M4A and OGG, and in general any audio your browser can play, including the sound of a video file. Microphone input and live streams have no format constraint.
Yes. The tool works on modern mobile browsers (iOS Safari and Android Chrome). Choosing a file, microphone permission and stream playback all work on touch devices.
It works best on music with a steady beat. Ambient, rubato or beatless tracks are harder and may not produce a confident result. A very fast or very slow track can read at half or double its tempo, so check the number against what you hear.
Yes. The analyzer is a zero-dependency TypeScript library published to npm. See the developer docs below.
realtime-bpm-analyzer is the same engine that powers this page, published as a standalone library. Zero runtime dependencies. Full TypeScript types. Works with vanilla JS, React, Vue, or any modern framework.
tempogram engine reads the tempo from changes across several frequency bands; engine: 'peaks' groups the intervals between low-passed peaks instead. Both report the same fields.npm install realtime-bpm-analyzerimport { createRealtimeBpmAnalyzer } from 'realtime-bpm-analyzer';
// Create audio context
const audioContext = new AudioContext();
// Create the BPM analyzer
const analyzer = await createRealtimeBpmAnalyzer(audioContext);
// Set up audio source
const track = document.getElementById('audio') as HTMLAudioElement;
const source = audioContext.createMediaElementSource(track);
// Connect nodes: the analyzer's input holds whatever its engine needs in front of it
source.connect(analyzer.input);
source.connect(audioContext.destination);
// Listen for readings, and for the lock once the readings agree
analyzer.on('reading', ({ bpm }) => console.log('Current BPM:', bpm));
analyzer.on('statechange', ({ to }) => {
if (to.status === 'locked') console.log('Locked BPM:', to.reading.bpm);
});
// Call this when you're done listening: stop() ends the analysis for good,
// disconnect() alone would leave it running
function stop() {
analyzer.stop();
source.disconnect();
}getUserMedia, permissions, mobile gotchas, and a working pattern.See the full developer guide, the API reference, and the examples for file analysis, microphone input, streaming audio, and framework integrations.