MP3 to MIDI converter
Turn a melody, chord part or bass line from an audio file into MIDI notes you can edit, re-voice and play with any instrument. Everything happens on your own computer or phone — the file is never sent anywhere.
- Runs in your browser
- No upload, no sign-up
- Tempo-aware MIDI
Pick a recording of one instrument or voice for the cleanest result.
Clean up & quantize
Drop the MP3 on the converter above and press Download MIDI. Your browser mixes the audio to mono at 22,050 Hz, runs Spotify’s open-source Basic Pitch model over it at about 86 analysis frames a second (Basic Pitch source), and writes a Standard MIDI File at 480 ticks per quarter note that carries the song’s own tempo. A note 0.625 seconds into a 96 BPM song therefore lands on tick 480, exactly beat 2. Up to the first 10 minutes of a file are converted, and the audio never leaves your device.
How it works
The converter uses Basic Pitch, an open-source note-transcription model published by Spotify's Audio Intelligence Lab under the Apache 2.0 license. The audio is mixed down to mono, resampled to 22,050 Hz and cut into overlapping two-second windows. For each window the neural network outputs three things about 86 times per second: how likely each of the 88 piano pitches is to be sounding, how likely a note is to be starting, and a finer pitch contour. A post-processing step then joins those frames into notes with a start, an end, a pitch and a loudness. That last step is the one your sliders control, which is why adjusting them is instant.
The model runs with TensorFlow.js inside a background worker in your browser, using your graphics chip when it can and the processor when it can't. To check for yourself, open the Network panel in your browser’s developer tools and convert a file: you’ll see the page, its scripts and the model files arrive, plus one anonymous page-view ping to Cloudflare Web Analytics. No request ever carries your audio.
Putting the notes into the file is plain arithmetic. A Standard MIDI File counts time in ticks — this one uses 480 per quarter note — and stores tempo as microseconds per quarter note (SMF 1.1). A note that starts t seconds into a recording at B BPM goes to tick = round(t × B × 480 ÷ 60), and the tempo event holds 60,000,000 ÷ B. Before that, every note is moved by the same small amount so the song’s first detected beat sits on a beat line of the file.
Worked example: three notes at 96 BPM
At 96 BPM one beat lasts 60 ÷ 96 = 0.625 seconds and covers 480 ticks, so the tempo event reads 60,000,000 ÷ 96 = 625,000 microseconds per quarter note. With the song’s first beat at the start of the file:
| Note starts at | Tick | Where it lands |
|---|---|---|
| 0.000 s | 0 | bar 1, beat 1 |
| 0.625 s | 480 | bar 1, beat 2 |
| 1.406 s | 1,080 | bar 1, beat 3, second 16th |
Say you have a 96 BPM loop with a bass guitar and you want the notes on a synth. Drop the file in, check the detected tempo reads 96, set Highest note to about C3 so stray guitar notes above the bass are ignored, choose 1/16 snapping, and download. In your DAW, set the project to 96 BPM, drag the file onto a synth bass track, and the notes start on the downbeat of bar one with the original groove intact.
Limitations
This tool transcribes pitched notes. It does not separate instruments, it does not write drum parts (the model was not trained on drums — use the drum machine to program those), and it does not produce sheet-music notation. Pitch bends from vibrato and slides are not written to the file in this version; notes are rounded to the nearest semitone. Files up to ten minutes are converted whole; longer ones are cut at ten minutes so the browser does not run out of memory, which is mostly a concern on phones, and files over 200 MB or known to run past 30 minutes are turned away before decoding.
Sources
- Bittner, Bosch, Rubinstein, Meseguer-Brocal and Ewert, “A Lightweight Instrument-Agnostic Model for Polyphonic Note Transcription and Multipitch Estimation”, arXiv:2203.09893, 2022 — the transcription model the converter runs. Checked October 10, 2026.
- Spotify, basic-pitch source code,
constants.py— the 22,050 Hz analysis rate and 256-sample hop, which give about 86 analysis frames a second. Checked October 10, 2026. - Standard MIDI-File Format Spec. 1.1, updated (midimusic.github.io) — ticks per quarter note and the Set Tempo event, measured in microseconds per quarter note. Checked October 10, 2026.
How to convert an MP3 to MIDI
- Choose a file. Drop an MP3, WAV, M4A, FLAC or OGG file onto the box above, or tap it to pick one. Your browser decodes it locally.
- Wait for the first pass. The first time you use the converter, your browser downloads a small transcription model (under 1 MB). After that it is cached. A three-minute song usually takes between ten seconds and a minute, depending on your device.
- Check the piano roll. Each bar in the preview is a detected note. Press Preview MIDI to hear the notes played by a simple synth, and Play original to compare against the recording.
- Clean it up. Move the sliders under Clean up & quantize. Changes apply instantly because the heavy analysis is not repeated — only the step that turns the analysis into notes.
- Download. Download MIDI saves a standard
.midfile that opens in Ableton Live, FL Studio, Logic, GarageBand, Reaper, Cubase, Studio One, MuseScore and anything else that reads MIDI.
Why the tempo matters
Most free converters write their MIDI files at a default 120 BPM. If your song is actually at 93 BPM, the notes are still in the right place in seconds, but they drift across the bar lines of your DAW and quantizing makes them worse instead of better. xx808 measures the tempo of the recording before it transcribes, writes that tempo into the file, and snaps notes to a grid built on the real beat. Drag the file into a project at the same tempo and the notes line up with your drums: the notes are shifted so the song’s beats fall on the file’s beat lines. If you also bring in the original recording, nudge it until its beats sit on the grid too. If the detector picks half or double the tempo you hear, type the right number into the tempo box and the grid is rebuilt immediately.
What the settings do
- Snap notes to grid moves note starts and ends to the nearest 1/4, 1/8, 1/16 or 1/8-triplet position. Use Snap strength below 100% to tighten timing while keeping some of the human feel.
- Note splitting controls how readily a new note is started. If a long held note is chopped into several short ones, raise it; if repeated notes are merged into one, lower it.
- Confidence sets how sure the model must be before a note is kept. Raise it to remove faint ghost notes, harmonics and reverb tails.
- Shortest note throws away blips shorter than the value you choose.
- Lowest / highest note limit the pitch range — handy for isolating a bass line (set the highest note around C3) or a vocal melody.
- Instrument only sets the General MIDI program stored in the file, so it opens with a sensible sound in players that respect it. Your DAW will usually let you pick any instrument anyway.
Getting the best results
- One instrument at a time works best. A solo piano, a sung or whistled melody, a guitar part or a bass line transcribes far more cleanly than a full mix. If you only have the full song, try a stem-separation tool first and convert the isolated part.
- Dry is better than wet. Heavy reverb, delay and distortion add energy at pitches that are not really being played.
- Trim the file. Converting just the section you need is faster and gives you less to clean up.
- Expect to edit. Automatic transcription gets you most of the way; fixing a handful of wrong notes in your piano roll is normal.
Frequently asked questions
Is this MP3 to MIDI converter free?
Yes. There is no account, no watermark and no cap on how many files you convert. The site is supported by being cheap to run: your device does the work, so we have no servers processing audio.
Is my music uploaded to a server?
No. The file is read and analyzed by your own browser. You can verify this in the Network tab of your browser’s developer tools, or, once a first conversion has finished, by switching your device to airplane mode and converting another file in the same tab.
Can it convert a full song with vocals, drums and instruments?
It will produce notes, but a dense mix gives a dense, messy MIDI file because every instrument’s notes are detected at once. For usable results, convert a single instrument or a separated stem.
Does it work with WAV, M4A, FLAC or video files?
Any format your browser can decode works: MP3, WAV, AAC/M4A and FLAC everywhere, OGG and Opus in most browsers, and the audio track of many WebM and MP4 files. There is a dedicated page for WAV to MIDI with notes on lossless input.
Why are some notes an octave off or doubled?
Strong overtones can look like a second note an octave or a fifth above the real one. Raise the Confidence slider a little, or limit the pitch range, and most of these disappear.
Which DAWs can open the file?
The download is a standard MIDI file (format 1, 480 ticks per quarter note) with the detected tempo, so it opens in every mainstream DAW, notation program and hardware sequencer that reads .mid files.
How accurate is it?
On clean solo recordings Basic Pitch gets most notes right, including chords. Accuracy drops with background noise, heavy effects and many simultaneous instruments. Treat the result as a fast first draft rather than a finished transcription.
Results are automatic estimates and may contain wrong or missing notes. Only convert recordings you have the right to use. Basic Pitch is © Spotify AB, licensed under Apache 2.0; xx808 is not affiliated with Spotify.
Last updated