Saved

Press the star next to a tool's name to save it.

All my tools

MIDI to MP3 Converter

Use this MIDI to MP3 converter to play a MIDI file with a built-in synthesizer and save it as an MP3 or a WAV audio file, all in your browser.

A MIDI file holds notes and instructions, not sound, so the notes are played by a built-in synthesizer using a library of instrument sounds, which downloads the first time (about 6.5 MB) and is then kept by your browser. Choose a format and press Convert.

Your MIDI file is converted on this device and is never uploaded.

Your audio file

Choose a MIDI file and press Convert.

A MIDI to MP3 converter turns a MIDI file into an audio file that plays anywhere. A MIDI file contains the notes of a piece of music and instructions for playing them, but no recorded sound, so it cannot be played by a phone or a media player in the same way as an MP3. This tool plays the notes with a built-in synthesizer and a library of instrument sounds, and saves the result as an MP3 or a WAV file. It all happens in your browser, and your file is never uploaded.

How to use the MIDI to MP3 converter

  1. Choose your MIDI file, which ends in .mid, .midi or .kar.
  2. Choose MP3 or WAV. For MP3, pick the quality.
  3. Press Convert. The first time, the instrument sounds download, which takes a little while.
  4. Press Download to save the audio file.

What a MIDI file is

MIDI is a technical standard for a protocol that musical instruments and computers use to talk to each other, and it also defines a file format that stores the same messages. The Wikipedia page on MIDI explains that MIDI records the messages about notes and not the specific sounds, and that MIDI data files are much smaller than the matching recorded audio files. A note-on message, for instance, carries a note number that gives the pitch. Because the file has no sound in it, something has to make the sound when the file is played, and that is the job of a synthesizer.

Why the same file can sound different

The Wikipedia page on SoundFont says that MIDI files do not contain any sounds, only instructions to play them, and that changing the SoundFont changes how the music sounds but not how it is played. A SoundFont is a bank of recorded instrument samples with instructions for playing them at different pitches and strengths. The General MIDI standard fixes the list of 128 instruments, so that a piano part stays a piano part, but it leaves the actual sound of each instrument to the maker, and the quality of the result depends on the quality of the synthesizer. This tool uses the GeneralUser GS SoundFont, so the result will sound like that sound set, and it may differ from what you heard on another player.

How the conversion works

The converter uses SpessaSynth, an open-source synthesizer that runs in the browser, together with the GeneralUser GS SoundFont. It reads the notes of your file and plays them through the synthesizer as fast as your device can compute, which is usually much faster than the length of the piece, and records the audio. It then raises the volume so that the loudest point is near the top, trims the silence at the end and writes a 16-bit stereo file at 44.1 kHz. For MP3, the WAV is then compressed with the same MP3 encoder that the audio tools on this site use. A piece of several minutes usually takes a few seconds to a few tens of seconds.

MP3 or WAV

WAV is a plain, uncompressed audio file, so it is large, but it has no loss and suits editing in an audio program. MP3 is compressed and much smaller, and it plays on almost every device, so it suits listening and sharing. A higher MP3 bitrate gives a larger file and a closer match to the WAV. A bitrate of 192 kbps is a good choice for most music.

The instrument sounds

The instrument library is about 6.5 MB, so it downloads only when you convert a file, and the page shows the progress. Your browser keeps the file afterward, so later conversions start at once. The SoundFont is the GeneralUser GS bank, which its author says can be used in your own software projects and free of charge for private or commercial music. This site keeps its own copy of the library, as its author asks, trimmed to the standard General MIDI instruments and one drum kit and compressed, which makes it much smaller.

Limits

The file can be up to 8 MB and the piece up to 20 minutes. Very complex pieces with many notes at once may take longer. The converter plays what the file says, so a file with strange or missing instrument settings can sound odd. If the result sounds too thin or too loud, try another file or a different quality setting, and remember that a MIDI file is a set of instructions that sound best on the instrument sounds that it was written for.

Using the result

Once you have an MP3, you can use it as a ringtone source, add it to a video, put it on a phone or share it by message. A WAV file is the better choice if you plan to edit the audio further, for example to add effects or to join several pieces. Keep your original MIDI file, since it is the editable version of the music and can be rendered again at any time with other instrument sounds.

Karaoke and other MIDI files

Files that end in .kar are a kind of MIDI file that carries the words of a song along with the notes, and the converter accepts them. It renders the music only and does not show the words. If a file does not open, check that it really is a MIDI file and that it was not damaged when it was downloaded.

Common mistakes

  • Expecting the sound of the original player. Different synthesizers sound different.
  • Choosing a file that is not MIDI. An MP3 or a WAV cannot be converted back to notes.
  • Closing the page before the sounds finish loading. The first conversion needs the download.
  • Choosing a very low MP3 quality for music. Use 192 kbps or more.

What next

Use this often? Add MIDI to MP3 to your Home screen.

Frequently asked questions

What is a MIDI to MP3 converter?

A tool that plays the notes of a MIDI file with a synthesizer and saves the sound as an MP3 or WAV audio file.

Why does a MIDI file need a synthesizer?

A MIDI file holds notes and instructions but no sound, so something must play the notes with instrument sounds.

Why does it sound different from my MIDI player?

Different SoundFonts and synthesizers give different sounds to the same notes. This tool uses the GeneralUser GS SoundFont.

Is my file uploaded?

No. The conversion runs in your browser. Only the instrument sounds are downloaded, once.

Should I choose MP3 or WAV?

MP3 is small and plays everywhere. WAV is large and uncompressed, and suits editing.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Video & Audio Tools