To make a karaoke track, pull out a song's acapella or study only its drums, you need to split the mix into separate tracks. The stem separator on this site does that with an AI model that runs in your browser, so the song is never uploaded to a server.
Why splitting a mix is hard
When a song is mixed, the vocals, drums, bass and other instruments are summed into a single audio channel. There is no direct mathematical formula to undo that sum, because infinitely many ways of splitting one signal into four tracks produce the same mix. So the method relies on a model trained with many mixes and their original tracks, which learns the typical patterns of each type of sound.
What HTDemucs is
The model is HTDemucs (Hybrid Transformer Demucs), developed in the Demucs project. It splits a mix into four sources: vocals, drums, bass and "other", which covers the rest of the instruments.
This site uses its own ONNX export of that model, run with ONNX Runtime Web. It uses WebGPU when the browser supports it and WebAssembly otherwise.
The model download
The first time, the browser downloads the model (about 304 MB) from GitHub and keeps it in its cache, so it isn't downloaded again unless you clear that cache. Only the model is downloaded. Your song never leaves your device.
The four tracks
- Vocals: the isolated lead vocal. Use it for an acapella, or remove it to keep the instrumental.
- Drums: percussion only, useful for studying a rhythm or sampling a break.
- Bass: the isolated bassline.
- Other: everything else, such as guitars, keyboards, strings and synths.
The four-track mixer
All four tracks start from the same point in a single audio context, so they stay in sync. Each track has its own Mute and Solo buttons. You can play drums and bass together to hear how they fit, or mute the vocals to get an instrumental to sing over.
Real use cases
- Karaoke: mute the vocals and keep the rest, without depending on an official instrumental version existing.
- Sampling and production: pull out the drums or bass to use as the base of a new project.
- Music study: isolate one instrument to transcribe it or learn its exact part.
- Remixes and mashups: take one song's vocals and combine them with another song's instrumental.
Formats and downloads
You can load any audio your browser can decode: MP3, WAV, OGG, FLAC, M4A or AAC, depending on the browser. Each track downloads as a 16-bit stereo WAV at 44.1 kHz. If the file can't be read, the tool asks you to try an MP3 or WAV.
Why it takes time and what affects it
The model processes the song in 7.8-second chunks that overlap by 25%, then combines the results. Processing time grows with the length of the song and depends on your device. The button shows the percentage while it works.
Frequently asked questions
Is the separation perfect? Not always. In very dense mixes, a faint trace of one instrument can end up in another track. This is called bleed. The result depends a lot on the recording.
Is the song uploaded to a server? No. Decoding and separation happen in your browser. The only thing downloaded from a server is the model, the first time.
Can I download the tracks separately? Yes. Each track (vocals, drums, bass and other) has its own WAV download button.
How long does it take to process a song? It depends on the length of the audio and on your device. Watch the percentage on the button while it processes.
Split any song into vocals, drums, bass and other instruments with the AI stem separator, 100% in your browser. To look at the frequencies of a track, the spectrum visualizer guide explains how to read them.