MIDI transposer
Open a Standard MIDI File, choose how many semitones to move it and download the transposed copy. The file is read and rewritten on your device; it is never uploaded.
Transpose a file
Or drop a file onto this box.
Choose a MIDI file to begin.
Report
What transposing changes in the file
A MIDI file stores pitch as a number from 0 to 127 in the first data byte of each note message, with 60 as middle C. Moving a song up three semitones adds 3 to that byte. The transposer does exactly that for three message types: Note On (status 9n), Note Off (8n) and polyphonic aftertouch (An), the only channel messages that name a key. Program changes, controllers, pitch bend, tempo, lyrics and system exclusive data are copied through unchanged, with the same timing and in the same order. See how MIDI messages are encoded for the byte layout, or check a note number with the MIDI note calculator.
Every Note Off has to name the same key as the Note On it ends, or the note hangs. Because the new pitch depends only on the original pitch and channel, a Note Off (including a Note On with velocity 0, which most files use as a release) is always moved to the same place as its Note On. The tool writes a fresh file with the same format and time division, so the chunk lengths are recalculated and the output loads in any sequencer.
Why drums are left alone
In General MIDI, channel 10 plays the percussion kit. There each note number selects an instrument rather than a pitch: 36 is a bass drum, 38 a snare, 42 a closed hi-hat. Adding 3 would turn the snare (38) into a low floor tom (41) and the closed hi-hat (42) into a low tom (45), so the default is to skip channel 10. Clear the checkbox if your file uses channel 10 for a pitched part.
Notes that fall off the keyboard
A large shift can push a very low or very high note below 0 or above 127, which a MIDI file cannot store. By default such a note is moved by whole octaves until it fits, so it keeps its pitch class and still belongs to the new key. You can choose to remove those notes instead; their Note Offs and aftertouch are removed with them. The report counts both cases. When octave moves land a note on a pitch that is already sounding on the same channel, the report warns about the overlap, because some players end both notes at the first Note Off.
Key signatures
Key signature meta events tell notation software how to spell notes. When this option is on, each one is moved by the same interval and written with the fewest sharps or flats, keeping major or minor: D major up three semitones becomes F major, and A minor up two becomes B minor. At the six-accidental tie (F♯ or G♭ major, D♯ or E♭ minor), the tool keeps the original key's sharps or flats. Transposing by whole octaves leaves the key signature as it was.
Want test material? The MIDI test files include drum and full-range files that exercise each option.