Songwriters
Play the riff on guitar, convert it and hear it on synth, piano or strings before you commit to a sound.
ToMIDI is a free guitar to MIDI converter that runs in your browser: record or upload a riff, a solo or a bass line, and Spotify's open-source Basic Pitch model writes the notes into an editable MIDI file. No MIDI pickup, no plugin, no sign-up, and the audio never leaves your device.
Drop audio here to convert it to MIDI
MP3 · WAV · M4A · FLAC · OGG · AAC · MP4 · WEBMup to 300 MB, first 10 minutes analysed
Drag a file anywhere on this card, or press U to pick one. Conversion starts right away.
Each result is this engine's actual output, not a mock-up.
Only convert audio you have the right to use. Your file stays on this device.
A guitar to MIDI converter listens to a guitar recording and writes down the notes: the pitch of each one, when you picked it and how long it rang. The result is MIDI, so a riff you played on a cheap acoustic can drive a synth, a string section or a different guitar sound, and every note can be moved, deleted or quantized. The converter above opens with the Guitar preset: it covers standard tuning from low E2 up to E6, listens for clear pick attacks and writes a steel guitar sound into the file. For other instruments, start from the audio to MIDI converter.
Convert a Guitar RecordingA free guitar transcriber in your browser, with the controls guitarists ask for.
Set to the guitar range, low E2 to E6, with an overtone filter that drops quiet ghost notes stacked on loud ones.
No hex pickup and no MIDI interface: this guitar MIDI converter works from a phone recording, a mic on the amp or a DI track.
Your recording is decoded and converted in the browser and never uploaded, so unreleased riffs stay yours.
Guitar for leads and riffs, Bass for low lines, Solo melody for one-note melodies. Presets switch instantly, with no second run of the model.
Quantize to 1/8, 1/16 or 1/32, fix a half or double tempo, snap to key, drop uncertain notes and edit single notes with undo.
Download a .mid quantized or as played, MusicXML for notation and tab apps, or the score as PNG, SVG or a printed PDF.
Four steps from a recorded riff to MIDI in your DAW.
Record a riff from the microphone, up to 60 seconds, or upload an MP3, WAV, M4A, FLAC, OGG or AAC file, or the sound of an MP4 or WEBM video. A clean DI track gives the clearest notes.
Guitar is preselected. For a bass line choose Bass; for a one-note melody, Solo melody. The guitar to MIDI result updates the moment you switch.
Play the original and the MIDI together with the Mix control. Dashed notes are the ones the model was unsure about: keep them or drop them.
Set the tempo, quantize if you want the riff tight, then download the MIDI file or export MusicXML.
Getting guitar to MIDI is only half the job. These controls handle the other half.
The model listens once; presets only change how its output is read. Guitar keeps chords and leads inside the guitar range, Bass follows one low note at a time, and Solo melody keeps a single clean line. That is why the walking bass sample in the converter, played on a guitar, reads cleanly with the Bass preset. Playing a real bass? The bass tab generator lays it out on four strings.
Try the PresetsHuman picking drifts around the beat, and a guitar to MIDI converter writes that drift down faithfully. Choose As played to keep that feel, or Quantized to snap every note to 1/8, 1/16 or 1/32, with faint outlines showing where each note sat before. If the tempo reads twice too fast, the ½× button fixes it, and Tap lets you set it by ear. Need the tempo of a whole song first? Try the BPM finder.
Quantize Your RiffThe .mid carries tempo, time signature, key signature and a steel guitar program, so it opens in FL Studio, Ableton Live or Logic Pro sounding like a guitar. Import the MIDI or MusicXML into Guitar Pro or MuseScore to view it as tab, or let the guitar tab generator work out the fingering for you.
Export Your RiffThis guitar solo is one of the samples in the converter above. Here are the first nine seconds of the 217 notes it found, as played or quantized. Press play to hear the notes.
Guitar solo · Guitar preset
First 9 s · 78 notes shown · 120 BPM · B minor
What you are looking at
Real guitar to MIDI output with the Guitar preset, detected at 120 BPM in B minor. Dashed notes are the ones the model was unsure about, mostly very short or very high blips that one switch removes. Open the sample in the converter to edit every note yourself.
Guitar is polyphonic, so how well a guitar to MIDI converter does depends on what you play. Single-note riffs, leads and bass lines usually come through well; strummed chords come out approximate. We quote no accuracy percentages until we have measured real recordings. These are the cases to check:
A few minutes of setup leaves you far fewer notes to fix.
Plug into an interface and record the dry signal. Amp sims and pedals can go on the audio later; the converter wants the plain notes.
A guitar a few cents flat pushes notes toward the wrong pitch. Check every string with the online tuner before you record.
Recording to a metronome means the MIDI quantizes cleanly and matches your project tempo.
Give each note a firm attack and a clean release. Sloppy releases and string noise turn into short uncertain notes.
There are two ways to get guitar to MIDI: convert a recording afterwards, or fit a MIDI pickup that tracks the strings while you play. Checked on vendor sites in November 2026.
| This siteToMIDI | Basic Pitch (web demo) | Eldoraudio Guitar | MIDI guitar pickup | |
|---|---|---|---|---|
| Cost | Free, no sign-up | Free and open source | First 30 seconds free; paid plans up to 30 minutes per file | Pickup and converter unit, bought separately |
| What you need | A recording and a browser | A recording and a browser | A recording, uploaded to their servers | A pickup fitted to your guitar |
| When it works | After you record | After you record | After you record | Live, while you play |
| Distorted guitar | Rough: drive adds extra notes | Rough: drive adds extra notes | Clean guitar model now; distorted model planned (vendor) | Reads the strings before any effects |
| Pitch bends | Not written; bends round to notes | Detects pitch bends | No, by design (vendor) | Usually tracked live |
| Exports | MIDI, MusicXML, PNG, SVG, PDF (print) | MIDI | MIDI only for now (vendor) | Live MIDI into your DAW or synth |
Guitarists who think on the fretboard but finish their music in a DAW.
Play the riff on guitar, convert it and hear it on synth, piano or strings before you commit to a sound.
Run a guitar hook through guitar to MIDI to layer it with a synth, or swap a rough demo take for a better instrument.
Play the bass line on guitar, switch to the Bass preset and send the MIDI to a bass plugin.
Turn a recorded lick into notation for a lesson, then put it next to the student's version.
Get a first draft of a solo instead of having to transcribe guitar by ear from nothing, then correct it in a notation or tab app.
Use it as a free guitar to piano converter online: the MIDI shows every note on a piano roll and a staff, ready to play on keys.
What guitarists ask before converting a recording, with straight answers about what does not work yet.
Record a riff with the microphone or drop a guitar recording on the converter at the top of this page. The Guitar preset is already selected, so the notes appear in a piano roll and a score. Check them against the audio, quantize if you like, and download the .mid file.
Yes, with no sign-up: files up to 300 MB, the first 10 minutes analysed, and the full MIDI, MusicXML, PNG and SVG exports with no watermark.
No. A MIDI pickup tracks the strings live as you play, which suits playing synths from the guitar on stage. To get MIDI from a recording you already have, a software guitar MIDI converter like this one is enough: a phone recording, a mic on the amp or a DI track all work.
Approximately. A strum puts six notes down a few milliseconds apart, so expect missing notes, octave doubles and smeared timing. Single-note lines are far more reliable. For chord names, use the chord finder.
Clean tones work best. Distortion adds harmonics that the model hears as extra notes. If you can, record a clean DI track alongside the amp and convert that one.
Not on this page. MIDI stores pitches, not strings and frets. Export the MIDI or MusicXML and open it in Guitar Pro or MuseScore, or use the guitar tab generator to get tabs from a recording.
Not as pitch bends. The MIDI holds plain notes, so a bend comes out as the note you started on, the note you reached, or both. Draw pitch bend in your DAW if you need the exact movement.
The Guitar preset starts at E2, so lower notes are left out. Open the detection settings and move Lowest down to the note you need before you export; the result updates without converting again.
Yes. Switch to the Bass preset, which follows one note at a time from B0 up to about C4 and writes a bass sound into the MIDI. The walking bass sample in the converter shows the result.
Good for clean single notes, approximate for strummed chords and rough for heavy distortion or a full band. We will publish measured results by source when testing is done and quote no percentages until then. Always play the MIDI against the original before you export.
Yes. Every note shows on a piano roll and, in the score view, on a staff, so you can read a guitar part on keys or download the MIDI and play it with a piano sound in your DAW.
Only roughly: in a full mix, vocals, bass and drums all add notes. For clean guitar transcriptions, use an isolated guitar track or your own recording.
All of them. Drag the .mid into FL Studio, Ableton Live, Logic Pro, GarageBand, Cubase or Reaper and set the project tempo to the detected BPM so the bars line up. Choose the as played export if you want it to sit on your original audio from the first second.
No. Decoding, note detection and export all run in your browser. Only the note model, about 1 MB, downloads the first time you convert.
Yes. Switch to Record, allow the microphone and play; takes stop at 60 seconds and convert when you stop. A live pitch line and the nearest note show what the microphone hears while you play a single-note line.

Plug in, play the riff and let the guitar to MIDI converter at the top of the page write it down: free, in your browser, nothing uploaded.
or drop it anywhere on this box